msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2014-04-17 13:14+0900\n"
+"POT-Creation-Date: 2015-02-04 23:33+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/getutent.3:31
+#: build/C/man3/getutent.3:31 build/C/man3/updwtmp.3:29 build/C/man5/utmp.5:30
#, no-wrap
-msgid "2013-04-19"
+msgid "2014-08-19"
msgstr ""
#. type: TH
#. type: Plain text
#: build/C/man3/getutent.3:41
-msgid "B<struct utmp *getutid(struct utmp *>I<ut>B<);>"
+msgid "B<struct utmp *getutid(const struct utmp *>I<ut>B<);>"
msgstr ""
#. type: Plain text
#: build/C/man3/getutent.3:43
-msgid "B<struct utmp *getutline(struct utmp *>I<ut>B<);>"
+msgid "B<struct utmp *getutline(const struct utmp *>I<ut>B<);>"
msgstr ""
#. type: Plain text
#: build/C/man3/getutent.3:45
-msgid "B<struct utmp *pututline(struct utmp *>I<ut>B<);>"
+msgid "B<struct utmp *pututline(const struct utmp *>I<ut>B<);>"
msgstr ""
#. type: Plain text
msgstr ""
#. type: SH
-#: build/C/man3/getutent.3:51 build/C/man3/getutmp.3:37 build/C/man3/login.3:36 build/C/man3/updwtmp.3:41 build/C/man5/utmp.5:35
+#: build/C/man3/getutent.3:51 build/C/man3/getutmp.3:37 build/C/man3/login.3:36 build/C/man3/updwtmp.3:45 build/C/man5/utmp.5:35
#, no-wrap
msgid "DESCRIPTION"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man3/getutent.3:154 build/C/man3/login.3:99 build/C/man3/updwtmp.3:54 build/C/man5/utmp.5:224
+#: build/C/man3/getutent.3:154 build/C/man3/login.3:99 build/C/man3/updwtmp.3:58 build/C/man5/utmp.5:224
#, no-wrap
msgid "FILES"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man3/getutent.3:158 build/C/man3/getutmp.3:55 build/C/man3/login.3:112 build/C/man3/updwtmp.3:58 build/C/man5/utmp.5:228
+#: build/C/man3/getutent.3:158 build/C/man3/getutmp.3:62 build/C/man3/login.3:112 build/C/man3/updwtmp.3:62 build/C/man5/utmp.5:228
#, no-wrap
msgid "CONFORMING TO"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:170
+#: build/C/man3/getutent.3:169
msgid ""
"In XPG2 and SVID 2 the function B<pututline>() is documented to return "
-"void, and that is what it does on many systems (AIX, HP-UX, Linux libc5). "
-"HP-UX introduces a new function B<_pututline>() with the prototype given "
-"above for B<pututline>() (also found in Linux libc5)."
+"void, and that is what it does on many systems (AIX, HP-UX). HP-UX "
+"introduces a new function B<_pututline>() with the prototype given above "
+"for B<pututline>()."
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:174
+#: build/C/man3/getutent.3:173
msgid ""
"All these functions are obsolete now on non-Linux systems. POSIX.1-2001, "
"following SUSv1, does not have any of these functions, but instead uses"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:176
+#: build/C/man3/getutent.3:175
msgid "B<#include E<lt>utmpx.hE<gt>>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:178
+#: build/C/man3/getutent.3:177
msgid "B<struct utmpx *getutxent(void);>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:180
+#: build/C/man3/getutent.3:179
msgid "B<struct utmpx *getutxid(const struct utmpx *);>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:182
+#: build/C/man3/getutent.3:181
msgid "B<struct utmpx *getutxline(const struct utmpx *);>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:184
+#: build/C/man3/getutent.3:183
msgid "B<struct utmpx *pututxline(const struct utmpx *);>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:186
+#: build/C/man3/getutent.3:185
msgid "B<void setutxent(void);>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:188
+#: build/C/man3/getutent.3:187
msgid "B<void endutxent(void);>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:197
+#: build/C/man3/getutent.3:196
msgid ""
"These functions are provided by glibc, and perform the same task as their "
"equivalents without the \"x\", but use I<struct utmpx>, defined on Linux to "
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:205
+#: build/C/man3/getutent.3:204
msgid ""
"On some other systems, the I<utmpx> structure is a superset of the I<utmp> "
"structure, with additional fields, and larger versions of the existing "
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:213
+#: build/C/man3/getutent.3:212
msgid ""
"Linux glibc on the other hand does not use a parallel I<utmpx> file since "
"its I<utmp> structure is already large enough. The \"x\" functions listed "
msgstr ""
#. type: SH
-#: build/C/man3/getutent.3:213 build/C/man3/getutmp.3:58 build/C/man3/login.3:115 build/C/man3/updwtmp.3:71 build/C/man5/utmp.5:280
+#: build/C/man3/getutent.3:212 build/C/man3/getutmp.3:65 build/C/man3/login.3:115 build/C/man3/updwtmp.3:65 build/C/man5/utmp.5:280
#, no-wrap
msgid "NOTES"
msgstr ""
#. type: SS
-#: build/C/man3/getutent.3:214
+#: build/C/man3/getutent.3:213
#, no-wrap
msgid "Glibc notes"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:217
+#: build/C/man3/getutent.3:216
msgid "The above functions are not thread-safe. Glibc adds reentrant versions"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:222
+#: build/C/man3/getutent.3:221
#, no-wrap
msgid ""
"B<#define _GNU_SOURCE> /* or _SVID_SOURCE or _BSD_SOURCE;\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:224
+#: build/C/man3/getutent.3:223
#, no-wrap
msgid "B<int getutent_r(struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:227
+#: build/C/man3/getutent.3:226
#, no-wrap
msgid ""
"B<int getutid_r(struct utmp *>I<ut>B<,>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:230
+#: build/C/man3/getutent.3:229
#, no-wrap
msgid ""
"B<int getutline_r(struct utmp *>I<ut>B<,>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:242
+#: build/C/man3/getutent.3:241
msgid ""
"These functions are GNU extensions, analogs of the functions of the same "
"name without the _r suffix. The I<ubuf> argument gives these functions a "
msgstr ""
#. type: SH
-#: build/C/man3/getutent.3:242
+#: build/C/man3/getutent.3:241
#, no-wrap
msgid "EXAMPLE"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:250
+#: build/C/man3/getutent.3:249
msgid ""
"The following example adds and removes a utmp record, assuming it is run "
"from within a pseudo terminal. For usage in a real application, you should "
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:257
+#: build/C/man3/getutent.3:256
#, no-wrap
msgid ""
"#include E<lt>string.hE<gt>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:262
+#: build/C/man3/getutent.3:261
#, no-wrap
msgid ""
"int\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:264
+#: build/C/man3/getutent.3:263
#, no-wrap
msgid " system(\"echo before adding entry:;who\");\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:276
+#: build/C/man3/getutent.3:275
#, no-wrap
msgid ""
" entry.ut_type = USER_PROCESS;\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:278
+#: build/C/man3/getutent.3:277
#, no-wrap
msgid " system(\"echo after adding entry:;who\");\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:285
+#: build/C/man3/getutent.3:284
#, no-wrap
msgid ""
" entry.ut_type = DEAD_PROCESS;\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:287
+#: build/C/man3/getutent.3:286
#, no-wrap
msgid " system(\"echo after removing entry:;who\");\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:291
+#: build/C/man3/getutent.3:290
#, no-wrap
msgid ""
" endutent();\n"
"}\n"
msgstr ""
+#. .PP
+#. Note that the \fIutmp\fP struct from libc5 has changed in libc6.
+#. Because of this,
+#. binaries using the old libc5 struct will corrupt
+#. .IR /var/run/utmp " and/or " /var/log/wtmp .
+#. .SH BUGS
+#. This man page is based on the libc5 one, things may work differently now.
#. type: SH
-#: build/C/man3/getutent.3:292 build/C/man3/getutmp.3:69 build/C/man3/login.3:130 build/C/man3/updwtmp.3:87 build/C/man5/utmp.5:338
+#: build/C/man3/getutent.3:291 build/C/man3/getutmp.3:76 build/C/man3/login.3:130 build/C/man3/updwtmp.3:81 build/C/man5/utmp.5:338
#, no-wrap
msgid "SEE ALSO"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:295
+#: build/C/man3/getutent.3:294
msgid "B<getutmp>(3), B<utmp>(5)"
msgstr ""
#. type: SH
-#: build/C/man3/getutent.3:295 build/C/man3/getutmp.3:73 build/C/man3/login.3:133 build/C/man3/updwtmp.3:90 build/C/man5/utmp.5:352
+#: build/C/man3/getutent.3:294 build/C/man3/getutmp.3:80 build/C/man3/login.3:133 build/C/man3/updwtmp.3:84 build/C/man5/utmp.5:352
#, no-wrap
msgid "COLOPHON"
msgstr ""
#. type: Plain text
-#: build/C/man3/getutent.3:302 build/C/man3/getutmp.3:80 build/C/man3/login.3:140 build/C/man3/updwtmp.3:97 build/C/man5/utmp.5:359
+#: build/C/man3/getutent.3:302 build/C/man3/getutmp.3:88 build/C/man3/login.3:141 build/C/man3/updwtmp.3:92 build/C/man5/utmp.5:360
msgid ""
-"This page is part of release 3.64 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/."
+"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/."
msgstr ""
#. type: TH
#. type: TH
#: build/C/man3/getutmp.3:26
#, no-wrap
-msgid "2014-03-09"
+msgid "2014-04-08"
msgstr ""
#. type: TH
msgid "These functions first appeared in glibc in version 2.1.1."
msgstr ""
+#. type: SH
+#: build/C/man3/getutmp.3:55
+#, no-wrap
+msgid "ATTRIBUTES"
+msgstr ""
+
+#. type: SS
+#: build/C/man3/getutmp.3:56
+#, no-wrap
+msgid "Multithreading (see pthreads(7))"
+msgstr ""
+
#. type: Plain text
-#: build/C/man3/getutmp.3:58
+#: build/C/man3/getutmp.3:62
+msgid "The B<getutmp>() and B<getutmpx>() functions are thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/getutmp.3:65
msgid ""
"These functions are nonstandard, but appear on a few other systems, such as "
"Solaris and NetBSD."
#. e.g., on Solaris, the utmpx structure is rather larger than utmp.
#. type: Plain text
-#: build/C/man3/getutmp.3:69
+#: build/C/man3/getutmp.3:76
msgid ""
"These functions exist primarily for compatibility with other systems where "
"the I<utmp> and I<utmpx> structures contain different fields, or the size of "
msgstr ""
#. type: Plain text
-#: build/C/man3/getutmp.3:73
+#: build/C/man3/getutmp.3:80
msgid "B<utmpdump>(1), B<getutent>(3), B<utmp>(5)"
msgstr ""
msgstr ""
#. type: TP
-#: build/C/man3/login.3:106 build/C/man3/updwtmp.3:55
+#: build/C/man3/login.3:106 build/C/man3/updwtmp.3:59
#, no-wrap
msgid "I</var/log/wtmp>"
msgstr ""
msgid "UPDWTMP"
msgstr ""
-#. type: TH
-#: build/C/man3/updwtmp.3:29
-#, no-wrap
-msgid "2008-07-02"
-msgstr ""
-
#. type: Plain text
#: build/C/man3/updwtmp.3:32
msgid "updwtmp, logwtmp - append an entry to the wtmp file"
msgstr ""
#. type: Plain text
-#: build/C/man3/updwtmp.3:46
+#: build/C/man3/updwtmp.3:45
+msgid "For B<logwtmp>(), link with I<-lutil>."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/updwtmp.3:50
msgid "B<updwtmp>() appends the utmp structure I<ut> to the wtmp file."
msgstr ""
#. type: Plain text
-#: build/C/man3/updwtmp.3:54
+#: build/C/man3/updwtmp.3:58
msgid ""
"B<logwtmp>() constructs a utmp structure using I<line>, I<name>, I<host>, "
"current time and current process ID. Then it calls B<updwtmp>() to append "
msgstr ""
#. type: Plain text
-#: build/C/man3/updwtmp.3:58
+#: build/C/man3/updwtmp.3:62
msgid "database of past user logins"
msgstr ""
#. type: Plain text
-#: build/C/man3/updwtmp.3:61
+#: build/C/man3/updwtmp.3:65
msgid "Not in POSIX.1-2001. Present on Solaris, NetBSD, and perhaps other systems."
msgstr ""
-#. type: SH
-#: build/C/man3/updwtmp.3:61
-#, no-wrap
-msgid "AVAILABILITY"
-msgstr ""
-
-#. type: Plain text
-#: build/C/man3/updwtmp.3:71
-msgid ""
-"Both functions are available under glibc2, but not under libc5. However, "
-"B<logwtmp>() used to occur in the old libbsd. These days, the B<logwtmp>() "
-"function is included in libutil. (Hence you'll need to add I<-lutil> to "
-"your compiler command line to get it.)"
-msgstr ""
-
#. type: Plain text
-#: build/C/man3/updwtmp.3:75
+#: build/C/man3/updwtmp.3:69
msgid ""
"For consistency with the other \"utmpx\" functions (see B<getutxent>(3)), "
"glibc provides (since version 2.1):"
msgstr ""
#. type: Plain text
-#: build/C/man3/updwtmp.3:78
+#: build/C/man3/updwtmp.3:72
#, no-wrap
msgid "B<#include E<lt>utmpx.hE<gt>>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/updwtmp.3:80
+#: build/C/man3/updwtmp.3:74
#, no-wrap
msgid ""
"B<void updwtmpx (const char *>I<wtmpx_file>B<, const struct utmpx "
msgstr ""
#. type: Plain text
-#: build/C/man3/updwtmp.3:87
+#: build/C/man3/updwtmp.3:81
msgid ""
"This function performs the same task as B<updwtmp>(), but differs in that it "
"takes a I<utmpx> structure as its last argument."
msgstr ""
#. type: Plain text
-#: build/C/man3/updwtmp.3:90
+#: build/C/man3/updwtmp.3:84
msgid "B<getutxent>(3), B<wtmp>(5)"
msgstr ""
msgid "UTMP"
msgstr ""
-#. type: TH
-#: build/C/man5/utmp.5:30
-#, no-wrap
-msgid "2013-02-11"
-msgstr ""
-
#. type: Plain text
#: build/C/man5/utmp.5:33
msgid "utmp, wtmp - login records"
" messages */\n"
" struct exit_status ut_exit; /* Exit status of a process\n"
" marked as DEAD_PROCESS; not\n"
-" used by Linux init(8) */\n"
+" used by Linux init (1 */\n"
" /* The ut_session and ut_tv fields must be the same size when\n"
" compiled 32- and 64-bit. This allows data files and shared\n"
" memory to be shared between 32- and 64-bit applications. */\n"
#. type: Plain text
#: build/C/man5/utmp.5:157
msgid ""
-"The first entries ever created result from B<init>(8) processing "
-"B<inittab>(5). Before an entry is processed, though, B<init>(8) cleans up "
+"The first entries ever created result from B<init>(1) processing "
+"B<inittab>(5). Before an entry is processed, though, B<init>(1) cleans up "
"utmp by setting I<ut_type> to B<DEAD_PROCESS>, clearing I<ut_user>, "
"I<ut_host>, and I<ut_time> with null bytes for each record which I<ut_type> "
"is not B<DEAD_PROCESS> or B<RUN_LVL> and where no process with PID I<ut_pid> "
"exists. If no empty record with the needed I<ut_id> can be found, "
-"B<init>(8) creates a new one. It sets I<ut_id> from the inittab, I<ut_pid> "
+"B<init>(1) creates a new one. It sets I<ut_id> from the inittab, I<ut_pid> "
"and I<ut_time> to the current values, and I<ut_type> to B<INIT_PROCESS>."
msgstr ""
#. type: Plain text
#: build/C/man5/utmp.5:182
msgid ""
-"When B<init>(8) finds that a process has exited, it locates its utmp entry "
+"When B<init>(1) finds that a process has exited, it locates its utmp entry "
"by I<ut_pid>, sets I<ut_type> to B<DEAD_PROCESS>, and clears I<ut_user>, "
"I<ut_host> and I<ut_time> with null bytes."
msgstr ""
"terminal. Furthermore, the terminal name B<~> with username B<shutdown> or "
"B<reboot> indicates a system shutdown or reboot and the pair of terminal "
"names B<|>/B<}> logs the old/new system time when B<date>(1) changes it. "
-"I<wtmp> is maintained by B<login>(1), B<init>(8), and some versions of "
+"I<wtmp> is maintained by B<login>(1), B<init>(1), and some versions of "
"B<getty>(8) (e.g., B<mingetty>(8) or B<agetty>(8)). None of these "
"programs creates the file, so if it is removed, record-keeping is turned "
"off."
msgstr ""
#. type: Plain text
-#: build/C/man5/utmp.5:336
-msgid ""
-"Note that the I<utmp> struct from libc5 has changed in libc6. Because of "
-"this, binaries using the old libc5 struct will corrupt I</var/run/utmp> "
-"and/or I</var/log/wtmp>."
-msgstr ""
-
-#. type: SH
-#: build/C/man5/utmp.5:336
-#, no-wrap
-msgid "BUGS"
-msgstr ""
-
-#. type: Plain text
-#: build/C/man5/utmp.5:338
-msgid "This man page is based on the libc5 one, things may work differently now."
-msgstr ""
-
-#. type: Plain text
#: build/C/man5/utmp.5:352
msgid ""
"B<ac>(1), B<date>(1), B<last>(1), B<login>(1), B<utmpdump>(1), B<who>(1), "
"B<getutent>(3), B<getutmp>(3), B<login>(3), B<logout>(3), B<logwtmp>(3), "
-"B<updwtmp>(3), B<init>(8)"
+"B<updwtmp>(3), B<init>(1)"
msgstr ""