X-Git-Url: http://git.osdn.net/view?p=linuxjm%2FLDP_man-pages.git;a=blobdiff_plain;f=original%2Fman3%2Fgetspnam.3;h=eab6d6a6192119cc1bac6f1553863dfa4efd4101;hp=3fbc7d16db9b1dd88b38afefb6348b1fdcbe64c4;hb=4ea6bb24817f6f049d6bbc90ecd77a869876f9b0;hpb=73cdbcd8b7948c6010c7756d89d5c0445ecba990 diff --git a/original/man3/getspnam.3 b/original/man3/getspnam.3 index 3fbc7d16..eab6d6a6 100644 --- a/original/man3/getspnam.3 +++ b/original/man3/getspnam.3 @@ -5,7 +5,7 @@ .\" Distributed under GPL .\" %%%LICENSE_END .\" -.TH GETSPNAM 3 2013-04-19 "GNU" "Linux Programmer's Manual" +.TH GETSPNAM 3 2015-01-22 "GNU" "Linux Programmer's Manual" .SH NAME getspnam, getspnam_r, getspent, getspent_r, setspent, endspent, fgetspent, fgetspent_r, sgetspent, sgetspent_r, putspent, @@ -24,11 +24,11 @@ lckpwdf, ulckpwdf \- get shadow password file entry .sp .B void endspent(void); .sp -.BI "struct spwd *fgetspent(FILE *" fp ); +.BI "struct spwd *fgetspent(FILE *" stream ); .sp .BI "struct spwd *sgetspent(const char *" s ); .sp -.BI "int putspent(struct spwd *" p ", FILE *" fp ); +.BI "int putspent(const struct spwd *" p ", FILE *" stream ); .sp .B int lckpwdf(void); .sp @@ -46,7 +46,7 @@ lckpwdf, ulckpwdf \- get shadow password file entry .br .BI " char *" buf ", size_t " buflen ", struct spwd **" spbufp ); .sp -.BI "int fgetspent_r(FILE *" fp ", struct spwd *" spbuf , +.BI "int fgetspent_r(FILE *" stream ", struct spwd *" spbuf , .br .BI " char *" buf ", size_t " buflen ", struct spwd **" spbufp ); .sp @@ -88,7 +88,7 @@ the traditional password database .BR getpwnam (3) and .BR getpwent (3)). -.\" FIXME I've commented out the following for the +.\" FIXME . I've commented out the following for the .\" moment. The relationship between PAM and nsswitch.conf needs .\" to be clearly documented in one place, which is pointed to by .\" the pages for the user, group, and shadow password functions. @@ -137,8 +137,8 @@ The function writes the contents of the supplied struct .I spwd .I *p -as a text line in the shadow password file format to the stream -.IR fp . +as a text line in the shadow password file format to +.IR stream . String entries with value NULL and numerical entries with value \-1 are written as an empty string. .LP @@ -255,3 +255,12 @@ However, many other systems provide a similar API. .BR getpwnam (3), .BR getpwnam_r (3), .BR shadow (5) +.SH COLOPHON +This page is part of release 3.79 of the Linux +.I man-pages +project. +A description of the project, +information about reporting bugs, +and the latest version of this page, +can be found at +\%http://www.kernel.org/doc/man\-pages/.