msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2013-03-26 16:48+0900\n"
+"POT-Creation-Date: 2013-08-15 19:32+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgstr ""
#. type: TH
-#: build/C/man3/fgetgrent.3:30 build/C/man3/fgetpwent.3:33
+#: build/C/man3/fgetgrent.3:30 build/C/man3/fgetpwent.3:33 build/C/man3/getspnam.3:8 build/C/man3/putpwent.3:30
#, no-wrap
-msgid "2008-07-10"
+msgid "2013-04-19"
msgstr ""
#. type: TH
msgstr ""
#. type: SH
-#: build/C/man3/fgetgrent.3:76 build/C/man3/fgetpwent.3:81 build/C/man3/getgrent.3:106 build/C/man3/getgrent_r.3:101 build/C/man3/getgrnam.3:136 build/C/man3/getgrouplist.3:78 build/C/man3/getpw.3:72 build/C/man3/getpwent.3:103 build/C/man3/getpwent_r.3:103 build/C/man3/getpwnam.3:143 build/C/man3/getspnam.3:216 build/C/man3/initgroups.3:62 build/C/man3/putgrent.3:38 build/C/man3/putpwent.3:70 build/C/man3/setaliasent.3:88
+#: build/C/man3/fgetgrent.3:76 build/C/man3/fgetpwent.3:81 build/C/man3/getgrent.3:106 build/C/man3/getgrent_r.3:101 build/C/man3/getgrnam.3:136 build/C/man3/getgrouplist.3:78 build/C/man3/getpw.3:72 build/C/man3/getpwent.3:103 build/C/man3/getpwent_r.3:103 build/C/man3/getpwnam.3:143 build/C/man3/getspnam.3:216 build/C/man3/initgroups.3:68 build/C/man3/putgrent.3:42 build/C/man3/putpwent.3:70 build/C/man3/setaliasent.3:89
#, no-wrap
msgid "RETURN VALUE"
msgstr ""
#. type: Plain text
-#: build/C/man3/fgetgrent.3:83
+#: build/C/man3/fgetgrent.3:86
msgid ""
"The B<fgetgrent>() function returns a pointer to a I<group> structure, or "
-"NULL if there are no more entries or an error occurs."
+"NULL if there are no more entries or an error occurs. In the event of an "
+"error, I<errno> is set to indicate the cause."
msgstr ""
#. type: SH
-#: build/C/man3/fgetgrent.3:83 build/C/man3/fgetpwent.3:88 build/C/man3/getgrent.3:129 build/C/man3/getgrent_r.3:108 build/C/man3/getgrnam.3:174 build/C/man3/getpw.3:78 build/C/man3/getpwent.3:125 build/C/man3/getpwent_r.3:110 build/C/man3/getpwnam.3:181 build/C/man3/getspnam.3:227 build/C/man3/initgroups.3:69 build/C/man3/putpwent.3:75
+#: build/C/man3/fgetgrent.3:86 build/C/man3/fgetpwent.3:91 build/C/man3/getgrent.3:129 build/C/man3/getgrent_r.3:108 build/C/man3/getgrnam.3:174 build/C/man3/getpw.3:78 build/C/man3/getpwent.3:125 build/C/man3/getpwent_r.3:110 build/C/man3/getpwnam.3:181 build/C/man3/getspnam.3:229 build/C/man3/initgroups.3:75 build/C/man3/putpwent.3:78
#, no-wrap
msgid "ERRORS"
msgstr ""
#. type: TP
-#: build/C/man3/fgetgrent.3:84 build/C/man3/fgetpwent.3:89 build/C/man3/getgrent.3:142 build/C/man3/getgrnam.3:196 build/C/man3/getpw.3:87 build/C/man3/getpwent.3:140 build/C/man3/getpwnam.3:203 build/C/man3/initgroups.3:70
+#: build/C/man3/fgetgrent.3:87 build/C/man3/fgetpwent.3:92 build/C/man3/getgrent.3:142 build/C/man3/getgrnam.3:196 build/C/man3/getpw.3:87 build/C/man3/getpwent.3:140 build/C/man3/getpwnam.3:203 build/C/man3/initgroups.3:76
#, no-wrap
msgid "B<ENOMEM>"
msgstr ""
#. not in POSIX
#. to allocate the group structure, or to allocate buffers
#. type: Plain text
-#: build/C/man3/fgetgrent.3:89 build/C/man3/getgrent.3:148 build/C/man3/getgrnam.3:203
+#: build/C/man3/fgetgrent.3:92 build/C/man3/getgrent.3:148 build/C/man3/getgrnam.3:203
msgid "Insufficient memory to allocate I<group> structure."
msgstr ""
#. type: SH
-#: build/C/man3/fgetgrent.3:89 build/C/man3/fgetpwent.3:98 build/C/man3/getgrent.3:155 build/C/man3/getgrent_r.3:116 build/C/man3/getgrnam.3:210 build/C/man3/getgrouplist.3:98 build/C/man3/getpw.3:96 build/C/man3/getpwent.3:154 build/C/man3/getpwent_r.3:118 build/C/man3/getpwnam.3:217 build/C/man3/getspnam.3:247 build/C/man3/initgroups.3:82 build/C/man3/putgrent.3:40 build/C/man3/putpwent.3:79 build/C/man3/setaliasent.3:100
+#: build/C/man3/fgetgrent.3:92 build/C/man3/fgetpwent.3:101 build/C/man3/getgrent.3:166 build/C/man3/getgrent_r.3:116 build/C/man3/getgrnam.3:223 build/C/man3/getgrouplist.3:98 build/C/man3/getpw.3:96 build/C/man3/getpwent.3:165 build/C/man3/getpwent_r.3:118 build/C/man3/getpwnam.3:230 build/C/man3/getspnam.3:249 build/C/man3/initgroups.3:88 build/C/man3/putgrent.3:44 build/C/man3/putpwent.3:82 build/C/man3/setaliasent.3:101
#, no-wrap
msgid "CONFORMING TO"
msgstr ""
#. type: Plain text
-#: build/C/man3/fgetgrent.3:91 build/C/man3/fgetpwent.3:100 build/C/man3/putpwent.3:81
+#: build/C/man3/fgetgrent.3:94 build/C/man3/fgetpwent.3:103 build/C/man3/putpwent.3:84
msgid "SVr4."
msgstr ""
#. type: SH
-#: build/C/man3/fgetgrent.3:91 build/C/man3/fgetpwent.3:100 build/C/man5/ftpusers.5:49 build/C/man3/getgrent.3:157 build/C/man3/getgrent_r.3:183 build/C/man3/getgrnam.3:233 build/C/man3/getgrouplist.3:189 build/C/man3/getpw.3:105 build/C/man3/getpwent.3:159 build/C/man3/getpwent_r.3:180 build/C/man3/getpwnam.3:313 build/C/man3/getspnam.3:251 build/C/man5/group.5:61 build/C/man3/initgroups.3:84 build/C/man5/passwd.5:162 build/C/man3/putgrent.3:42 build/C/man3/putpwent.3:81 build/C/man3/setaliasent.3:144
+#: build/C/man3/fgetgrent.3:94 build/C/man3/fgetpwent.3:103 build/C/man5/ftpusers.5:49 build/C/man3/getgrent.3:168 build/C/man3/getgrent_r.3:183 build/C/man3/getgrnam.3:246 build/C/man3/getgrouplist.3:189 build/C/man3/getpw.3:105 build/C/man3/getpwent.3:170 build/C/man3/getpwent_r.3:180 build/C/man3/getpwnam.3:326 build/C/man3/getspnam.3:253 build/C/man5/group.5:61 build/C/man3/initgroups.3:90 build/C/man5/passwd.5:162 build/C/man3/putgrent.3:46 build/C/man3/putpwent.3:84 build/C/man3/setaliasent.3:145
#, no-wrap
msgid "SEE ALSO"
msgstr ""
#. type: Plain text
-#: build/C/man3/fgetgrent.3:101
+#: build/C/man3/fgetgrent.3:104
msgid ""
"B<endgrent>(3), B<fgetgrent_r>(3), B<fopen>(3), B<getgrent>(3), "
"B<getgrgid>(3), B<getgrnam>(3), B<putgrent>(3), B<setgrent>(3), B<group>(5)"
msgstr ""
#. type: SH
-#: build/C/man3/fgetgrent.3:101 build/C/man3/fgetpwent.3:111 build/C/man5/ftpusers.5:53 build/C/man3/getgrent.3:165 build/C/man3/getgrent_r.3:190 build/C/man3/getgrnam.3:240 build/C/man3/getgrouplist.3:195 build/C/man3/getpw.3:114 build/C/man3/getpwent.3:167 build/C/man3/getpwent_r.3:188 build/C/man3/getpwnam.3:323 build/C/man3/getspnam.3:256 build/C/man5/group.5:67 build/C/man3/initgroups.3:88 build/C/man5/passwd.5:171 build/C/man3/putgrent.3:46 build/C/man3/putpwent.3:89 build/C/man3/setaliasent.3:153
+#: build/C/man3/fgetgrent.3:104 build/C/man3/fgetpwent.3:114 build/C/man5/ftpusers.5:53 build/C/man3/getgrent.3:176 build/C/man3/getgrent_r.3:190 build/C/man3/getgrnam.3:253 build/C/man3/getgrouplist.3:195 build/C/man3/getpw.3:114 build/C/man3/getpwent.3:178 build/C/man3/getpwent_r.3:188 build/C/man3/getpwnam.3:336 build/C/man3/getspnam.3:258 build/C/man5/group.5:67 build/C/man3/initgroups.3:94 build/C/man5/passwd.5:171 build/C/man3/putgrent.3:50 build/C/man3/putpwent.3:92 build/C/man3/setaliasent.3:154
#, no-wrap
msgid "COLOPHON"
msgstr ""
#. type: Plain text
-#: build/C/man3/fgetgrent.3:108 build/C/man3/fgetpwent.3:118 build/C/man5/ftpusers.5:60 build/C/man3/getgrent.3:172 build/C/man3/getgrent_r.3:197 build/C/man3/getgrnam.3:247 build/C/man3/getgrouplist.3:202 build/C/man3/getpw.3:121 build/C/man3/getpwent.3:174 build/C/man3/getpwent_r.3:195 build/C/man3/getpwnam.3:330 build/C/man3/getspnam.3:263 build/C/man5/group.5:74 build/C/man3/initgroups.3:95 build/C/man5/passwd.5:178 build/C/man3/putgrent.3:53 build/C/man3/putpwent.3:96 build/C/man3/setaliasent.3:160
+#: build/C/man3/fgetgrent.3:111 build/C/man3/fgetpwent.3:121 build/C/man5/ftpusers.5:60 build/C/man3/getgrent.3:183 build/C/man3/getgrent_r.3:197 build/C/man3/getgrnam.3:260 build/C/man3/getgrouplist.3:202 build/C/man3/getpw.3:121 build/C/man3/getpwent.3:185 build/C/man3/getpwent_r.3:195 build/C/man3/getpwnam.3:343 build/C/man3/getspnam.3:265 build/C/man5/group.5:74 build/C/man3/initgroups.3:101 build/C/man5/passwd.5:178 build/C/man3/putgrent.3:57 build/C/man3/putpwent.3:99 build/C/man3/setaliasent.3:161
msgid ""
-"This page is part of release 3.50 of the Linux I<man-pages> project. A "
+"This page is part of release 3.53 of the Linux I<man-pages> project. A "
"description of the project, and information about reporting bugs, can be "
-"found at http://www.kernel.org/doc/man-pages/."
+"found at \\%http://www.kernel.org/doc/man-pages/."
msgstr ""
#. type: TH
msgstr ""
#. type: Plain text
-#: build/C/man3/fgetpwent.3:88
+#: build/C/man3/fgetpwent.3:91
msgid ""
"The B<fgetpwent>() function returns a pointer to a I<passwd> structure, or "
-"NULL if there are no more entries or an error occurs."
+"NULL if there are no more entries or an error occurs. In the event of an "
+"error, I<errno> is set to indicate the cause."
msgstr ""
#. not in POSIX
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45)
#. type: Plain text
-#: build/C/man3/fgetpwent.3:94 build/C/man3/getpw.3:92 build/C/man3/getpwent.3:147 build/C/man3/getpwnam.3:210
+#: build/C/man3/fgetpwent.3:97 build/C/man3/getpw.3:92 build/C/man3/getpwent.3:147 build/C/man3/getpwnam.3:210
msgid "Insufficient memory to allocate I<passwd> structure."
msgstr ""
#. type: SH
-#: build/C/man3/fgetpwent.3:94 build/C/man5/ftpusers.5:47 build/C/man3/getgrent.3:151 build/C/man3/getgrnam.3:206 build/C/man3/getpw.3:92 build/C/man3/getpwent.3:150 build/C/man3/getpwnam.3:213 build/C/man3/getspnam.3:234 build/C/man5/group.5:53 build/C/man3/initgroups.3:78 build/C/man5/passwd.5:142 build/C/man3/setaliasent.3:94
+#: build/C/man3/fgetpwent.3:97 build/C/man5/ftpusers.5:47 build/C/man3/getgrent.3:151 build/C/man3/getgrnam.3:206 build/C/man3/getpw.3:92 build/C/man3/getpwent.3:150 build/C/man3/getpwnam.3:213 build/C/man3/getspnam.3:236 build/C/man5/group.5:53 build/C/man3/initgroups.3:84 build/C/man5/passwd.5:142 build/C/man3/setaliasent.3:95
#, no-wrap
msgid "FILES"
msgstr ""
#. type: Plain text
-#: build/C/man3/fgetpwent.3:95 build/C/man3/getpw.3:93 build/C/man3/getpwent.3:151 build/C/man3/getpwnam.3:214 build/C/man5/passwd.5:144
+#: build/C/man3/fgetpwent.3:98 build/C/man3/getpw.3:93 build/C/man3/getpwent.3:151 build/C/man3/getpwnam.3:214 build/C/man5/passwd.5:144
#, no-wrap
msgid "I</etc/passwd>"
msgstr ""
#. type: Plain text
-#: build/C/man3/fgetpwent.3:98 build/C/man3/getpw.3:96
+#: build/C/man3/fgetpwent.3:101 build/C/man3/getpw.3:96
msgid "password database file"
msgstr ""
#. type: Plain text
-#: build/C/man3/fgetpwent.3:111
+#: build/C/man3/fgetpwent.3:114
msgid ""
"B<endpwent>(3), B<fgetpwent_r>(3), B<fopen>(3), B<getpw>(3), B<getpwent>(3), "
"B<getpwnam>(3), B<getpwuid>(3), B<putpwent>(3), B<setpwent>(3), B<passwd>(5)"
msgstr ""
#. type: TH
-#: build/C/man3/getgrent.3:30 build/C/man3/getgrent_r.3:24 build/C/man3/getpw.3:32 build/C/man3/getpwent.3:33 build/C/man3/getpwent_r.3:24 build/C/man5/group.5:26
+#: build/C/man3/getgrent.3:30 build/C/man3/getpwent.3:33
#, no-wrap
-msgid "2010-10-21"
+msgid "2013-06-21"
msgstr ""
#. type: Plain text
msgstr ""
#. type: TP
-#: build/C/man3/getgrent.3:148 build/C/man3/getgrent_r.3:112 build/C/man3/getgrnam.3:203 build/C/man3/getpwent.3:147 build/C/man3/getpwent_r.3:114 build/C/man3/getpwnam.3:210 build/C/man3/getspnam.3:231
+#: build/C/man3/getgrent.3:148 build/C/man3/getgrent_r.3:112 build/C/man3/getgrnam.3:203 build/C/man3/getpwent.3:147 build/C/man3/getpwent_r.3:114 build/C/man3/getpwnam.3:210 build/C/man3/getspnam.3:233
#, no-wrap
msgid "B<ERANGE>"
msgstr ""
msgid "local group database file"
msgstr ""
+#. type: SH
+#: build/C/man3/getgrent.3:155 build/C/man3/getgrnam.3:210 build/C/man3/getpwent.3:154 build/C/man3/getpwnam.3:217
+#, no-wrap
+msgid "ATTRIBUTES"
+msgstr ""
+
+#. type: SS
+#: build/C/man3/getgrent.3:156 build/C/man3/getgrnam.3:211 build/C/man3/getpwent.3:155 build/C/man3/getpwnam.3:218
+#, no-wrap
+msgid "Multithreading (see pthreads(7))"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/getgrent.3:160
+msgid "The B<getgrent()> function is not thread-safe."
+msgstr ""
+
#. type: Plain text
-#: build/C/man3/getgrent.3:157 build/C/man3/getgrnam.3:212
+#: build/C/man3/getgrent.3:166
+msgid "The B<setgrent()> and B<endgrent()> functions are thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/getgrent.3:168 build/C/man3/getgrnam.3:225
msgid "SVr4, 4.3BSD, POSIX.1-2001."
msgstr ""
#. type: Plain text
-#: build/C/man3/getgrent.3:165
+#: build/C/man3/getgrent.3:176
msgid ""
"B<fgetgrent>(3), B<getgrent_r>(3), B<getgrgid>(3), B<getgrnam>(3), "
"B<getgrouplist>(3), B<putgrent>(3), B<group>(5)"
msgid "GETGRENT_R"
msgstr ""
+#. type: TH
+#: build/C/man3/getgrent_r.3:24 build/C/man3/getpw.3:32 build/C/man3/getpwent_r.3:24 build/C/man5/group.5:26
+#, no-wrap
+msgid "2010-10-21"
+msgstr ""
+
#. type: Plain text
#: build/C/man3/getgrent_r.3:27
msgid "getgrent_r, fgetgrent_r - get group file entry reentrantly"
msgstr ""
#. type: SH
-#: build/C/man3/getgrent_r.3:137 build/C/man3/getgrnam.3:212 build/C/man3/getpwent_r.3:140 build/C/man3/getpwnam.3:222 build/C/man5/passwd.5:144
+#: build/C/man3/getgrent_r.3:137 build/C/man3/getgrnam.3:225 build/C/man3/getpwent_r.3:140 build/C/man3/getpwnam.3:235 build/C/man5/passwd.5:144
#, no-wrap
msgid "NOTES"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man3/getgrent_r.3:142 build/C/man3/getgrouplist.3:109 build/C/man3/getpwent_r.3:145 build/C/man3/getpwnam.3:261 build/C/man3/setaliasent.3:114
+#: build/C/man3/getgrent_r.3:142 build/C/man3/getgrouplist.3:109 build/C/man3/getpwent_r.3:145 build/C/man3/getpwnam.3:274 build/C/man3/setaliasent.3:115
#, no-wrap
msgid "EXAMPLE"
msgstr ""
#. type: TH
#: build/C/man3/getgrnam.3:33 build/C/man3/getpwnam.3:37
#, no-wrap
-msgid "2012-04-23"
+msgid "2013-07-22"
msgstr ""
#. type: Plain text
msgid "The maximum number of files was open already in the system."
msgstr ""
+#. type: Plain text
+#: build/C/man3/getgrnam.3:217
+msgid "The B<getgrnam>() and B<getgrgid>() functions are not thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/getgrnam.3:223
+msgid "The B<getgrnam_r>() and B<getgrgid_r>() functions are thread-safe."
+msgstr ""
+
#. more precisely:
#. AIX 5.1 - gives ESRCH
#. OSF1 4.0g - gives EWOULDBLOCK
#. SunOS 5.8 - gives EBADF
#. Tru64 5.1b, HP-UX-11i, SunOS 5.7 - give 0
#. type: Plain text
-#: build/C/man3/getgrnam.3:233
+#: build/C/man3/getgrnam.3:246
msgid ""
"The formulation given above under \"RETURN VALUE\" is from POSIX.1-2001. It "
"does not call \"not found\" an error, hence does not specify what value "
msgstr ""
#. type: Plain text
-#: build/C/man3/getgrnam.3:240
+#: build/C/man3/getgrnam.3:253
msgid ""
"B<endgrent>(3), B<fgetgrent>(3), B<getgrent>(3), B<getpwnam>(3), "
"B<setgrent>(3), B<group>(5)"
msgstr ""
#. type: TP
-#: build/C/man3/getpw.3:79 build/C/man3/putpwent.3:76
+#: build/C/man3/getpw.3:79 build/C/man3/putpwent.3:79
#, no-wrap
msgid "B<EINVAL>"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/getpwent.3:159 build/C/man3/getpwnam.3:222
+#: build/C/man3/getpwent.3:159
+msgid "The B<getpwent()> function is not thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/getpwent.3:165
+msgid "The B<setpwent()> and B<endpwent()> functions are thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/getpwent.3:170 build/C/man3/getpwnam.3:235
msgid ""
"SVr4, 4.3BSD, POSIX.1-2001. The I<pw_gecos> field is not specified in "
"POSIX, but is present on most implementations."
msgstr ""
#. type: Plain text
-#: build/C/man3/getpwent.3:167
+#: build/C/man3/getpwent.3:178
msgid ""
"B<fgetpwent>(3), B<getpw>(3), B<getpwent_r>(3), B<getpwnam>(3), "
"B<getpwuid>(3), B<putpwent>(3), B<passwd>(5)"
msgid "The given I<name> or I<uid> was not found."
msgstr ""
+#. type: Plain text
+#: build/C/man3/getpwnam.3:224
+msgid "The B<getpwnam>() and B<getpwuid>() functions are not thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/getpwnam.3:230
+msgid "The B<getpwnam_r>() and B<getpwuid_r>() functions are thread-safe."
+msgstr ""
+
#. more precisely:
#. AIX 5.1 - gives ESRCH
#. OSF1 4.0g - gives EWOULDBLOCK
#. SunOS 5.8 - gives EBADF
#. Tru64 5.1b, HP-UX-11i, SunOS 5.7 - give 0
#. type: Plain text
-#: build/C/man3/getpwnam.3:243
+#: build/C/man3/getpwnam.3:256
msgid ""
"The formulation given above under \"RETURN VALUE\" is from POSIX.1-2001. It "
"does not call \"not found\" an error, and hence does not specify what value "
msgstr ""
#. type: Plain text
-#: build/C/man3/getpwnam.3:261
+#: build/C/man3/getpwnam.3:274
msgid ""
"The I<pw_dir> field contains the name of the initial working directory of "
"the user. Login programs use the value of this field to initialize the "
msgstr ""
#. type: Plain text
-#: build/C/man3/getpwnam.3:266
+#: build/C/man3/getpwnam.3:279
msgid ""
"The program below demonstrates the use of B<getpwnam_r>() to find the full "
"username and user ID for the username supplied as a command-line argument."
msgstr ""
#. type: Plain text
-#: build/C/man3/getpwnam.3:273
+#: build/C/man3/getpwnam.3:286
#, no-wrap
msgid ""
"#include E<lt>pwd.hE<gt>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpwnam.3:282
+#: build/C/man3/getpwnam.3:295
#, no-wrap
msgid ""
"int\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpwnam.3:287
+#: build/C/man3/getpwnam.3:300
#, no-wrap
msgid ""
" if (argc != 2) {\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpwnam.3:291
+#: build/C/man3/getpwnam.3:304
#, no-wrap
msgid ""
" bufsize = sysconf(_SC_GETPW_R_SIZE_MAX);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpwnam.3:297
+#: build/C/man3/getpwnam.3:310
#, no-wrap
msgid ""
" buf = malloc(bufsize);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpwnam.3:308
+#: build/C/man3/getpwnam.3:321
#, no-wrap
msgid ""
" s = getpwnam_r(argv[1], &pwd, buf, bufsize, &result);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpwnam.3:312
+#: build/C/man3/getpwnam.3:325
#, no-wrap
msgid ""
" printf(\"Name: %s; UID: %ld\\en\", pwd.pw_gecos, (long) pwd.pw_uid);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpwnam.3:323
+#: build/C/man3/getpwnam.3:336
msgid ""
"B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), "
"B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), B<passwd>(5)"
msgid "GETSPNAM"
msgstr ""
-#. type: TH
-#: build/C/man3/getspnam.3:8
-#, no-wrap
-msgid "2013-01-22"
-msgstr ""
-
#. type: Plain text
#: build/C/man3/getspnam.3:13
msgid ""
msgstr ""
#. type: Plain text
-#: build/C/man3/getspnam.3:221
+#: build/C/man3/getspnam.3:223
msgid ""
"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 "
-"I<int> as the return value return 0 for success and -1 for failure."
+"I<int> as the return value return 0 for success and -1 for failure, with "
+"I<errno> set to indicate the cause of the error."
msgstr ""
#. type: Plain text
-#: build/C/man3/getspnam.3:224
+#: build/C/man3/getspnam.3:226
msgid ""
"For the nonreentrant functions, the return value may point to static area, "
"and may be overwritten by subsequent calls to these functions."
msgstr ""
#. type: Plain text
-#: build/C/man3/getspnam.3:227
+#: build/C/man3/getspnam.3:229
msgid ""
"The reentrant functions return zero on success. In case of error, an error "
"number is returned."
msgstr ""
#. type: TP
-#: build/C/man3/getspnam.3:228
+#: build/C/man3/getspnam.3:230
#, no-wrap
msgid "B<EACCES>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getspnam.3:231
+#: build/C/man3/getspnam.3:233
msgid "The caller does not have permission to access the shadow password file."
msgstr ""
#. type: Plain text
-#: build/C/man3/getspnam.3:234
+#: build/C/man3/getspnam.3:236
msgid "Supplied buffer is too small."
msgstr ""
#. type: TP
-#: build/C/man3/getspnam.3:235
+#: build/C/man3/getspnam.3:237
#, no-wrap
msgid "I</etc/shadow>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getspnam.3:238
+#: build/C/man3/getspnam.3:240
msgid "local shadow password database file"
msgstr ""
#. type: TP
-#: build/C/man3/getspnam.3:238
+#: build/C/man3/getspnam.3:240
#, no-wrap
msgid "I</etc/.pwd.lock>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getspnam.3:241
+#: build/C/man3/getspnam.3:243
msgid "lock file"
msgstr ""
#. type: Plain text
-#: build/C/man3/getspnam.3:247
+#: build/C/man3/getspnam.3:249
msgid ""
"The include file I<E<lt>paths.hE<gt>> defines the constant B<_PATH_SHADOW> "
"to the pathname of the shadow password file."
msgstr ""
#. type: Plain text
-#: build/C/man3/getspnam.3:251
+#: build/C/man3/getspnam.3:253
msgid ""
"The shadow password database and its associated API are not specified in "
"POSIX.1-2001. However, many other systems provide a similar API."
msgstr ""
#. type: Plain text
-#: build/C/man3/getspnam.3:256
+#: build/C/man3/getspnam.3:258
msgid "B<getgrnam>(3), B<getpwnam>(3), B<getpwnam_r>(3), B<shadow>(5)"
msgstr ""
msgstr ""
#. type: TH
-#: build/C/man3/initgroups.3:32 build/C/man3/putpwent.3:30
+#: build/C/man3/initgroups.3:32
#, no-wrap
msgid "2007-07-26"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/initgroups.3:58
+#: build/C/man3/initgroups.3:64
msgid ""
"The B<initgroups>() function initializes the group access list by reading "
"the group database I</etc/group> and using all groups of which I<user> is a "
msgstr ""
#. type: Plain text
-#: build/C/man3/initgroups.3:62
+#: build/C/man3/initgroups.3:68
msgid "The I<user> argument must be non-NULL."
msgstr ""
#. type: Plain text
-#: build/C/man3/initgroups.3:69
+#: build/C/man3/initgroups.3:75
msgid ""
"The B<initgroups>() function returns 0 on success. On error, -1 is "
"returned, and I<errno> is set appropriately."
msgstr ""
#. type: Plain text
-#: build/C/man3/initgroups.3:73
+#: build/C/man3/initgroups.3:79
msgid "Insufficient memory to allocate group information structure."
msgstr ""
#. type: TP
-#: build/C/man3/initgroups.3:73
+#: build/C/man3/initgroups.3:79
#, no-wrap
msgid "B<EPERM>"
msgstr ""
#. type: Plain text
-#: build/C/man3/initgroups.3:78
+#: build/C/man3/initgroups.3:84
msgid ""
"The calling process has insufficient privilege. See the underlying system "
"call B<setgroups>(2)."
msgstr ""
#. type: Plain text
-#: build/C/man3/initgroups.3:81
+#: build/C/man3/initgroups.3:87
#, no-wrap
msgid "I</etc/group>\t\tgroup database file\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/initgroups.3:84
+#: build/C/man3/initgroups.3:90
msgid "SVr4, 4.3BSD."
msgstr ""
#. type: Plain text
-#: build/C/man3/initgroups.3:88
+#: build/C/man3/initgroups.3:94
msgid "B<getgroups>(2), B<setgroups>(2), B<credentials>(7)"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/putgrent.3:25
+#: build/C/man3/putgrent.3:27
msgid ""
"The B<putgrent>() function is the counterpart for B<fgetgrent>(3). The "
"function writes the content of the provided I<struct group> into the file "
msgstr ""
#. type: Plain text
-#: build/C/man3/putgrent.3:27
+#: build/C/man3/putgrent.3:31
msgid "The I<struct group> is defined as follows:"
msgstr ""
#. type: Plain text
-#: build/C/man3/putgrent.3:36
+#: build/C/man3/putgrent.3:40
#, no-wrap
msgid ""
"struct group {\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/putgrent.3:40
+#: build/C/man3/putgrent.3:44
msgid "The function returns zero on success, and a nonzero value on error."
msgstr ""
#. type: Plain text
-#: build/C/man3/putgrent.3:42
+#: build/C/man3/putgrent.3:46
msgid "This function is a GNU extension."
msgstr ""
#. type: Plain text
-#: build/C/man3/putgrent.3:46
+#: build/C/man3/putgrent.3:50
msgid "B<fgetgrent>(3), B<getgrent>(3), B<group>(5)"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/putpwent.3:75
-msgid "The B<putpwent>() function returns 0 on success, or -1 if an error occurs."
+#: build/C/man3/putpwent.3:78
+msgid ""
+"The B<putpwent>() function returns 0 on success, or -1 if an error occurs. "
+"In the event of an error, I<errno> is set to indicate the cause."
msgstr ""
#. type: Plain text
-#: build/C/man3/putpwent.3:79
+#: build/C/man3/putpwent.3:82
msgid "Invalid (NULL) argument given."
msgstr ""
#. type: Plain text
-#: build/C/man3/putpwent.3:89
+#: build/C/man3/putpwent.3:92
msgid ""
"B<endpwent>(3), B<fgetpwent>(3), B<getpw>(3), B<getpwent>(3), "
"B<getpwnam>(3), B<getpwuid>(3), B<setpwent>(3)"
msgstr ""
#. type: Plain text
-#: build/C/man3/setaliasent.3:36
+#: build/C/man3/setaliasent.3:37
msgid ""
"One of the databases available with the Name Service Switch (NSS) is the "
"aliases database, that contains mail aliases. (To find out which databases "
msgstr ""
#. type: Plain text
-#: build/C/man3/setaliasent.3:43
+#: build/C/man3/setaliasent.3:44
msgid ""
"The B<getaliasent>() function returns a pointer to a structure containing "
"the group information from the aliases database. The first time it is "
msgstr ""
#. type: Plain text
-#: build/C/man3/setaliasent.3:48
+#: build/C/man3/setaliasent.3:49
msgid ""
"The B<setaliasent>() function rewinds the file pointer to the beginning of "
"the aliases database."
msgstr ""
#. type: Plain text
-#: build/C/man3/setaliasent.3:52
+#: build/C/man3/setaliasent.3:53
msgid "The B<endaliasent>() function closes the aliases database."
msgstr ""
#. type: Plain text
-#: build/C/man3/setaliasent.3:59
+#: build/C/man3/setaliasent.3:60
msgid ""
"B<getaliasent_r>() is the reentrant version of the previous function. The "
"requested structure is stored via the first argument but the programmer "
msgstr ""
#. type: Plain text
-#: build/C/man3/setaliasent.3:65
+#: build/C/man3/setaliasent.3:66
msgid ""
"The function B<getaliasbyname>() takes the name argument and searches the "
"aliases database. The entry is returned as a pointer to a I<struct "
msgstr ""
#. type: Plain text
-#: build/C/man3/setaliasent.3:72
+#: build/C/man3/setaliasent.3:73
msgid ""
"B<getaliasbyname_r>() is the reentrant version of the previous function. "
"The requested structure is stored via the second argument but the programmer "
msgstr ""
#. type: Plain text
-#: build/C/man3/setaliasent.3:77
+#: build/C/man3/setaliasent.3:78
msgid "The I<struct aliasent> is defined in I<E<lt>aliases.hE<gt>>:"
msgstr ""
#. type: Plain text
-#: build/C/man3/setaliasent.3:86
+#: build/C/man3/setaliasent.3:87
#, no-wrap
msgid ""
"struct aliasent {\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/setaliasent.3:94
+#: build/C/man3/setaliasent.3:95
msgid ""
"The functions B<getaliasent_r>() and B<getaliasbyname_r>() return a "
"nonzero value on error."
msgstr ""
#. type: Plain text
-#: build/C/man3/setaliasent.3:100
+#: build/C/man3/setaliasent.3:101
msgid ""
"The default alias database is the file I</etc/aliases>. This can be changed "
"in the I</etc/nsswitch.conf> file."
msgstr ""
#. type: Plain text
-#: build/C/man3/setaliasent.3:103
+#: build/C/man3/setaliasent.3:104
msgid "These routines are glibc-specific. The NeXT system has similar routines:"
msgstr ""
#. type: Plain text
-#: build/C/man3/setaliasent.3:107
+#: build/C/man3/setaliasent.3:108
#, no-wrap
msgid "#include E<lt>aliasdb.hE<gt>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/setaliasent.3:112
+#: build/C/man3/setaliasent.3:113
#, no-wrap
msgid ""
"void alias_setent(void);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/setaliasent.3:118
+#: build/C/man3/setaliasent.3:119
msgid ""
"The following example compiles with I<gcc example.c -o example>. It will "
"dump all names in the alias database."
msgstr ""
#. type: Plain text
-#: build/C/man3/setaliasent.3:124
+#: build/C/man3/setaliasent.3:125
#, no-wrap
msgid ""
"#include E<lt>aliases.hE<gt>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/setaliasent.3:143
+#: build/C/man3/setaliasent.3:144
#, no-wrap
msgid ""
"int\n"
#. Yellow Pages
#. newaliases, postalias
#. type: Plain text
-#: build/C/man3/setaliasent.3:153
+#: build/C/man3/setaliasent.3:154
msgid "B<getgrent>(3), B<getpwent>(3), B<getspent>(3), B<aliases>(5)"
msgstr ""