Clarify discussion of return values.

This commit is contained in:
Michael Kerrisk 2008-06-29 07:12:17 +00:00
parent 5412da6f70
commit 853a397f04
1 changed files with 2 additions and 1 deletions

View File

@ -116,7 +116,8 @@ will append the new entry to the end of the file.
.BR getutid (), .BR getutid (),
and and
.BR getutline () .BR getutline ()
return a pointer to a \fIstruct utmp\fP on success, and NULL on failure. return a pointer to a \fIstruct utmp\fP on success,
and NULL on failure (which includes the "record not found" case).
This \fIstruct utmp\fP is allocated in static storage, and may be This \fIstruct utmp\fP is allocated in static storage, and may be
overwritten by subsequent calls. overwritten by subsequent calls.