aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2008-06-29 07:12:17 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2008-06-29 07:12:17 +0000
commit853a397f043aa4d689509f7821ce5f55d65a32d3 (patch)
tree6a58eb3282f4a7c218bff8c5ac37c87921bf531c
parent5412da6f708b47f81d343a07af3d718ff72314ab (diff)
downloadman-pages-853a397f043aa4d689509f7821ce5f55d65a32d3.tar.gz
Clarify discussion of return values.
-rw-r--r--man3/getutent.33
1 files changed, 2 insertions, 1 deletions
diff --git a/man3/getutent.3 b/man3/getutent.3
index 5df2978120..46393db403 100644
--- a/man3/getutent.3
+++ b/man3/getutent.3
@@ -116,7 +116,8 @@ will append the new entry to the end of the file.
.BR getutid (),
and
.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
overwritten by subsequent calls.