diff options
Diffstat (limited to 'lib/libc/sys/acct.2')
-rw-r--r-- | lib/libc/sys/acct.2 | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/lib/libc/sys/acct.2 b/lib/libc/sys/acct.2 index 9d88c345bc2..ed38f8834e5 100644 --- a/lib/libc/sys/acct.2 +++ b/lib/libc/sys/acct.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: acct.2,v 1.4 1999/05/23 14:10:50 aaron Exp $ +.\" $OpenBSD: acct.2,v 1.5 1999/06/29 14:09:49 aaron Exp $ .\" $NetBSD: acct.2,v 1.6 1995/02/27 12:31:47 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -49,14 +49,15 @@ The .Fn acct call enables or disables the collection of system accounting records. -If the argument +If .Fa file -is a nil pointer, accounting is disabled. +is +.Dv NULL , +accounting is disabled. If .Fa file -is an -.Em existing -pathname (null-terminated), record collection is enabled and for +is an existing, +null-terminated pathname, record collection is enabled and for every process initiated which terminates under normal conditions an accounting record is appended to .Fa file . @@ -79,7 +80,7 @@ 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. +On error \-1 is returned. The file must exist and the call may be exercised only by the super-user. .Sh ERRORS .Fn acct @@ -90,9 +91,9 @@ The caller is not the super-user. .It Bq Er ENOTDIR A component of the path prefix is not a directory. .It Bq Er ENAMETOOLONG -A component of a pathname exceeded +A component of a pathname exceeded .Dv {NAME_MAX} -characters, or an entire path name exceeded +characters, or an entire path name exceeded .Dv {PATH_MAX} characters. .It Bq Er ENOENT @@ -116,5 +117,5 @@ An I/O error occurred while reading from or writing to the file system. .Sh HISTORY An .Fn acct -function call appeared in +function call appeared in .At v7 . |