---
name: "journal_errno"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/journal_errno"
---

# journal\_errno(9)

returns the journal's error state.

## NAME

journal\_errno - returns the journal's error state.

## SYNOPSIS

**int journal\_errno(journal\_t \*** *journal***);**

## ARGUMENTS

*journal*

journal to examine.

## DESCRIPTION

This is the errno numbet set with **journal\_abort**, the last time the journal was mounted - if the journal was stopped without calling abort this will be 0.

If the journal has been aborted on this mount time -EROFS will be returned.

## AUTHORS

**Roger Gammans** \<rgammans@computer-surgery.co.uk\>

Author.

**Stephen Tweedie** \<sct@redhat.com\>

Author.

## COPYRIGHT
