summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2010-10-21 11:36:24 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2010-10-21 11:55:14 +0200
commit7f12f11793cccf78d75d88ab867e7722c302cd86 (patch)
tree8f135d35cd86fd6c166b87f1ad2ed6f88967a783
parent958680cd757a70ce172f502a9b4d7a738a2dd39f (diff)
getpw.3, getpwent.3, getpwent_r.3: Refer reader to passwd(5) for more info on the passwd structure
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/getpw.35
-rw-r--r--man3/getpwent.35
-rw-r--r--man3/getpwent_r.37
3 files changed, 13 insertions, 4 deletions
diff --git a/man3/getpw.3 b/man3/getpw.3
index 9eb766ab8..860bfef8c 100644
--- a/man3/getpw.3
+++ b/man3/getpw.3
@@ -27,7 +27,7 @@
.\" Modified Sat Jul 24 19:23:25 1993 by Rik Faith (faith@cs.unc.edu)
.\" Modified Mon May 27 21:37:47 1996 by Martin Schulze (joey@linux.de)
.\"
-.TH GETPW 3 2010-09-10 "GNU" "Linux Programmer's Manual"
+.TH GETPW 3 2010-10-21 "GNU" "Linux Programmer's Manual"
.SH NAME
getpw \- Re-construct password line entry
.SH SYNOPSIS
@@ -64,6 +64,9 @@ struct passwd {
};
.fi
.in
+.PP
+For more information about the fields of this structure, see
+.BR passwd (5).
.SH "RETURN VALUE"
The
.BR getpw ()
diff --git a/man3/getpwent.3 b/man3/getpwent.3
index 6c6ce7b22..760c19861 100644
--- a/man3/getpwent.3
+++ b/man3/getpwent.3
@@ -28,7 +28,7 @@
.\" Modified Sat Jul 24 19:22:14 1993 by Rik Faith (faith@cs.unc.edu)
.\" Modified Mon May 27 21:37:47 1996 by Martin Schulze (joey@linux.de)
.\"
-.TH GETPWENT 3 2010-09-20 "GNU" "Linux Programmer's Manual"
+.TH GETPWENT 3 2010-10-21 "GNU" "Linux Programmer's Manual"
.SH NAME
getpwent, setpwent, endpwent \- get password file entry
.SH SYNOPSIS
@@ -95,6 +95,9 @@ struct passwd {
};
.fi
.in
+.PP
+For more information about the fields of this structure, see
+.BR passwd (5).
.SH "RETURN VALUE"
The
.BR getpwent ()
diff --git a/man3/getpwent_r.3 b/man3/getpwent_r.3
index b87e0c710..510643f04 100644
--- a/man3/getpwent_r.3
+++ b/man3/getpwent_r.3
@@ -20,7 +20,7 @@
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
.\" USA.
.\"
-.TH GETPWENT_R 3 2007-07-26 "GNU" "Linux Programmer's Manual"
+.TH GETPWENT_R 3 2010-10-21 "GNU" "Linux Programmer's Manual"
.SH NAME
getpwent_r, fgetpwent_r \- get passwd file entry reentrantly
.SH SYNOPSIS
@@ -77,7 +77,10 @@ struct passwd {
};
.fi
.in
-.sp
+.PP
+For more information about the fields of this structure, see
+.BR passwd (5).
+
The nonreentrant functions return a pointer to static storage,
where this static storage contains further pointers to user
name, password, gecos field, home directory and shell.