diff options
Diffstat (limited to 'man3/getpwnam.3')
| -rw-r--r-- | man3/getpwnam.3 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/man3/getpwnam.3 b/man3/getpwnam.3 index bed5bae4d7..e83f0e01d1 100644 --- a/man3/getpwnam.3 +++ b/man3/getpwnam.3 @@ -108,7 +108,11 @@ can be found using .BR sysconf (3) with the _SC_GETPW_R_SIZE_MAX parameter. .SH "RETURN VALUE" -The \fBgetpwnam\fP() and \fBgetpwuid\fP() functions return a pointer to a +The +.BR getpwnam () +and +.BR getpwuid () +functions return a pointer to a .I passwd structure, or NULL if the matching entry is not found or an error occurs. @@ -126,7 +130,11 @@ by subsequent calls to or .BR getpwuid (). .LP -The \fBgetpwnam_r\fP() and \fBgetpwuid_r\fP() functions return +The +.BR getpwnam_r () +and +.BR getpwuid_r () +functions return zero on success. In case of error, an error number is returned. .SH ERRORS |
