summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaredy <jaredy@openbsd.org>2005-08-10 01:09:22 +0000
committerjaredy <jaredy@openbsd.org>2005-08-10 01:09:22 +0000
commitd4dabe913a00df031f7b1c230037a372e4ac95ba (patch)
tree7c8321bef205b54be4ec3854747ea556f35ccf22
parent- punctuation fixes (diff)
downloadwireguard-openbsd-d4dabe913a00df031f7b1c230037a372e4ac95ba.tar.xz
wireguard-openbsd-d4dabe913a00df031f7b1c230037a372e4ac95ba.zip
- punctuation & wording
- fix up RETURN VALUES section ok jmc
-rw-r--r--lib/libc/sys/acct.212
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: