getspnam.3: ERRORS: Add EACCES

See https://bugzilla.kernel.org/show_bug.cgi?id=52681

Reported-by: Wolfgang Rohdewald <wolfgang@rohdewald.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-01-22 00:22:48 +01:00
parent aed5060597
commit 5a39e7b5cd
1 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,7 @@
.\"
.\" Distributed under GPL
.\"
.TH GETSPNAM 3 2010-02-25 "GNU" "Linux Programmer's Manual"
.TH GETSPNAM 3 2013-01-22 "GNU" "Linux Programmer's Manual"
.SH NAME
getspnam, getspnam_r, getspent, getspent_r, setspent, endspent,
fgetspent, fgetspent_r, sgetspent, sgetspent_r, putspent,
@ -224,6 +224,9 @@ The reentrant functions return zero on success.
In case of error, an error number is returned.
.SH ERRORS
.TP
.B EACCES
The caller does not have permission to access the shadow password file.
.TP
.B ERANGE
Supplied buffer is too small.
.SH FILES