diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-06-30 14:36:59 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-06-30 14:36:59 +0000 |
| commit | 18701562c1bd97147f53cf63ead3aba6e89aef56 (patch) | |
| tree | b17ce5106749c5980a6963d8c6dc90b3ce3f2481 /man3 | |
| parent | 881663d9c6aa933fc06dcddfae1a2653ece4e503 (diff) | |
| download | man-pages-18701562c1bd97147f53cf63ead3aba6e89aef56.tar.gz | |
s/user name/username/
Diffstat (limited to 'man3')
| -rw-r--r-- | man3/fgetpwent.3 | 2 | ||||
| -rw-r--r-- | man3/getlogin.3 | 12 | ||||
| -rw-r--r-- | man3/getpw.3 | 2 | ||||
| -rw-r--r-- | man3/getpwent.3 | 2 | ||||
| -rw-r--r-- | man3/getpwent_r.3 | 2 | ||||
| -rw-r--r-- | man3/getpwnam.3 | 4 | ||||
| -rw-r--r-- | man3/getspnam.3 | 2 | ||||
| -rw-r--r-- | man3/putpwent.3 | 2 | ||||
| -rw-r--r-- | man3/rcmd.3 | 4 |
9 files changed, 16 insertions, 16 deletions
diff --git a/man3/fgetpwent.3 b/man3/fgetpwent.3 index 6fbad6163f..5ef5357cc3 100644 --- a/man3/fgetpwent.3 +++ b/man3/fgetpwent.3 @@ -62,7 +62,7 @@ The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows: .in +4n .nf struct passwd { - char *pw_name; /* user name */ + char *pw_name; /* username */ char *pw_passwd; /* user password */ uid_t pw_uid; /* user ID */ gid_t pw_gid; /* group ID */ diff --git a/man3/getlogin.3 b/man3/getlogin.3 index f3dc206e27..ee5cce6966 100644 --- a/man3/getlogin.3 +++ b/man3/getlogin.3 @@ -27,7 +27,7 @@ .\" modified 2003 Walter Harms, aeb - added getlogin_r, note on stdin use .TH GETLOGIN 3 2008-06-29 "GNU" "Linux Programmer's Manual" .SH NAME -getlogin, getlogin_r, cuserid \- get user name +getlogin, getlogin_r, cuserid \- get username .SH SYNOPSIS .B #include <unistd.h> .sp @@ -60,13 +60,13 @@ this function or to .BR cuserid (). .PP .BR getlogin_r () -returns this same user name in the array +returns this same username in the array .I buf of size .IR bufsize . .PP .BR cuserid () -returns a pointer to a string containing a user name +returns a pointer to a string containing a username associated with the effective user ID of the process. If \fIstring\fP is not a null pointer, it should be an array that can hold at least @@ -78,7 +78,7 @@ calls to this function or to .BR getlogin (). .PP The macro \fBL_cuserid\fP is an integer constant that indicates how -long an array you might need to store a user name. +long an array you might need to store a username. \fBL_cuserid\fP is declared in \fI<stdio.h>\fP. .PP These functions let your program identify positively the user who is @@ -94,7 +94,7 @@ This is more flexible precisely because the user can set \fBLOGNAME\fP arbitrarily. .SH "RETURN VALUE" .BR getlogin () -returns a pointer to the user name when successful, +returns a pointer to the username when successful, and NULL on failure. .BR getlogin_r () returns 0 when successful, and non-zero on failure. @@ -112,7 +112,7 @@ The calling process has no controlling tty. .TP .B ERANGE (getlogin_r) -The length of the user name, including the terminating null byte, +The length of the username, including the terminating null byte, is larger than .IR bufsize . .LP diff --git a/man3/getpw.3 b/man3/getpw.3 index aedcdd465b..2b26803487 100644 --- a/man3/getpw.3 +++ b/man3/getpw.3 @@ -54,7 +54,7 @@ The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows: .in +4n .nf struct passwd { - char *pw_name; /* user name */ + char *pw_name; /* username */ char *pw_passwd; /* user password */ uid_t pw_uid; /* user ID */ gid_t pw_gid; /* group ID */ diff --git a/man3/getpwent.3 b/man3/getpwent.3 index cdfdcc0a11..ca099987a1 100644 --- a/man3/getpwent.3 +++ b/man3/getpwent.3 @@ -81,7 +81,7 @@ The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows: .in +4n .nf struct passwd { - char *pw_name; /* user name */ + char *pw_name; /* username */ char *pw_passwd; /* user password */ uid_t pw_uid; /* user ID */ gid_t pw_gid; /* group ID */ diff --git a/man3/getpwent_r.3 b/man3/getpwent_r.3 index cb594da370..3717b0ced9 100644 --- a/man3/getpwent_r.3 +++ b/man3/getpwent_r.3 @@ -68,7 +68,7 @@ as follows: .in +4n .nf struct passwd { - char *pw_name; /* user name */ + char *pw_name; /* username */ char *pw_passwd; /* user password */ uid_t pw_uid; /* user ID */ gid_t pw_gid; /* group ID */ diff --git a/man3/getpwnam.3 b/man3/getpwnam.3 index a53762139e..2684002332 100644 --- a/man3/getpwnam.3 +++ b/man3/getpwnam.3 @@ -68,7 +68,7 @@ the broken-out fields of the record in the password database (e.g., the local password file .IR /etc/passwd , NIS, and LDAP) -that matches the user name +that matches the username .IR name . .PP The @@ -102,7 +102,7 @@ The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows: .in +4n .nf struct passwd { - char *pw_name; /* user name */ + char *pw_name; /* username */ char *pw_passwd; /* user password */ uid_t pw_uid; /* user ID */ gid_t pw_gid; /* group ID */ diff --git a/man3/getspnam.3 b/man3/getspnam.3 index a5266b54d9..99d728b945 100644 --- a/man3/getspnam.3 +++ b/man3/getspnam.3 @@ -99,7 +99,7 @@ The .BR getspnam () function returns a pointer to a structure containing the broken-out fields of the record in the shadow password database -that matches the user name +that matches the username .IR name . .LP The diff --git a/man3/putpwent.3 b/man3/putpwent.3 index 034341d5b5..ec13264bdd 100644 --- a/man3/putpwent.3 +++ b/man3/putpwent.3 @@ -55,7 +55,7 @@ The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows: .in +4n .nf struct passwd { - char *pw_name; /* user name */ + char *pw_name; /* username */ char *pw_passwd; /* user password */ uid_t pw_uid; /* user ID */ gid_t pw_gid; /* group ID */ diff --git a/man3/rcmd.3 b/man3/rcmd.3 index 4a5f1640c7..f0885c49e5 100644 --- a/man3/rcmd.3 +++ b/man3/rcmd.3 @@ -153,7 +153,7 @@ The and .BR ruserok () functions take a remote host's IP address or name, respectively, -two user names and a flag indicating whether the local user's +two usernames and a flag indicating whether the local user's name is that of the superuser. Then, if the user is .I not @@ -170,7 +170,7 @@ other than the user or the superuser, or is writable by anyone other than the owner, the check automatically fails. Zero is returned if the machine name is listed in the .IR hosts.equiv -file, or the host and remote user name are found in the +file, or the host and remote username are found in the .IR .rhosts file; otherwise .BR iruserok () |
