OSDN Git Service

(split) LDP: Update original to LDP v3.52.
[linuxjm/LDP_man-pages.git] / original / man3 / getspnam.3
index 3799711..3fbc7d1 100644 (file)
@@ -5,7 +5,7 @@
 .\" Distributed under GPL
 .\" %%%LICENSE_END
 .\"
-.TH GETSPNAM 3  2013-01-22 "GNU" "Linux Programmer's Manual"
+.TH GETSPNAM 3  2013-04-19 "GNU" "Linux Programmer's Manual"
 .SH NAME
 getspnam, getspnam_r, getspent, getspent_r, setspent, endspent,
 fgetspent, fgetspent_r, sgetspent, sgetspent_r, putspent,
@@ -217,7 +217,9 @@ struct spwd {
 The functions that return a pointer return NULL if no more entries
 are available or if an error occurs during processing.
 The functions which have \fIint\fP as the return value return 0 for
-success and \-1 for failure.
+success and \-1 for failure, with
+.I errno
+set to indicate the cause of the error.
 .LP
 For the nonreentrant functions, the return value may point to static area,
 and may be overwritten by subsequent calls to these functions.