diff options
author | Jared Yanovich <jaredy@cvs.openbsd.org> | 2005-08-10 01:09:23 +0000 |
---|---|---|
committer | Jared Yanovich <jaredy@cvs.openbsd.org> | 2005-08-10 01:09:23 +0000 |
commit | ce4ec6becf83394f639ae4885000416675fb5261 (patch) | |
tree | c1a6297228468f4ca3d722a1e9f90d3fafcfab2e /lib/libc | |
parent | c750640f728f9dcd86d8164f81f03726ad1d0715 (diff) |
- punctuation & wording
- fix up RETURN VALUES section
ok jmc
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/acct.2 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libc/sys/acct.2 b/lib/libc/sys/acct.2 index a6d120720f3..fac00d64c4d 100644 --- a/lib/libc/sys/acct.2 +++ b/lib/libc/sys/acct.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: acct.2,v 1.12 2005/03/26 13:31:35 jmc Exp $ +.\" $OpenBSD: acct.2,v 1.13 2005/08/10 01:09:22 jaredy Exp $ .\" $NetBSD: acct.2,v 1.6 1995/02/27 12:31:47 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -51,13 +51,13 @@ is accounting is disabled. If .Fa file -is an existing, NUL-terminated pathname, record collection is enabled +is an existing, NUL-terminated pathname, record collection is enabled, and for every process initiated which terminates under normal conditions an accounting record is appended to .Fa file . Abnormal conditions of termination are reboots or other fatal system problems. -Records for processes which never terminate can not be produced by +Records for processes which never terminate cannot be produced by .Fn acct . .Fn acct is only available on kernels compiled with the @@ -77,8 +77,10 @@ Accounting is automatically disabled when the file system the accounting file resides on runs out of space; it is enabled when space once again becomes available. .Sh RETURN VALUES -On error \-1 is returned. -The file must exist and the call may be exercised only by the superuser. +On success, zero is returned. +Otherwise, \-1 is returned and +.Va errno +is set to indicate the error. .Sh ERRORS .Fn acct will fail if one of the following is true: |