Add an ERRORS section.

This commit is contained in:
Michael Kerrisk 2008-06-29 07:57:37 +00:00
parent 490b25e1d4
commit 2b587e0933
1 changed files with 14 additions and 0 deletions

View File

@ -132,6 +132,20 @@ on failure, it returns NULL.
.BR utmpname ()
returns 0 if the new name was successfully stored, or \-1 on failure.
.SH ERRORS
.TP
.B ENOMEM
Out of memory.
.TP
.B ESRCH
Record not found.
.PP
.BR setutent (),
.BR pututent (),
and the
.B getut* ()
functions can also fail for the reasons described in
.BR open (2).
.SH FILES
/var/run/utmp database of currently logged-in users
.br