msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2013-03-26 16:48+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"
"Language: \n"
"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: TH
msgstr ""
#. type: TH
-#: build/C/man3/getpass.3:24 build/C/man3/termios.3:40
+#: build/C/man3/getpass.3:24 build/C/man3/openpty.3:34
#, no-wrap
-msgid "2013-03-15"
+msgid "2014-08-19"
msgstr ""
#. type: TH
#. type: Plain text
#: build/C/man3/getpass.3:31
-msgid "B<char *getpass( const char *>I<prompt>B<);>"
+msgid "B<char *getpass(const char *>I<prompt>B<);>"
msgstr ""
#. type: Plain text
" !(_POSIX_C_SOURCE\\ E<gt>=\\ 200112L || _XOPEN_SOURCE\\ E<gt>=\\ 600)\n"
msgstr ""
+#. type: TP
+#: build/C/man3/getpass.3:49
+#, no-wrap
+msgid "Before glibc 2.2.2:"
+msgstr ""
+
#. type: Plain text
-#: build/C/man3/getpass.3:51
-msgid "Before glibc 2.2.2: none"
+#: build/C/man3/getpass.3:52
+msgid "none"
msgstr ""
#. type: SH
-#: build/C/man3/getpass.3:54 build/C/man3/getpt.3:17 build/C/man3/getttyent.3:20 build/C/man3/grantpt.3:16 build/C/man3/isatty.3:35 build/C/man3/openpty.3:55 build/C/man3/posix_openpt.3:45 build/C/man4/pts.4:11 build/C/man3/ptsname.3:24 build/C/man7/pty.7:28 build/C/man5/securetty.5:29 build/C/man3/tcgetsid.3:34 build/C/man5/termcap.5:34 build/C/man7/termio.7:30 build/C/man3/termios.3:85 build/C/man4/tty.4:31 build/C/man4/tty_ioctl.4:15 build/C/man3/ttyname.3:38 build/C/man3/ttyslot.3:51 build/C/man5/ttytype.5:32 build/C/man3/unlockpt.3:16
+#: build/C/man3/getpass.3:55 build/C/man3/getpt.3:17 build/C/man3/getttyent.3:20 build/C/man3/grantpt.3:16 build/C/man3/isatty.3:35 build/C/man3/openpty.3:55 build/C/man3/posix_openpt.3:45 build/C/man4/pts.4:11 build/C/man3/ptsname.3:24 build/C/man7/pty.7:28 build/C/man5/securetty.5:29 build/C/man3/tcgetsid.3:34 build/C/man5/termcap.5:34 build/C/man7/termio.7:30 build/C/man3/termios.3:85 build/C/man4/tty.4:31 build/C/man4/tty_ioctl.4:15 build/C/man3/ttyname.3:38 build/C/man3/ttyslot.3:51 build/C/man5/ttytype.5:32 build/C/man3/unlockpt.3:16
#, no-wrap
msgid "DESCRIPTION"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:62
+#: build/C/man3/getpass.3:63
msgid ""
"This function is obsolete. Do not use it. If you want to read input "
"without terminal echoing enabled, see the description of the I<ECHO> flag in "
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:73
+#: build/C/man3/getpass.3:74
msgid ""
"The B<getpass>() function opens I</dev/tty> (the controlling terminal of "
"the process), outputs the string I<prompt>, turns off echoing, reads one "
msgstr ""
#. type: SH
-#: build/C/man3/getpass.3:73 build/C/man3/getpt.3:28 build/C/man3/grantpt.3:31 build/C/man3/isatty.3:41 build/C/man3/openpty.3:113 build/C/man3/posix_openpt.3:62 build/C/man3/ptsname.3:42 build/C/man3/tcgetsid.3:42 build/C/man3/termios.3:906 build/C/man4/tty_ioctl.4:434 build/C/man3/ttyname.3:52 build/C/man3/ttyslot.3:117 build/C/man3/unlockpt.3:25
+#: build/C/man3/getpass.3:74 build/C/man3/getpt.3:28 build/C/man3/grantpt.3:32 build/C/man3/isatty.3:41 build/C/man3/openpty.3:113 build/C/man3/posix_openpt.3:62 build/C/man3/ptsname.3:42 build/C/man3/tcgetsid.3:42 build/C/man3/termios.3:948 build/C/man4/tty_ioctl.4:440 build/C/man3/ttyname.3:52 build/C/man3/ttyslot.3:117 build/C/man3/unlockpt.3:25
#, no-wrap
msgid "RETURN VALUE"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:84
+#: build/C/man3/getpass.3:85
msgid ""
"The function B<getpass>() returns a pointer to a static buffer containing "
"(the first B<PASS_MAX> bytes of) the password without the trailing newline, "
msgstr ""
#. type: SH
-#: build/C/man3/getpass.3:84 build/C/man3/getpt.3:35 build/C/man3/grantpt.3:38 build/C/man3/isatty.3:49 build/C/man3/openpty.3:130 build/C/man3/posix_openpt.3:70 build/C/man3/ptsname.3:59 build/C/man3/tcgetsid.3:52 build/C/man4/tty_ioctl.4:441 build/C/man3/ttyname.3:62 build/C/man3/unlockpt.3:32
+#: build/C/man3/getpass.3:85 build/C/man3/getpt.3:35 build/C/man3/grantpt.3:39 build/C/man3/isatty.3:49 build/C/man3/openpty.3:130 build/C/man3/posix_openpt.3:70 build/C/man3/ptsname.3:59 build/C/man3/tcgetsid.3:52 build/C/man4/tty_ioctl.4:447 build/C/man3/ttyname.3:62 build/C/man3/unlockpt.3:32
#, no-wrap
msgid "ERRORS"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:86
+#: build/C/man3/getpass.3:87
msgid "The function may fail if"
msgstr ""
#. type: TP
-#: build/C/man3/getpass.3:86
+#: build/C/man3/getpass.3:87
#, no-wrap
msgid "B<ENXIO>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:89
+#: build/C/man3/getpass.3:90
msgid "The process does not have a controlling terminal."
msgstr ""
#. type: SH
-#: build/C/man3/getpass.3:89 build/C/man4/pts.4:54 build/C/man7/pty.7:124 build/C/man5/securetty.5:41 build/C/man4/tty.4:64 build/C/man5/ttytype.5:53
+#: build/C/man3/getpass.3:90 build/C/man4/pts.4:59 build/C/man7/pty.7:124 build/C/man5/securetty.5:41 build/C/man4/tty.4:73 build/C/man5/ttytype.5:53
#, no-wrap
msgid "FILES"
msgstr ""
#. .BR getpass ()
#. function appeared in Version 7 AT&T UNIX.
#. type: Plain text
-#: build/C/man3/getpass.3:95
+#: build/C/man3/getpass.3:96
msgid "I</dev/tty>"
msgstr ""
#. type: SH
-#: build/C/man3/getpass.3:95 build/C/man3/getpt.3:42 build/C/man3/getttyent.3:72 build/C/man3/grantpt.3:55 build/C/man3/isatty.3:62 build/C/man3/openpty.3:150 build/C/man3/posix_openpt.3:77 build/C/man3/ptsname.3:79 build/C/man3/tcgetsid.3:65 build/C/man3/termios.3:932 build/C/man3/ttyname.3:74 build/C/man3/ttyslot.3:123 build/C/man3/unlockpt.3:46
+#: build/C/man3/getpass.3:96 build/C/man3/getpt.3:42 build/C/man3/getttyent.3:72 build/C/man3/isatty.3:62 build/C/man3/posix_openpt.3:77 build/C/man3/ptsname.3:79 build/C/man3/tcgetsid.3:65 build/C/man3/termios.3:974 build/C/man3/ttyname.3:74 build/C/man3/ttyslot.3:123 build/C/man3/unlockpt.3:46
#, no-wrap
-msgid "CONFORMING TO"
+msgid "ATTRIBUTES"
+msgstr ""
+
+#. type: SS
+#: build/C/man3/getpass.3:97 build/C/man3/getpt.3:43 build/C/man3/getttyent.3:73 build/C/man3/isatty.3:63 build/C/man3/posix_openpt.3:78 build/C/man3/ptsname.3:80 build/C/man3/tcgetsid.3:66 build/C/man3/termios.3:975 build/C/man3/ttyname.3:75 build/C/man3/ttyslot.3:124 build/C/man3/unlockpt.3:47
+#, no-wrap
+msgid "Multithreading (see pthreads(7))"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:98
-msgid "Present in SUSv2, but marked LEGACY. Removed in POSIX.1-2001."
+#: build/C/man3/getpass.3:101
+msgid "The B<getpass>() function is not thread-safe."
msgstr ""
#. type: SH
-#: build/C/man3/getpass.3:98 build/C/man3/getttyent.3:75 build/C/man3/grantpt.3:57 build/C/man3/openpty.3:153 build/C/man3/posix_openpt.3:82 build/C/man4/pts.4:57 build/C/man7/pty.7:136 build/C/man3/tcgetsid.3:67 build/C/man3/termios.3:950 build/C/man3/ttyslot.3:126
+#: build/C/man3/getpass.3:101 build/C/man3/getpt.3:47 build/C/man3/getttyent.3:89 build/C/man3/grantpt.3:56 build/C/man3/isatty.3:67 build/C/man3/openpty.3:150 build/C/man3/posix_openpt.3:82 build/C/man3/ptsname.3:88 build/C/man3/tcgetsid.3:70 build/C/man3/termios.3:991 build/C/man3/ttyname.3:83 build/C/man3/ttyslot.3:130 build/C/man3/unlockpt.3:51
#, no-wrap
-msgid "NOTES"
+msgid "CONFORMING TO"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:119
-msgid ""
-"For libc4 and libc5, the prompt is not written to I</dev/tty> but to "
-"I<stderr>. Moreover, if I</dev/tty> cannot be opened, the password is read "
-"from I<stdin>. The static buffer has length 128 so that only the first 127 "
-"bytes of the password are returned. While reading the password, signal "
-"generation (B<SIGINT>, B<SIGQUIT>, B<SIGSTOP>, B<SIGTSTP>) is disabled and "
-"the corresponding characters (usually control-C, control-\\e, control-Z and "
-"control-Y) are transmitted as part of the password. Since libc 5.4.19 also "
-"line editing is disabled, so that also backspace and the like will be seen "
-"as part of the password."
+#: build/C/man3/getpass.3:104
+msgid "Present in SUSv2, but marked LEGACY. Removed in POSIX.1-2001."
+msgstr ""
+
+#. type: SH
+#: build/C/man3/getpass.3:104 build/C/man3/getttyent.3:92 build/C/man3/grantpt.3:58 build/C/man3/openpty.3:153 build/C/man3/posix_openpt.3:87 build/C/man4/pts.4:62 build/C/man7/pty.7:136 build/C/man3/tcgetsid.3:72 build/C/man3/termios.3:1009 build/C/man3/ttyslot.3:133
+#, no-wrap
+msgid "NOTES"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:128
+#: build/C/man3/getpass.3:134
msgid ""
-"For glibc2, if I</dev/tty> cannot be opened, the prompt is written to "
-"I<stderr> and the password is read from I<stdin>. There is no limit on the "
-"length of the password. Line editing is not disabled."
+"In the GNU C library implementation, if I</dev/tty> cannot be opened, the "
+"prompt is written to I<stderr> and the password is read from I<stdin>. "
+"There is no limit on the length of the password. Line editing is not "
+"disabled."
msgstr ""
+#. Libc4 and libc5 have never supported
+#. .B PASS_MAX
+#. or
+#. .BR _SC_PASS_MAX .
#. type: Plain text
-#: build/C/man3/getpass.3:150
+#: build/C/man3/getpass.3:156
msgid ""
-"According to the SUSv2, the value of B<PASS_MAX> must be defined in "
+"According to SUSv2, the value of B<PASS_MAX> must be defined in "
"I<E<lt>limits.hE<gt>> in case it is smaller than 8, and can in any case be "
"obtained using I<sysconf(_SC_PASS_MAX)>. However, POSIX.2 withdraws the "
"constants B<PASS_MAX> and B<_SC_PASS_MAX>, and the function B<getpass>(). "
-"Libc4 and libc5 have never supported B<PASS_MAX> or B<_SC_PASS_MAX>. Glibc2 "
-"accepts B<_SC_PASS_MAX> and returns B<BUFSIZ> (e.g., 8192)."
+"The glibc version accepts B<_SC_PASS_MAX> and returns B<BUFSIZ> (e.g., "
+"8192)."
msgstr ""
#. type: SH
-#: build/C/man3/getpass.3:150 build/C/man3/openpty.3:168
+#: build/C/man3/getpass.3:156 build/C/man3/openpty.3:168
#, no-wrap
msgid "BUGS"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:153
+#: build/C/man3/getpass.3:159
msgid ""
"The calling process should zero the password as soon as possible to avoid "
"leaving the cleartext password visible in the process's address space."
msgstr ""
#. type: SH
-#: build/C/man3/getpass.3:153 build/C/man3/getpt.3:48 build/C/man3/getttyent.3:79 build/C/man3/grantpt.3:63 build/C/man3/isatty.3:64 build/C/man3/openpty.3:178 build/C/man3/posix_openpt.3:106 build/C/man4/pts.4:69 build/C/man3/ptsname.3:92 build/C/man7/pty.7:152 build/C/man5/securetty.5:43 build/C/man3/tcgetsid.3:73 build/C/man5/termcap.5:470 build/C/man7/termio.7:59 build/C/man3/termios.3:977 build/C/man4/tty.4:66 build/C/man4/tty_ioctl.4:477 build/C/man3/ttyname.3:76 build/C/man3/ttyslot.3:146 build/C/man5/ttytype.5:67 build/C/man3/unlockpt.3:48
+#: build/C/man3/getpass.3:159 build/C/man3/getpt.3:53 build/C/man3/getttyent.3:96 build/C/man3/grantpt.3:64 build/C/man3/isatty.3:69 build/C/man3/openpty.3:178 build/C/man3/posix_openpt.3:111 build/C/man4/pts.4:74 build/C/man3/ptsname.3:101 build/C/man7/pty.7:152 build/C/man5/securetty.5:43 build/C/man3/tcgetsid.3:78 build/C/man5/termcap.5:470 build/C/man7/termio.7:59 build/C/man3/termios.3:1036 build/C/man4/tty.4:75 build/C/man4/tty_ioctl.4:483 build/C/man3/ttyname.3:85 build/C/man3/ttyslot.3:153 build/C/man5/ttytype.5:67 build/C/man3/unlockpt.3:53
#, no-wrap
msgid "SEE ALSO"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:155
+#: build/C/man3/getpass.3:161
msgid "B<crypt>(3)"
msgstr ""
#. type: SH
-#: build/C/man3/getpass.3:155 build/C/man3/getpt.3:55 build/C/man3/getttyent.3:82 build/C/man3/grantpt.3:70 build/C/man3/isatty.3:67 build/C/man3/openpty.3:182 build/C/man3/posix_openpt.3:114 build/C/man4/pts.4:75 build/C/man3/ptsname.3:99 build/C/man7/pty.7:161 build/C/man5/securetty.5:46 build/C/man3/tcgetsid.3:75 build/C/man5/termcap.5:474 build/C/man7/termio.7:66 build/C/man3/termios.3:982 build/C/man4/tty.4:76 build/C/man4/tty_ioctl.4:496 build/C/man3/ttyname.3:80 build/C/man3/ttyslot.3:150 build/C/man5/ttytype.5:72 build/C/man3/unlockpt.3:54
+#: build/C/man3/getpass.3:161 build/C/man3/getpt.3:60 build/C/man3/getttyent.3:99 build/C/man3/grantpt.3:71 build/C/man3/isatty.3:72 build/C/man3/openpty.3:182 build/C/man3/posix_openpt.3:119 build/C/man4/pts.4:80 build/C/man3/ptsname.3:108 build/C/man7/pty.7:161 build/C/man5/securetty.5:46 build/C/man3/tcgetsid.3:80 build/C/man5/termcap.5:474 build/C/man7/termio.7:66 build/C/man3/termios.3:1045 build/C/man4/tty.4:85 build/C/man4/tty_ioctl.4:502 build/C/man3/ttyname.3:89 build/C/man3/ttyslot.3:157 build/C/man5/ttytype.5:72 build/C/man3/unlockpt.3:59
#, no-wrap
msgid "COLOPHON"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:162 build/C/man3/getpt.3:62 build/C/man3/getttyent.3:89 build/C/man3/grantpt.3:77 build/C/man3/isatty.3:74 build/C/man3/openpty.3:189 build/C/man3/posix_openpt.3:121 build/C/man4/pts.4:82 build/C/man3/ptsname.3:106 build/C/man7/pty.7:168 build/C/man5/securetty.5:53 build/C/man3/tcgetsid.3:82 build/C/man5/termcap.5:481 build/C/man7/termio.7:73 build/C/man3/termios.3:989 build/C/man4/tty.4:83 build/C/man4/tty_ioctl.4:503 build/C/man3/ttyname.3:87 build/C/man3/ttyslot.3:157 build/C/man5/ttytype.5:79 build/C/man3/unlockpt.3:61
+#: build/C/man3/getpass.3:169 build/C/man3/getpt.3:68 build/C/man3/getttyent.3:107 build/C/man3/grantpt.3:79 build/C/man3/isatty.3:80 build/C/man3/openpty.3:190 build/C/man3/posix_openpt.3:127 build/C/man4/pts.4:88 build/C/man3/ptsname.3:116 build/C/man7/pty.7:169 build/C/man5/securetty.5:54 build/C/man3/tcgetsid.3:88 build/C/man5/termcap.5:482 build/C/man7/termio.7:74 build/C/man3/termios.3:1053 build/C/man4/tty.4:93 build/C/man4/tty_ioctl.4:510 build/C/man3/ttyname.3:97 build/C/man3/ttyslot.3:165 build/C/man5/ttytype.5:80 build/C/man3/unlockpt.3:67
msgid ""
-"This page is part of release 3.50 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
msgstr ""
#. type: TH
-#: build/C/man3/getpt.3:7 build/C/man3/tcgetsid.3:25
+#: build/C/man3/getpt.3:7
#, no-wrap
-msgid "2010-09-10"
+msgid "2014-04-01"
msgstr ""
#. type: TH
msgstr ""
#. type: SH
-#: build/C/man3/getpt.3:39 build/C/man3/grantpt.3:52 build/C/man3/posix_openpt.3:73 build/C/man3/ptsname.3:76 build/C/man3/tcgetsid.3:62 build/C/man3/unlockpt.3:43
+#: build/C/man3/getpt.3:39 build/C/man3/grantpt.3:53 build/C/man3/posix_openpt.3:73 build/C/man3/ptsname.3:76 build/C/man3/tcgetsid.3:62 build/C/man3/unlockpt.3:43
#, no-wrap
msgid "VERSIONS"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/getpt.3:48
+#: build/C/man3/getpt.3:47
+msgid "The B<getpt>() function is thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/getpt.3:53
msgid "B<getpt>() is glibc-specific; use B<posix_openpt>(3) instead."
msgstr ""
#. type: Plain text
-#: build/C/man3/getpt.3:55
+#: build/C/man3/getpt.3:60
msgid ""
"B<grantpt>(3), B<posix_openpt>(3), B<ptsname>(3), B<unlockpt>(3), "
"B<ptmx>(4), B<pty>(7)"
msgstr ""
#. type: TH
-#: build/C/man3/getttyent.3:7
+#: build/C/man3/getttyent.3:7 build/C/man3/ttyslot.3:28
#, no-wrap
-msgid "2002-07-18"
+msgid "2013-07-22"
msgstr ""
#. type: Plain text
msgstr ""
#. type: Plain text
-#: build/C/man3/getttyent.3:75
+#: build/C/man3/getttyent.3:77
+msgid ""
+"The B<getttyent>() function returns a pointer to a static variable, so it "
+"is not thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/getttyent.3:83
+msgid ""
+"The B<setttyent>() and B<endttyent>() functions use a static variable, so "
+"they are not thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/getttyent.3:89
+msgid ""
+"The B<getttynam>() function calls thread-unsafe function B<getttyent>() so "
+"it is not thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/getttyent.3:92
msgid "Not in POSIX.1-2001. Present on the BSDs, and perhaps other systems."
msgstr ""
#. type: Plain text
-#: build/C/man3/getttyent.3:79
+#: build/C/man3/getttyent.3:96
msgid ""
-"Under Linux the file I</etc/ttys>, and the functions described above, are "
+"Under Linux, the file I</etc/ttys>, and the functions described above, are "
"not used."
msgstr ""
#. type: Plain text
-#: build/C/man3/getttyent.3:82
+#: build/C/man3/getttyent.3:99
msgid "B<ttyname>(3), B<ttyslot>(3)"
msgstr ""
msgstr ""
#. type: TH
-#: build/C/man3/grantpt.3:5 build/C/man3/unlockpt.3:5
+#: build/C/man3/grantpt.3:5
#, no-wrap
msgid "2008-06-14"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:25
+#: build/C/man3/grantpt.3:26
msgid ""
"The B<grantpt>() function changes the mode and owner of the slave "
"pseudoterminal device corresponding to the master pseudoterminal referred to "
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:31
+#: build/C/man3/grantpt.3:32
msgid ""
"The behavior of B<grantpt>() is unspecified if a signal handler is "
"installed to catch B<SIGCHLD> signals."
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:38
+#: build/C/man3/grantpt.3:39
msgid ""
"When successful, B<grantpt>() returns 0. Otherwise, it returns -1 and sets "
"I<errno> appropriately."
msgstr ""
#. type: TP
-#: build/C/man3/grantpt.3:39
+#: build/C/man3/grantpt.3:40
#, no-wrap
msgid "B<EACCES>"
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:42
+#: build/C/man3/grantpt.3:43
msgid "The corresponding slave pseudoterminal could not be accessed."
msgstr ""
#. type: TP
-#: build/C/man3/grantpt.3:42 build/C/man3/isatty.3:50 build/C/man3/tcgetsid.3:53 build/C/man3/ttyname.3:63 build/C/man3/unlockpt.3:33
+#: build/C/man3/grantpt.3:43 build/C/man3/isatty.3:50 build/C/man3/tcgetsid.3:53 build/C/man3/ttyname.3:63 build/C/man3/unlockpt.3:33
#, no-wrap
msgid "B<EBADF>"
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:47
+#: build/C/man3/grantpt.3:48
msgid "The I<fd> argument is not a valid open file descriptor."
msgstr ""
#. type: TP
-#: build/C/man3/grantpt.3:47 build/C/man3/isatty.3:54 build/C/man3/ptsname.3:60 build/C/man4/tty_ioctl.4:442 build/C/man3/unlockpt.3:38
+#: build/C/man3/grantpt.3:48 build/C/man3/isatty.3:54 build/C/man3/ptsname.3:60 build/C/man4/tty_ioctl.4:448 build/C/man3/unlockpt.3:38
#, no-wrap
msgid "B<EINVAL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:52
+#: build/C/man3/grantpt.3:53
msgid "The I<fd> argument is valid but not associated with a master pseudoterminal."
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:55
+#: build/C/man3/grantpt.3:56
msgid "B<grantpt>() is provided in glibc since version 2.1."
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:57 build/C/man3/tcgetsid.3:67 build/C/man3/unlockpt.3:48
+#: build/C/man3/grantpt.3:58 build/C/man3/tcgetsid.3:72 build/C/man3/unlockpt.3:53
msgid "POSIX.1-2001."
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:63
+#: build/C/man3/grantpt.3:64
msgid ""
"This is part of the UNIX 98 pseudoterminal support, see B<pts>(4). Many "
"systems implement this function via a set-user-ID helper binary called "
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:70
+#: build/C/man3/grantpt.3:71
msgid ""
"B<open>(2), B<posix_openpt>(3), B<ptsname>(3), B<unlockpt>(3), B<pts>(4), "
"B<pty>(7)"
#. type: TH
#: build/C/man3/isatty.3:26
#, no-wrap
-msgid "2008-12-03"
+msgid "2014-01-27"
msgstr ""
#. type: Plain text
msgid "I<fd> is not a valid file descriptor."
msgstr ""
-#. FIXME File a bug for this?
+#. FIXME . File a bug for this?
#. type: Plain text
#: build/C/man3/isatty.3:62
msgid ""
msgstr ""
#. type: Plain text
-#: build/C/man3/isatty.3:64
+#: build/C/man3/isatty.3:67
+msgid "The B<isatty>() function is thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/isatty.3:69
msgid "SVr4, 4.3BSD, POSIX.1-2001."
msgstr ""
#. type: Plain text
-#: build/C/man3/isatty.3:67
+#: build/C/man3/isatty.3:72
msgid "B<fstat>(2), B<ttyname>(3)"
msgstr ""
msgid "OPENPTY"
msgstr ""
-#. type: TH
-#: build/C/man3/openpty.3:34
-#, no-wrap
-msgid "2010-06-13"
-msgstr ""
-
#. type: Plain text
#: build/C/man3/openpty.3:37
msgid "openpty, login_tty, forkpty - terminal utility functions"
#. type: Plain text
#: build/C/man3/openpty.3:153
msgid ""
-"These are BSD functions, present in libc5 and glibc2. They are not "
-"standardized in POSIX."
+"These are BSD functions, present in glibc. They are not standardized in "
+"POSIX."
msgstr ""
#. type: Plain text
#. type: TH
#: build/C/man3/posix_openpt.3:25
#, no-wrap
-msgid "2012-04-20"
+msgid "2014-06-03"
msgstr ""
#. type: Plain text
#. type: Plain text
#: build/C/man3/posix_openpt.3:82
+msgid "The B<posix_openpt>() function is thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/posix_openpt.3:87
msgid ""
"B<posix_openpt>() is part of the UNIX 98 pseudoterminal support (see "
"B<pts>(4)). This function is specified in POSIX.1-2001."
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_openpt.3:89
+#: build/C/man3/posix_openpt.3:94
msgid ""
"The B<posix_openpt>() function is a recent invention in POSIX. Some UNIX "
"implementations that support System V (aka UNIX 98) pseudoterminals don't "
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_openpt.3:97
+#: build/C/man3/posix_openpt.3:102
#, no-wrap
msgid ""
"int\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_openpt.3:106
+#: build/C/man3/posix_openpt.3:111
msgid ""
"Calling B<posix_openpt>() creates a pathname for the corresponding "
"pseudoterminal slave device. The pathname of the slave device can be "
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_openpt.3:114
+#: build/C/man3/posix_openpt.3:119
msgid ""
"B<open>(2), B<getpt>(3), B<grantpt>(3), B<ptsname>(3), B<unlockpt>(3), "
"B<pts>(4), B<pty>(7)"
msgstr ""
#. type: Plain text
-#: build/C/man4/pts.4:15
+#: build/C/man4/pts.4:17
msgid ""
"The file I</dev/ptmx> is a character file with major number 5 and minor "
"number 2, usually of mode 0666 and owner.group of root.root. It is used to "
msgstr ""
#. type: Plain text
-#: build/C/man4/pts.4:25
+#: build/C/man4/pts.4:30
msgid ""
"When a process opens I</dev/ptmx>, it gets a file descriptor for a "
"pseudoterminal master (PTM), and a pseudoterminal slave (PTS) device is "
msgstr ""
#. type: Plain text
-#: build/C/man4/pts.4:31
+#: build/C/man4/pts.4:36
msgid ""
"Before opening the pseudoterminal slave, you must pass the master's file "
"descriptor to B<grantpt>(3) and B<unlockpt>(3)."
msgstr ""
#. type: Plain text
-#: build/C/man4/pts.4:34
+#: build/C/man4/pts.4:39
msgid ""
"Once both the pseudoterminal master and slave are open, the slave provides "
"processes with an interface that is identical to that of a real terminal."
msgstr ""
#. type: Plain text
-#: build/C/man4/pts.4:37
+#: build/C/man4/pts.4:42
msgid ""
"Data written to the slave is presented on the master descriptor as input. "
"Data written to the master is presented to the slave as input."
msgstr ""
#. type: Plain text
-#: build/C/man4/pts.4:48
+#: build/C/man4/pts.4:53
msgid ""
"In practice, pseudoterminals are used for implementing terminal emulators "
"such as B<xterm>(1), in which data read from the pseudoterminal master is "
msgstr ""
#. type: Plain text
-#: build/C/man4/pts.4:54
+#: build/C/man4/pts.4:59
msgid ""
"Pseudoterminals can also be used to send input to programs that normally "
"refuse to read input from pipes (such as B<su>(1), and B<passwd>(1))."
msgstr ""
#. type: Plain text
-#: build/C/man4/pts.4:57
+#: build/C/man4/pts.4:62
msgid "I</dev/ptmx>, I</dev/pts/*>"
msgstr ""
#. type: Plain text
-#: build/C/man4/pts.4:63
+#: build/C/man4/pts.4:68
msgid ""
"The Linux support for the above (known as UNIX 98 pseudoterminal naming) is "
-"done using the I<devpts> file system, that should be mounted on I</dev/pts>."
+"done using the I<devpts> filesystem, that should be mounted on I</dev/pts>."
msgstr ""
#. type: Plain text
-#: build/C/man4/pts.4:69
+#: build/C/man4/pts.4:74
msgid ""
"Before this UNIX 98 scheme, master pseudoterminals were called "
"I</dev/ptyp0>, ... and slave pseudoterminals I</dev/ttyp0>, ... and one "
msgstr ""
#. type: Plain text
-#: build/C/man4/pts.4:75
+#: build/C/man4/pts.4:80
msgid "B<getpt>(3), B<grantpt>(3), B<ptsname>(3), B<unlockpt>(3), B<pty>(7)"
msgstr ""
msgstr ""
#. type: TH
-#: build/C/man3/ptsname.3:7
+#: build/C/man3/ptsname.3:7 build/C/man3/ttyname.3:27
#, no-wrap
-msgid "2008-09-03"
+msgid "2013-06-21"
msgstr ""
#. type: Plain text
msgid ""
"On success, B<ptsname>() returns a pointer to a string in static storage "
"which will be overwritten by subsequent calls. This pointer must not be "
-"freed. On failure, a NULL pointer is returned."
+"freed. On failure, NULL is returned."
msgstr ""
#. In fact the errno value is also returned as the function
msgstr ""
#. type: TP
-#: build/C/man3/ptsname.3:66 build/C/man3/tcgetsid.3:57 build/C/man4/tty_ioctl.4:448 build/C/man3/ttyname.3:66
+#: build/C/man3/ptsname.3:66 build/C/man3/tcgetsid.3:57 build/C/man4/tty_ioctl.4:454 build/C/man3/ttyname.3:66
#, no-wrap
msgid "B<ENOTTY>"
msgstr ""
#. type: Plain text
#: build/C/man3/ptsname.3:84
+msgid "The B<ptsname>() function is not thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/ptsname.3:88
+msgid "The B<ptsname_r>() function is thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/ptsname.3:93
msgid ""
"B<ptsname>() is part of the UNIX 98 pseudoterminal support (see "
"B<pts>(4)). This function is specified in POSIX.1-2001."
msgstr ""
#. type: Plain text
-#: build/C/man3/ptsname.3:92
+#: build/C/man3/ptsname.3:101
msgid ""
"B<ptsname_r>() is a Linux extension. A version of this function is "
"documented on Tru64 and HP-UX, but on those implementations, -1 is returned "
msgstr ""
#. type: Plain text
-#: build/C/man3/ptsname.3:99
+#: build/C/man3/ptsname.3:108
msgid ""
"B<grantpt>(3), B<posix_openpt>(3), B<ttyname>(3), B<unlockpt>(3), B<pts>(4), "
"B<pty>(7)"
msgid "TCGETSID"
msgstr ""
+#. type: TH
+#: build/C/man3/tcgetsid.3:25
+#, no-wrap
+msgid "2014-01-13"
+msgstr ""
+
#. type: Plain text
#: build/C/man3/tcgetsid.3:28
msgid "tcgetsid - get session ID"
msgstr ""
#. type: Plain text
-#: build/C/man3/tcgetsid.3:73
+#: build/C/man3/tcgetsid.3:70
+msgid "The B<tcgetsid>() function is thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/tcgetsid.3:78
msgid ""
"This function is implemented via the B<TIOCGSID> B<ioctl>(2), present since "
"Linux 2.1.71."
msgstr ""
#. type: Plain text
-#: build/C/man3/tcgetsid.3:75
+#: build/C/man3/tcgetsid.3:80
msgid "B<getsid>(2)"
msgstr ""
"mb\tStart blinking\n"
"MC\tClear soft margins\n"
"md\tStart bold mode\n"
-"me\tEnd all mode like so, us, mb, md and mr\n"
+"me\tEnd all mode like so, us, mb, md, and mr\n"
"mh\tStart half bright mode\n"
"mk\tDark mode (Characters invisible)\n"
"ML\tSet left soft margin\n"
msgid "TERMIOS"
msgstr ""
+#. type: TH
+#: build/C/man3/termios.3:40
+#, no-wrap
+msgid "2015-02-01"
+msgstr ""
+
#. type: Plain text
#: build/C/man3/termios.3:45
msgid ""
msgid ""
"The values that may be assigned to these fields are described below. In the "
"case of the first four bit-mask fields, the definitions of some of the "
-"associated flags that may be set are only exposed if a specific feature test "
+"associated flags that may be set are exposed only if a specific feature test "
"macro (see B<feature_test_macros>(7)) is defined, as noted in brackets "
"(\"[]\")."
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:179
-msgid "I<c_oflag> flag constants defined in POSIX.1:"
+#: build/C/man3/termios.3:180
+msgid "I<c_oflag> flag constants:"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:179
+#: build/C/man3/termios.3:180
#, no-wrap
msgid "B<OPOST>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:182
+#: build/C/man3/termios.3:183
msgid "Enable implementation-defined output processing."
msgstr ""
-#. type: Plain text
-#: build/C/man3/termios.3:185
-msgid ""
-"The remaining I<c_oflag> flag constants are defined in POSIX.1-2001, unless "
-"marked otherwise."
-msgstr ""
-
#. type: TP
-#: build/C/man3/termios.3:185
+#: build/C/man3/termios.3:183
#, no-wrap
msgid "B<OLCUC>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:188
+#: build/C/man3/termios.3:186
msgid "(not in POSIX) Map lowercase characters to uppercase on output."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:188
+#: build/C/man3/termios.3:186
#, no-wrap
msgid "B<ONLCR>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:191
+#: build/C/man3/termios.3:189
msgid "(XSI) Map NL to CR-NL on output."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:191
+#: build/C/man3/termios.3:189
#, no-wrap
msgid "B<OCRNL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:194
+#: build/C/man3/termios.3:192
msgid "Map CR to NL on output."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:194
+#: build/C/man3/termios.3:192
#, no-wrap
msgid "B<ONOCR>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:197
+#: build/C/man3/termios.3:195
msgid "Don't output CR at column 0."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:197
+#: build/C/man3/termios.3:195
#, no-wrap
msgid "B<ONLRET>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:200
+#: build/C/man3/termios.3:198
msgid "Don't output CR."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:200
+#: build/C/man3/termios.3:198
#, no-wrap
msgid "B<OFILL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:203
+#: build/C/man3/termios.3:201
msgid "Send fill characters for a delay, rather than using a timed delay."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:203
+#: build/C/man3/termios.3:201
#, no-wrap
msgid "B<OFDEL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:208
+#: build/C/man3/termios.3:206
msgid ""
-"(not in POSIX) Fill character is ASCII DEL (0177). If unset, fill character "
-"is ASCII NUL (\\(aq\\e0\\(aq). (Not implemented on Linux.)"
+"Fill character is ASCII DEL (0177). If unset, fill character is ASCII NUL "
+"(\\(aq\\e0\\(aq). (Not implemented on Linux.)"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:208
+#: build/C/man3/termios.3:206
#, no-wrap
msgid "B<NLDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:218
+#: build/C/man3/termios.3:216
msgid ""
"Newline delay mask. Values are B<NL0> and B<NL1>. [requires B<_BSD_SOURCE> "
"or B<_SVID_SOURCE> or B<_XOPEN_SOURCE>]"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:218
+#: build/C/man3/termios.3:216
#, no-wrap
msgid "B<CRDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:228
+#: build/C/man3/termios.3:226
msgid ""
"Carriage return delay mask. Values are B<CR0>, B<CR1>, B<CR2>, or B<CR3>. "
"[requires B<_BSD_SOURCE> or B<_SVID_SOURCE> or B<_XOPEN_SOURCE>]"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:228
+#: build/C/man3/termios.3:226
#, no-wrap
msgid "B<TABDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:240
+#: build/C/man3/termios.3:238
msgid ""
"Horizontal tab delay mask. Values are B<TAB0>, B<TAB1>, B<TAB2>, B<TAB3> "
"(or B<XTABS>). A value of TAB3, that is, XTABS, expands tabs to spaces "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:240
+#: build/C/man3/termios.3:238
#, no-wrap
msgid "B<BSDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:251
+#: build/C/man3/termios.3:249
msgid ""
"Backspace delay mask. Values are B<BS0> or B<BS1>. (Has never been "
"implemented.) [requires B<_BSD_SOURCE> or B<_SVID_SOURCE> or "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:251
+#: build/C/man3/termios.3:249
#, no-wrap
msgid "B<VTDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:255
+#: build/C/man3/termios.3:253
msgid "Vertical tab delay mask. Values are B<VT0> or B<VT1>."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:255
+#: build/C/man3/termios.3:253
#, no-wrap
msgid "B<FFDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:265
+#: build/C/man3/termios.3:263
msgid ""
"Form feed delay mask. Values are B<FF0> or B<FF1>. [requires "
"B<_BSD_SOURCE> or B<_SVID_SOURCE> or B<_XOPEN_SOURCE>]"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:267
+#: build/C/man3/termios.3:265
msgid "I<c_cflag> flag constants:"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:267
+#: build/C/man3/termios.3:265
#, no-wrap
msgid "B<CBAUD>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:274
+#: build/C/man3/termios.3:272
msgid ""
"(not in POSIX) Baud speed mask (4+1 bits). [requires B<_BSD_SOURCE> or "
"B<_SVID_SOURCE>]"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:274
+#: build/C/man3/termios.3:272
#, no-wrap
msgid "B<CBAUDEX>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:282
+#: build/C/man3/termios.3:280
msgid ""
"(not in POSIX) Extra baud speed mask (1 bit), included in B<CBAUD>. "
"[requires B<_BSD_SOURCE> or B<_SVID_SOURCE>]"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:298
+#: build/C/man3/termios.3:296
msgid ""
"(POSIX says that the baud speed is stored in the I<termios> structure "
"without specifying where precisely, and provides B<cfgetispeed>() and "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:298
+#: build/C/man3/termios.3:296
#, no-wrap
msgid "B<CSIZE>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:302
+#: build/C/man3/termios.3:300
msgid "Character size mask. Values are B<CS5>, B<CS6>, B<CS7>, or B<CS8>."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:302
+#: build/C/man3/termios.3:300
#, no-wrap
msgid "B<CSTOPB>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:305
+#: build/C/man3/termios.3:303
msgid "Set two stop bits, rather than one."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:305
+#: build/C/man3/termios.3:303
#, no-wrap
msgid "B<CREAD>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:308
+#: build/C/man3/termios.3:306
msgid "Enable receiver."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:308
+#: build/C/man3/termios.3:306
#, no-wrap
msgid "B<PARENB>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:311
+#: build/C/man3/termios.3:309
msgid "Enable parity generation on output and parity checking for input."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:311
+#: build/C/man3/termios.3:309
#, no-wrap
msgid "B<PARODD>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:315
+#: build/C/man3/termios.3:313
msgid ""
"If set, then parity for input and output is odd; otherwise even parity is "
"used."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:315
+#: build/C/man3/termios.3:313
#, no-wrap
msgid "B<HUPCL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:318
+#: build/C/man3/termios.3:316
msgid "Lower modem control lines after last process closes the device (hang up)."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:318
+#: build/C/man3/termios.3:316
#, no-wrap
msgid "B<CLOCAL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:321
+#: build/C/man3/termios.3:319
msgid "Ignore modem control lines."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:321
+#: build/C/man3/termios.3:319
#, no-wrap
msgid "B<LOBLK>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:325
+#: build/C/man3/termios.3:323
msgid ""
"(not in POSIX) Block output from a noncurrent shell layer. For use by "
"B<shl> (shell layers). (Not implemented on Linux.)"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:325
+#: build/C/man3/termios.3:323
#, no-wrap
msgid "B<CIBAUD>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:341
+#: build/C/man3/termios.3:339
msgid ""
"(not in POSIX) Mask for input speeds. The values for the B<CIBAUD> bits are "
"the same as the values for the B<CBAUD> bits, shifted left B<IBSHIFT> bits. "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:341
+#: build/C/man3/termios.3:339
#, no-wrap
msgid "B<CMSPAR>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:354
+#: build/C/man3/termios.3:352
msgid ""
"(not in POSIX) Use \"stick\" (mark/space) parity (supported on certain "
"serial devices): if B<PARODD> is set, the parity bit is always 1; if "
-"B<PARODD> is not set, then the parity bit is always 0). [requires "
+"B<PARODD> is not set, then the parity bit is always 0. [requires "
"B<_BSD_SOURCE> or B<_SVID_SOURCE>]"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:354
+#: build/C/man3/termios.3:352
#, no-wrap
msgid "B<CRTSCTS>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:361
+#: build/C/man3/termios.3:359
msgid ""
"(not in POSIX) Enable RTS/CTS (hardware) flow control. [requires "
"B<_BSD_SOURCE> or B<_SVID_SOURCE>]"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:363
+#: build/C/man3/termios.3:361
msgid "I<c_lflag> flag constants:"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:363
+#: build/C/man3/termios.3:361
#, no-wrap
msgid "B<ISIG>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:367
+#: build/C/man3/termios.3:365
msgid ""
"When any of the characters INTR, QUIT, SUSP, or DSUSP are received, generate "
"the corresponding signal."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:367
+#: build/C/man3/termios.3:365
#, no-wrap
msgid "B<ICANON>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:370
+#: build/C/man3/termios.3:368
msgid "Enable canonical mode (described below)."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:370
+#: build/C/man3/termios.3:368
#, no-wrap
msgid "B<XCASE>"
msgstr ""
#. to expose
#. .BR XCASE .
#. type: Plain text
-#: build/C/man3/termios.3:383
+#: build/C/man3/termios.3:386
msgid ""
"(not in POSIX; not supported under Linux) If B<ICANON> is also set, "
"terminal is uppercase only. Input is converted to lowercase, except for "
"characters preceded by \\e. On output, uppercase characters are preceded by "
"\\e and lowercase characters are converted to uppercase. [requires "
-"_BSD_SOURCE or _SVID_SOURCE or _XOPEN_SOURCE]"
+"B<_BSD_SOURCE> or B<_SVID_SOURCE> or B<_XOPEN_SOURCE>]"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:383
+#: build/C/man3/termios.3:386
#, no-wrap
msgid "B<ECHO>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:386
+#: build/C/man3/termios.3:389
msgid "Echo input characters."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:386
+#: build/C/man3/termios.3:389
#, no-wrap
msgid "B<ECHOE>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:390
+#: build/C/man3/termios.3:393
msgid ""
"If B<ICANON> is also set, the ERASE character erases the preceding input "
"character, and WERASE erases the preceding word."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:390
+#: build/C/man3/termios.3:393
#, no-wrap
msgid "B<ECHOK>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:393
+#: build/C/man3/termios.3:396
msgid "If B<ICANON> is also set, the KILL character erases the current line."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:393
+#: build/C/man3/termios.3:396
#, no-wrap
msgid "B<ECHONL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:396
+#: build/C/man3/termios.3:399
msgid "If B<ICANON> is also set, echo the NL character even if ECHO is not set."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:396
+#: build/C/man3/termios.3:399
#, no-wrap
msgid "B<ECHOCTL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:409
+#: build/C/man3/termios.3:412
msgid ""
"(not in POSIX) If B<ECHO> is also set, terminal special characters other "
"than TAB, NL, START, and STOP are echoed as B<^X>, where X is the character "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:409
+#: build/C/man3/termios.3:412
#, no-wrap
msgid "B<ECHOPRT>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:417
+#: build/C/man3/termios.3:420
msgid ""
"(not in POSIX) If B<ICANON> and B<ECHO> are also set, characters are printed "
"as they are being erased. [requires B<_BSD_SOURCE> or B<_SVID_SOURCE>]"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:417
+#: build/C/man3/termios.3:420
#, no-wrap
msgid "B<ECHOKE>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:425
+#: build/C/man3/termios.3:428
msgid ""
"(not in POSIX) If B<ICANON> is also set, KILL is echoed by erasing each "
"character on the line, as specified by B<ECHOE> and B<ECHOPRT>. [requires "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:425
+#: build/C/man3/termios.3:428
#, no-wrap
msgid "B<DEFECHO>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:429
+#: build/C/man3/termios.3:432
msgid ""
"(not in POSIX) Echo only when a process is reading. (Not implemented on "
"Linux.)"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:429
+#: build/C/man3/termios.3:432
#, no-wrap
msgid "B<FLUSHO>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:439
+#: build/C/man3/termios.3:442
msgid ""
"(not in POSIX; not supported under Linux) Output is being flushed. This "
"flag is toggled by typing the DISCARD character. [requires B<_BSD_SOURCE> "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:439
+#: build/C/man3/termios.3:442
#, no-wrap
msgid "B<NOFLSH>"
msgstr ""
#. Stevens lets SUSP only flush the input queue
#. type: Plain text
-#: build/C/man3/termios.3:444
+#: build/C/man3/termios.3:447
msgid ""
"Disable flushing the input and output queues when generating signals for the "
"INT, QUIT, and SUSP characters."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:444
+#: build/C/man3/termios.3:447
#, no-wrap
msgid "B<TOSTOP>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:450
+#: build/C/man3/termios.3:453
msgid ""
"Send the B<SIGTTOU> signal to the process group of a background process "
"which tries to write to its controlling terminal."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:450
+#: build/C/man3/termios.3:453
#, no-wrap
msgid "B<PENDIN>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:461
+#: build/C/man3/termios.3:464
msgid ""
"(not in POSIX; not supported under Linux) All characters in the input queue "
"are reprinted when the next character is read. (B<bash>(1) handles "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:461
+#: build/C/man3/termios.3:464
#, no-wrap
msgid "B<IEXTEN>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:467
+#: build/C/man3/termios.3:470
msgid ""
"Enable implementation-defined input processing. This flag, as well as "
"B<ICANON> must be enabled for the special characters EOL2, LNEXT, REPRINT, "
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:470
+#: build/C/man3/termios.3:473
msgid ""
"The I<c_cc> array defines the terminal special characters. The symbolic "
"indices (initial values) and meaning are:"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:470
+#: build/C/man3/termios.3:473
#, no-wrap
msgid "B<VDISCARD>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:477
+#: build/C/man3/termios.3:480
msgid ""
"(not in POSIX; not supported under Linux; 017, SI, Ctrl-O) Toggle: "
"start/stop discarding pending output. Recognized when B<IEXTEN> is set, and "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:477
+#: build/C/man3/termios.3:480
#, no-wrap
msgid "B<VDSUSP>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:490
+#: build/C/man3/termios.3:493
msgid ""
"(not in POSIX; not supported under Linux; 031, EM, Ctrl-Y) Delayed suspend "
"character (DSUSP): send B<SIGTSTP> signal when the character is read by the "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:490
+#: build/C/man3/termios.3:493
#, no-wrap
msgid "B<VEOF>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:502
+#: build/C/man3/termios.3:505
msgid ""
"(004, EOT, Ctrl-D) End-of-file character (EOF). More precisely: this "
"character causes the pending tty buffer to be sent to the waiting user "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:502
+#: build/C/man3/termios.3:505
#, no-wrap
msgid "B<VEOL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:509
+#: build/C/man3/termios.3:512
msgid ""
"(0, NUL) Additional end-of-line character (EOL). Recognized when B<ICANON> "
"is set."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:509
+#: build/C/man3/termios.3:512
#, no-wrap
msgid "B<VEOL2>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:516
+#: build/C/man3/termios.3:519
msgid ""
"(not in POSIX; 0, NUL) Yet another end-of-line character (EOL2). "
"Recognized when B<ICANON> is set."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:516
+#: build/C/man3/termios.3:519
#, no-wrap
msgid "B<VERASE>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:525
+#: build/C/man3/termios.3:528
msgid ""
"(0177, DEL, rubout, or 010, BS, Ctrl-H, or also #) Erase character "
"(ERASE). This erases the previous not-yet-erased character, but does not "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:525
+#: build/C/man3/termios.3:528
#, no-wrap
msgid "B<VINTR>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:535
+#: build/C/man3/termios.3:538
msgid ""
"(003, ETX, Ctrl-C, or also 0177, DEL, rubout) Interrupt character (INTR). "
"Send a B<SIGINT> signal. Recognized when B<ISIG> is set, and then not "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:535
+#: build/C/man3/termios.3:538
#, no-wrap
msgid "B<VKILL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:543
+#: build/C/man3/termios.3:546
msgid ""
"(025, NAK, Ctrl-U, or Ctrl-X, or also @) Kill character (KILL). This "
"erases the input since the last EOF or beginning-of-line. Recognized when "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:543
+#: build/C/man3/termios.3:546
#, no-wrap
msgid "B<VLNEXT>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:552
+#: build/C/man3/termios.3:555
msgid ""
"(not in POSIX; 026, SYN, Ctrl-V) Literal next (LNEXT). Quotes the next "
"input character, depriving it of a possible special meaning. Recognized "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:552
+#: build/C/man3/termios.3:555
#, no-wrap
msgid "B<VMIN>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:555
+#: build/C/man3/termios.3:558
msgid "Minimum number of characters for noncanonical read (MIN)."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:555
+#: build/C/man3/termios.3:558
#, no-wrap
msgid "B<VQUIT>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:565
+#: build/C/man3/termios.3:568
msgid ""
"(034, FS, Ctrl-\\e) Quit character (QUIT). Send B<SIGQUIT> signal. "
"Recognized when B<ISIG> is set, and then not passed as input."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:565
+#: build/C/man3/termios.3:568
#, no-wrap
msgid "B<VREPRINT>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:574
+#: build/C/man3/termios.3:577
msgid ""
"(not in POSIX; 022, DC2, Ctrl-R) Reprint unread characters (REPRINT). "
"Recognized when B<ICANON> and B<IEXTEN> are set, and then not passed as "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:574
+#: build/C/man3/termios.3:577
#, no-wrap
msgid "B<VSTART>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:582
+#: build/C/man3/termios.3:585
msgid ""
"(021, DC1, Ctrl-Q) Start character (START). Restarts output stopped by the "
"Stop character. Recognized when B<IXON> is set, and then not passed as "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:582
+#: build/C/man3/termios.3:585
#, no-wrap
msgid "B<VSTATUS>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:592
+#: build/C/man3/termios.3:595
msgid ""
"(not in POSIX; not supported under Linux; status request: 024, DC4, "
"Ctrl-T). Status character (STATUS). Display status information at "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:592
+#: build/C/man3/termios.3:595
#, no-wrap
msgid "B<VSTOP>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:600
+#: build/C/man3/termios.3:603
msgid ""
"(023, DC3, Ctrl-S) Stop character (STOP). Stop output until Start "
"character typed. Recognized when B<IXON> is set, and then not passed as "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:600
+#: build/C/man3/termios.3:603
#, no-wrap
msgid "B<VSUSP>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:610
+#: build/C/man3/termios.3:613
msgid ""
"(032, SUB, Ctrl-Z) Suspend character (SUSP). Send B<SIGTSTP> signal. "
"Recognized when B<ISIG> is set, and then not passed as input."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:610
+#: build/C/man3/termios.3:613
#, no-wrap
msgid "B<VSWTCH>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:617
+#: build/C/man3/termios.3:620
msgid ""
"(not in POSIX; not supported under Linux; 0, NUL) Switch character "
"(SWTCH). Used in System V to switch shells in I<shell layers>, a "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:617
+#: build/C/man3/termios.3:620
#, no-wrap
msgid "B<VTIME>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:620
+#: build/C/man3/termios.3:623
msgid "Timeout in deciseconds for noncanonical read (TIME)."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:620
+#: build/C/man3/termios.3:623
#, no-wrap
msgid "B<VWERASE>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:629
+#: build/C/man3/termios.3:632
msgid ""
"(not in POSIX; 027, ETB, Ctrl-W) Word erase (WERASE). Recognized when "
"B<ICANON> and B<IEXTEN> are set, and then not passed as input."
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:635
+#: build/C/man3/termios.3:638
msgid ""
"An individual terminal special character can be disabled by setting the "
"value of the corresponding I<c_cc> element to B<_POSIX_VDISABLE>."
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:651
+#: build/C/man3/termios.3:654
msgid ""
"The above symbolic subscript values are all different, except that B<VTIME>, "
"B<VMIN> may have the same value as B<VEOL>, B<VEOF>, respectively. In "
msgstr ""
#. type: SS
-#: build/C/man3/termios.3:651
+#: build/C/man3/termios.3:654
#, no-wrap
msgid "Retrieving and changing terminal settings"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:660
+#: build/C/man3/termios.3:663
msgid ""
"B<tcgetattr>() gets the parameters associated with the object referred by "
"I<fd> and stores them in the I<termios> structure referenced by "
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:666
+#: build/C/man3/termios.3:669
msgid ""
"B<tcsetattr>() sets the parameters associated with the terminal (unless "
"support is required from the underlying hardware that is not available) from "
msgstr ""
#. type: IP
-#: build/C/man3/termios.3:666
+#: build/C/man3/termios.3:669
#, no-wrap
msgid "B<TCSANOW>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:668
+#: build/C/man3/termios.3:671
msgid "the change occurs immediately."
msgstr ""
#. type: IP
-#: build/C/man3/termios.3:668
+#: build/C/man3/termios.3:671
#, no-wrap
msgid "B<TCSADRAIN>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:674
+#: build/C/man3/termios.3:677
msgid ""
"the change occurs after all output written to I<fd> has been transmitted. "
-"This function should be used when changing parameters that affect output."
+"This option should be used when changing parameters that affect output."
msgstr ""
#. type: IP
-#: build/C/man3/termios.3:674
+#: build/C/man3/termios.3:677
#, no-wrap
msgid "B<TCSAFLUSH>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:679
+#: build/C/man3/termios.3:682
msgid ""
"the change occurs after all output written to the object referred by I<fd> "
"has been transmitted, and all input that has been received but not read will "
msgstr ""
#. type: SS
-#: build/C/man3/termios.3:679
+#: build/C/man3/termios.3:682
#, no-wrap
msgid "Canonical and noncanonical mode"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:693
+#: build/C/man3/termios.3:696
msgid ""
"The setting of the B<ICANON> canon flag in I<c_lflag> determines whether the "
"terminal is operating in canonical mode (B<ICANON> set) or noncanonical mode "
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:695
+#: build/C/man3/termios.3:698
msgid "In canonical mode:"
msgstr ""
#. type: IP
-#: build/C/man3/termios.3:695 build/C/man3/termios.3:702 build/C/man3/termios.3:727 build/C/man3/termios.3:736 build/C/man3/termios.3:741 build/C/man3/termios.3:753
+#: build/C/man3/termios.3:698 build/C/man3/termios.3:705 build/C/man3/termios.3:767 build/C/man3/termios.3:769 build/C/man3/termios.3:771
#, no-wrap
msgid "*"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:702
+#: build/C/man3/termios.3:705
msgid ""
"Input is made available line by line. An input line is available when one "
"of the line delimiters is typed (NL, EOL, EOL2; or EOF at the start of "
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:715
+#: build/C/man3/termios.3:718
msgid ""
"Line editing is enabled (ERASE, KILL; and if the B<IEXTEN> flag is set: "
"WERASE, REPRINT, LNEXT). A B<read>(2) returns at most one line of input; "
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:727
+#: build/C/man3/termios.3:730
msgid ""
"In noncanonical mode input is available immediately (without the user having "
"to type a line-delimiter character), no input processing is performed, and "
"completes; there are four distinct cases:"
msgstr ""
+#. type: TP
+#: build/C/man3/termios.3:730
+#, no-wrap
+msgid "MIN == 0, TIME == 0 (polling read)"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/termios.3:739
+msgid ""
+"If data is available, B<read>(2) returns immediately, with the lesser of "
+"the number of bytes available, or the number of bytes requested. If no data "
+"is available, B<read>(2) returns 0."
+msgstr ""
+
+#. type: TP
+#: build/C/man3/termios.3:739
+#, no-wrap
+msgid "MIN E<gt> 0, TIME == 0 (blocking read)"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/termios.3:744
+msgid ""
+"B<read>(2) blocks until MIN bytes are available, and returns up to the "
+"number of bytes requested."
+msgstr ""
+
+#. type: TP
+#: build/C/man3/termios.3:744
+#, no-wrap
+msgid "MIN == 0, TIME E<gt> 0 (read with timeout)"
+msgstr ""
+
#. type: Plain text
-#: build/C/man3/termios.3:736
+#: build/C/man3/termios.3:759
msgid ""
-"MIN == 0; TIME == 0: If data is available, B<read>(2) returns immediately, "
-"with the lesser of the number of bytes available, or the number of bytes "
-"requested. If no data is available, B<read>(2) returns 0."
+"TIME specifies the limit for a timer in tenths of a second. The timer is "
+"started when B<read>(2) is called. B<read>(2) returns either when at "
+"least one byte of data is available, or when the timer expires. If the "
+"timer expires without any input becoming available, B<read>(2) returns 0. "
+"If data is already available at the time of the call to B<read>(2), the call "
+"behaves as though the data was received immediately after the call."
+msgstr ""
+
+#. type: TP
+#: build/C/man3/termios.3:759
+#, no-wrap
+msgid "MIN E<gt> 0, TIME E<gt> 0 (read with interbyte timeout)"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/termios.3:766
+msgid ""
+"TIME specifies the limit for a timer in tenths of a second. Once an initial "
+"byte of input becomes available, the timer is restarted after each further "
+"byte is received. B<read>(2) returns when any of the following conditions "
+"is met:"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/termios.3:769
+msgid "MIN bytes have been received."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/termios.3:771
+msgid "The interbyte timer expires."
msgstr ""
+#. e.g., Solaris
#. type: Plain text
-#: build/C/man3/termios.3:741
+#: build/C/man3/termios.3:780
msgid ""
-"MIN E<gt> 0; TIME == 0: B<read>(2) blocks until the lesser of MIN bytes or "
-"the number of bytes requested are available, and returns the lesser of these "
-"two values."
+"The number of bytes requested by B<read>(2) has been received. (POSIX does "
+"not specify this termination condition, and on some other implementations "
+"B<read>(2) does not return in this case.)"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:753
+#: build/C/man3/termios.3:787
msgid ""
-"MIN == 0; TIME E<gt> 0: TIME specifies the limit for a timer in tenths of a "
-"second. The timer is started when B<read>(2) is called. B<read>(2) "
-"returns either when at least one byte of data is available, or when the "
-"timer expires. If the timer expires without any input becoming available, "
-"B<read>(2) returns 0."
+"Because the timer is started only after the initial byte becomes available, "
+"at least one byte will be read. If data is already available at the time of "
+"the call to B<read>(2), the call behaves as though the data was received "
+"immediately after the call."
msgstr ""
+#. POSIX.1-2008 XBD 11.1.7
#. type: Plain text
-#: build/C/man3/termios.3:764
+#: build/C/man3/termios.3:806
msgid ""
-"MIN E<gt> 0; TIME E<gt> 0: TIME specifies the limit for a timer in tenths of "
-"a second. Once an initial byte of input becomes available, the timer is "
-"restarted after each further byte is received. B<read>(2) returns either "
-"when the lesser of the number of bytes requested or MIN byte have been read, "
-"or when the inter-byte timeout expires. Because the timer is only started "
-"after the initial byte becomes available, at least one byte will be read."
+"POSIX does not specify whether the setting of the B<O_NONBLOCK> file status "
+"flag takes precedence over the MIN and TIME settings. If B<O_NONBLOCK> is "
+"set, a B<read>(2) in noncanonical mode may return immediately, regardless "
+"of the setting of MIN or TIME. Furthermore, if no data is available, POSIX "
+"permits a B<read>(2) in noncanonical mode to return either 0, or -1 with "
+"I<errno> set to B<EAGAIN>."
msgstr ""
#. type: SS
-#: build/C/man3/termios.3:764
+#: build/C/man3/termios.3:806
#, no-wrap
msgid "Raw mode"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:773
+#: build/C/man3/termios.3:815
msgid ""
"B<cfmakeraw>() sets the terminal to something like the \"raw\" mode of the "
"old Version 7 terminal driver: input is available character by character, "
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:781
+#: build/C/man3/termios.3:823
#, no-wrap
msgid ""
" termios_p-E<gt>c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP\n"
msgstr ""
#. type: SS
-#: build/C/man3/termios.3:782
+#: build/C/man3/termios.3:824
#, no-wrap
msgid "Line control"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:792
+#: build/C/man3/termios.3:834
msgid ""
"B<tcsendbreak>() transmits a continuous stream of zero-valued bits for a "
"specific duration, if the terminal is using asynchronous serial data "
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:796
+#: build/C/man3/termios.3:838
msgid ""
"If the terminal is not using asynchronous serial data transmission, "
"B<tcsendbreak>() returns without taking any action."
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:801
+#: build/C/man3/termios.3:843
msgid ""
"B<tcdrain>() waits until all output written to the object referred to by "
"I<fd> has been transmitted."
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:808
+#: build/C/man3/termios.3:850
msgid ""
"B<tcflush>() discards data written to the object referred to by I<fd> but "
"not transmitted, or data received but not read, depending on the value of "
msgstr ""
#. type: IP
-#: build/C/man3/termios.3:808
+#: build/C/man3/termios.3:850
#, no-wrap
msgid "B<TCIFLUSH>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:810
+#: build/C/man3/termios.3:852
msgid "flushes data received but not read."
msgstr ""
#. type: IP
-#: build/C/man3/termios.3:810
+#: build/C/man3/termios.3:852
#, no-wrap
msgid "B<TCOFLUSH>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:812
+#: build/C/man3/termios.3:854
msgid "flushes data written but not transmitted."
msgstr ""
#. type: IP
-#: build/C/man3/termios.3:812
+#: build/C/man3/termios.3:854
#, no-wrap
msgid "B<TCIOFLUSH>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:815
+#: build/C/man3/termios.3:857
msgid ""
"flushes both data received but not read, and data written but not "
"transmitted."
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:821
+#: build/C/man3/termios.3:863
msgid ""
"B<tcflow>() suspends transmission or reception of data on the object "
"referred to by I<fd>, depending on the value of I<action>:"
msgstr ""
#. type: IP
-#: build/C/man3/termios.3:821
+#: build/C/man3/termios.3:863
#, no-wrap
msgid "B<TCOOFF>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:823
+#: build/C/man3/termios.3:865
msgid "suspends output."
msgstr ""
#. type: IP
-#: build/C/man3/termios.3:823
+#: build/C/man3/termios.3:865
#, no-wrap
msgid "B<TCOON>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:825
+#: build/C/man3/termios.3:867
msgid "restarts suspended output."
msgstr ""
#. type: IP
-#: build/C/man3/termios.3:825
+#: build/C/man3/termios.3:867
#, no-wrap
msgid "B<TCIOFF>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:828
+#: build/C/man3/termios.3:870
msgid ""
"transmits a STOP character, which stops the terminal device from "
"transmitting data to the system."
msgstr ""
#. type: IP
-#: build/C/man3/termios.3:828
+#: build/C/man3/termios.3:870
#, no-wrap
msgid "B<TCION>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:831
+#: build/C/man3/termios.3:873
msgid ""
"transmits a START character, which starts the terminal device transmitting "
"data to the system."
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:834
+#: build/C/man3/termios.3:876
msgid ""
"The default on open of a terminal file is that neither its input nor its "
"output is suspended."
msgstr ""
#. type: SS
-#: build/C/man3/termios.3:834
+#: build/C/man3/termios.3:876
#, no-wrap
msgid "Line speed"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:841
+#: build/C/man3/termios.3:883
msgid ""
"The baud rate functions are provided for getting and setting the values of "
"the input and output baud rates in the I<termios> structure. The new values "
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:845
+#: build/C/man3/termios.3:887
msgid ""
"Setting the speed to B<B0> instructs the modem to \"hang up\". The actual "
"bit rate corresponding to B<B38400> may be altered with B<setserial>(8)."
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:848
+#: build/C/man3/termios.3:890
msgid "The input and output baud rates are stored in the I<termios> structure."
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:853
+#: build/C/man3/termios.3:895
msgid ""
"B<cfgetospeed>() returns the output baud rate stored in the I<termios> "
"structure pointed to by I<termios_p>."
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:857
+#: build/C/man3/termios.3:899
msgid ""
"B<cfsetospeed>() sets the output baud rate stored in the I<termios> "
"structure pointed to by I<termios_p> to I<speed>, which must be one of these "
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:879
+#: build/C/man3/termios.3:921
#, no-wrap
msgid ""
"B<\tB0\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:889
+#: build/C/man3/termios.3:931
msgid ""
"The zero baud rate, B<B0>, is used to terminate the connection. If B0 is "
"specified, the modem control lines shall no longer be asserted. Normally, "
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:892 build/C/man3/termios.3:912
+#: build/C/man3/termios.3:934 build/C/man3/termios.3:954
msgid ""
"B<cfgetispeed>() returns the input baud rate stored in the I<termios> "
"structure."
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:900
+#: build/C/man3/termios.3:942
msgid ""
"B<cfsetispeed>() sets the input baud rate stored in the I<termios> "
"structure to I<speed>, which must be specified as one of the B<Bnnn> "
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:906
+#: build/C/man3/termios.3:948
msgid ""
"B<cfsetspeed>() is a 4.4BSD extension. It takes the same arguments as "
"B<cfsetispeed>(), and sets both input and output speed."
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:915
+#: build/C/man3/termios.3:957
msgid ""
"B<cfgetospeed>() returns the output baud rate stored in the I<termios> "
"structure."
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:917
+#: build/C/man3/termios.3:959
msgid "All other functions return:"
msgstr ""
#. type: IP
-#: build/C/man3/termios.3:917
+#: build/C/man3/termios.3:959
#, no-wrap
msgid "0"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:919
+#: build/C/man3/termios.3:961
msgid "on success."
msgstr ""
#. type: IP
-#: build/C/man3/termios.3:919
+#: build/C/man3/termios.3:961
#, no-wrap
msgid "-1"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:923
+#: build/C/man3/termios.3:965
msgid "on failure and set I<errno> to indicate the error."
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:932
+#: build/C/man3/termios.3:974
msgid ""
"Note that B<tcsetattr>() returns success if I<any> of the requested changes "
"could be successfully carried out. Therefore, when making multiple changes "
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:945
+#: build/C/man3/termios.3:991
+msgid ""
+"The B<tcgetattr>(), B<tcsetattr>(), B<tcsendbreak>(), B<tcdrain>(), "
+"B<tcflush>(), B<tcflow>(), B<cfmakeraw>(), B<cfgetispeed>(), "
+"B<cfgetospeed>(), B<cfsetispeed>(), B<cfsetospeed>(), and B<cfsetspeed>() "
+"functions are thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/termios.3:1004
msgid ""
"B<tcgetattr>(), B<tcsetattr>(), B<tcsendbreak>(), B<tcdrain>(), "
"B<tcflush>(), B<tcflow>(), B<cfgetispeed>(), B<cfgetospeed>(), "
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:950
+#: build/C/man3/termios.3:1009
msgid ""
"B<cfmakeraw>() and B<cfsetspeed>() are nonstandard, but available on the "
"BSDs."
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:955
+#: build/C/man3/termios.3:1014
msgid ""
-"UNIX V7 and several later systems have a list of baud rates where after the "
-"fourteen values B0, ..., B9600 one finds the two constants EXTA, EXTB "
+"UNIX\\ V7 and several later systems have a list of baud rates where after "
+"the fourteen values B0, ..., B9600 one finds the two constants EXTA, EXTB "
"(\"External A\" and \"External B\"). Many systems extend the list with much "
"higher baud rates."
msgstr ""
#. glibc for bsd: duration in us
#. glibc for sunos4: ignore duration
#. type: Plain text
-#: build/C/man3/termios.3:977
+#: build/C/man3/termios.3:1036
msgid ""
"The effect of a nonzero I<duration> with B<tcsendbreak>() varies. SunOS "
"specifies a break of I<duration\\ *\\ N> seconds, where I<N> is at least "
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:982
-msgid "B<stty>(1), B<console_ioctl>(4), B<tty_ioctl>(4), B<setserial>(8)"
+#: build/C/man3/termios.3:1045
+msgid ""
+"B<reset>(1), B<setterm>(1), B<stty>(1), B<tput>(1), B<tset>(1), "
+"B<console_ioctl>(4), B<tty_ioctl>(4), B<setserial>(8)"
msgstr ""
#. type: TH
msgstr ""
#. type: Plain text
-#: build/C/man4/tty.4:35
+#: build/C/man4/tty.4:37
msgid ""
"The file I</dev/tty> is a character file with major number 5 and minor "
"number 0, usually of mode 0666 and owner.group root.tty. It is a synonym "
msgstr ""
#. type: Plain text
-#: build/C/man4/tty.4:42
+#: build/C/man4/tty.4:47
msgid ""
"In addition to the B<ioctl>(2) requests supported by the device that B<tty> "
"refers to, the B<ioctl>(2) request B<TIOCNOTTY> is supported."
msgstr ""
#. type: SS
-#: build/C/man4/tty.4:42
+#: build/C/man4/tty.4:47
#, no-wrap
msgid "TIOCNOTTY"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty.4:44
+#: build/C/man4/tty.4:49
msgid "Detach the calling process from its controlling terminal."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty.4:52
+#: build/C/man4/tty.4:57
msgid ""
"If the process is the session leader, then B<SIGHUP> and B<SIGCONT> signals "
"are sent to the foreground process group and all processes in the current "
msgstr ""
#. type: Plain text
-#: build/C/man4/tty.4:64
+#: build/C/man4/tty.4:73
msgid ""
-"This B<ioctl>(2) call only works on file descriptors connected to "
+"This B<ioctl>(2) call works only on file descriptors connected to "
"I</dev/tty>. It is used by daemon processes when they are invoked by a user "
"at a terminal. The process attempts to open I</dev/tty>. If the open "
"succeeds, it detaches itself from the terminal by using B<TIOCNOTTY>, while "
msgstr ""
#. type: Plain text
-#: build/C/man4/tty.4:66
+#: build/C/man4/tty.4:75
msgid "/dev/tty"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty.4:76
+#: build/C/man4/tty.4:85
msgid ""
"B<chown>(1), B<mknod>(1), B<ioctl>(2), B<termios>(3), B<console>(4), "
"B<tty_ioctl>(4), B<ttyS>(4), B<agetty>(8), B<mingetty>(8)"
#. type: TH
#: build/C/man4/tty_ioctl.4:8
#, no-wrap
-msgid "2008-10-29"
+msgid "2013-11-12"
msgstr ""
#. type: Plain text
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:21
+#: build/C/man4/tty_ioctl.4:23
msgid ""
"The B<ioctl>(2) call for terminals and serial ports accepts many possible "
"command arguments. Most require a third argument, of varying type, here "
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:28
+#: build/C/man4/tty_ioctl.4:30
msgid ""
"Use of I<ioctl> makes for nonportable programs. Use the POSIX interface "
"described in B<termios>(3) whenever possible."
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:28
+#: build/C/man4/tty_ioctl.4:30
#, no-wrap
msgid "Get and set terminal attributes"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:29
+#: build/C/man4/tty_ioctl.4:31
#, no-wrap
msgid "B<TCGETS\tstruct termios *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:33
+#: build/C/man4/tty_ioctl.4:35
msgid "Equivalent to I<tcgetattr(fd, argp)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:35
+#: build/C/man4/tty_ioctl.4:37
msgid "Get the current serial port settings."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:35
+#: build/C/man4/tty_ioctl.4:37
#, no-wrap
msgid "B<TCSETS\tconst struct termios *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:39
+#: build/C/man4/tty_ioctl.4:41
msgid "Equivalent to I<tcsetattr(fd, TCSANOW, argp)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:41
+#: build/C/man4/tty_ioctl.4:43
msgid "Set the current serial port settings."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:41
+#: build/C/man4/tty_ioctl.4:43
#, no-wrap
msgid "B<TCSETSW\tconst struct termios *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:45
+#: build/C/man4/tty_ioctl.4:47
msgid "Equivalent to I<tcsetattr(fd, TCSADRAIN, argp)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:48
+#: build/C/man4/tty_ioctl.4:50
msgid "Allow the output buffer to drain, and set the current serial port settings."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:48
+#: build/C/man4/tty_ioctl.4:50
#, no-wrap
msgid "B<TCSETSF\tconst struct termios *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:52
+#: build/C/man4/tty_ioctl.4:54
msgid "Equivalent to I<tcsetattr(fd, TCSAFLUSH, argp)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:55
+#: build/C/man4/tty_ioctl.4:57
msgid ""
"Allow the output buffer to drain, discard pending input, and set the current "
"serial port settings."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:65
+#: build/C/man4/tty_ioctl.4:67
msgid ""
"The following four ioctls are just like B<TCGETS>, B<TCSETS>, B<TCSETSW>, "
-"B<TCSETSF>, except that they take a I<struct termio *> instead of a I<struct "
-"termios *>."
+"B<TCSETSF>, except that they take a I<struct termio\\ *> instead of a "
+"I<struct termios\\ *>."
msgstr ""
-#. type: TP
-#: build/C/man4/tty_ioctl.4:65
-#, no-wrap
+#. type: Plain text
+#: build/C/man4/tty_ioctl.4:69
msgid "B<TCGETA\tstruct termio *>I<argp>"
msgstr ""
-#. type: TP
-#: build/C/man4/tty_ioctl.4:67
-#, no-wrap
+#. type: Plain text
+#: build/C/man4/tty_ioctl.4:71
msgid "B<TCSETA\tconst struct termio *>I<argp>"
msgstr ""
-#. type: TP
-#: build/C/man4/tty_ioctl.4:69
-#, no-wrap
+#. type: Plain text
+#: build/C/man4/tty_ioctl.4:73
msgid "B<TCSETAW\tconst struct termio *>I<argp>"
msgstr ""
-#. type: TP
-#: build/C/man4/tty_ioctl.4:71
-#, no-wrap
+#. type: Plain text
+#: build/C/man4/tty_ioctl.4:75
msgid "B<TCSETAF\tconst struct termio *>I<argp>"
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:73
+#: build/C/man4/tty_ioctl.4:75
#, no-wrap
msgid "Locking the termios structure"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:81
+#: build/C/man4/tty_ioctl.4:83
msgid ""
"The I<termios> structure of a terminal can be locked. The lock is itself a "
"I<termios> structure, with nonzero bits or fields indicating a locked value."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:81
+#: build/C/man4/tty_ioctl.4:83
#, no-wrap
msgid "B<TIOCGLCKTRMIOS\tstruct termios *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:86
+#: build/C/man4/tty_ioctl.4:88
msgid "Gets the locking status of the I<termios> structure of the terminal."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:86
+#: build/C/man4/tty_ioctl.4:88
#, no-wrap
msgid "B<TIOCSLCKTRMIOS\tconst struct termios *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:94
+#: build/C/man4/tty_ioctl.4:96
msgid ""
-"Sets the locking status of the I<termios> structure of the terminal. Only "
-"root (more precisely: a process with the B<CAP_SYS_ADMIN> capability) can do "
-"this."
+"Sets the locking status of the I<termios> structure of the terminal. Only a "
+"process with the B<CAP_SYS_ADMIN> capability can do this."
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:94
+#: build/C/man4/tty_ioctl.4:96
#, no-wrap
msgid "Get and set window size"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:99
+#: build/C/man4/tty_ioctl.4:101
msgid ""
"Window sizes are kept in the kernel, but not used by the kernel (except in "
"the case of virtual consoles, where the kernel will update the window size "
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:102
+#: build/C/man4/tty_ioctl.4:104
msgid ""
"The following constants and structure are defined in "
"I<E<lt>sys/ioctl.hE<gt>>."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:102
+#: build/C/man4/tty_ioctl.4:104
#, no-wrap
msgid "B<TIOCGWINSZ\tstruct winsize *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:105
+#: build/C/man4/tty_ioctl.4:107
msgid "Get window size."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:105
+#: build/C/man4/tty_ioctl.4:107
#, no-wrap
msgid "B<TIOCSWINSZ\tconst struct winsize *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:108
+#: build/C/man4/tty_ioctl.4:110
msgid "Set window size."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:110
+#: build/C/man4/tty_ioctl.4:112
msgid "The struct used by these ioctls is defined as"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:119
+#: build/C/man4/tty_ioctl.4:121
#, no-wrap
msgid ""
"struct winsize {\n"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:126
+#: build/C/man4/tty_ioctl.4:128
msgid ""
"When the window size changes, a B<SIGWINCH> signal is sent to the foreground "
"process group."
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:126
+#: build/C/man4/tty_ioctl.4:128
#, no-wrap
msgid "Sending a break"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:127
+#: build/C/man4/tty_ioctl.4:129
#, no-wrap
msgid "B<TCSBRK\tint >I<arg>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:131
+#: build/C/man4/tty_ioctl.4:133
msgid "Equivalent to I<tcsendbreak(fd, arg)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:142
+#: build/C/man4/tty_ioctl.4:144
msgid ""
"If the terminal is using asynchronous serial data transmission, and I<arg> "
"is zero, then send a break (a stream of zero bits) for between 0.25 and 0.5 "
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:160
+#: build/C/man4/tty_ioctl.4:162
msgid ""
"(SVr4, UnixWare, Solaris, Linux treat I<tcsendbreak(fd,arg)> with nonzero "
"I<arg> like I<tcdrain(fd)>. SunOS treats I<arg> as a multiplier, and sends "
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:160
+#: build/C/man4/tty_ioctl.4:162
#, no-wrap
msgid "B<TCSBRKP\tint >I<arg>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:168
+#: build/C/man4/tty_ioctl.4:170
msgid ""
"So-called \"POSIX version\" of B<TCSBRK>. It treats nonzero I<arg> as a "
"timeinterval measured in deciseconds, and does nothing when the driver does "
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:168
+#: build/C/man4/tty_ioctl.4:170
#, no-wrap
msgid "B<TIOCSBRK\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:171
+#: build/C/man4/tty_ioctl.4:173
msgid "Turn break on, that is, start sending zero bits."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:171
+#: build/C/man4/tty_ioctl.4:173
#, no-wrap
msgid "B<TIOCCBRK\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:174
+#: build/C/man4/tty_ioctl.4:176
msgid "Turn break off, that is, stop sending zero bits."
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:174
+#: build/C/man4/tty_ioctl.4:176
#, no-wrap
msgid "Software flow control"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:175
+#: build/C/man4/tty_ioctl.4:177
#, no-wrap
msgid "B<TCXONC\tint >I<arg>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:179
+#: build/C/man4/tty_ioctl.4:181
msgid "Equivalent to I<tcflow(fd, arg)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:187
+#: build/C/man4/tty_ioctl.4:189
msgid ""
"See B<tcflow>(3) for the argument values B<TCOOFF>, B<TCOON>, B<TCIOFF>, "
"B<TCION>."
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:187
+#: build/C/man4/tty_ioctl.4:189
#, no-wrap
msgid "Buffer count and flushing"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:188
+#: build/C/man4/tty_ioctl.4:190
#, no-wrap
msgid "B<FIONREAD\tint *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:191
+#: build/C/man4/tty_ioctl.4:193
msgid "Get the number of bytes in the input buffer."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:191
+#: build/C/man4/tty_ioctl.4:193
#, no-wrap
msgid "B<TIOCINQ\tint *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:195
+#: build/C/man4/tty_ioctl.4:197
msgid "Same as B<FIONREAD>."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:195
+#: build/C/man4/tty_ioctl.4:197
#, no-wrap
msgid "B<TIOCOUTQ\tint *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:198
+#: build/C/man4/tty_ioctl.4:200
msgid "Get the number of bytes in the output buffer."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:198
+#: build/C/man4/tty_ioctl.4:200
#, no-wrap
msgid "B<TCFLSH\tint >I<arg>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:202
+#: build/C/man4/tty_ioctl.4:204
msgid "Equivalent to I<tcflush(fd, arg)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:209
+#: build/C/man4/tty_ioctl.4:211
msgid ""
"See B<tcflush>(3) for the argument values B<TCIFLUSH>, B<TCOFLUSH>, "
"B<TCIOFLUSH>."
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:209
+#: build/C/man4/tty_ioctl.4:211
#, no-wrap
msgid "Faking input"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:210
+#: build/C/man4/tty_ioctl.4:212
#, no-wrap
msgid "B<TIOCSTI\tconst char *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:213
+#: build/C/man4/tty_ioctl.4:215
msgid "Insert the given byte in the input queue."
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:213
+#: build/C/man4/tty_ioctl.4:215
#, no-wrap
msgid "Redirecting console output"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:214
+#: build/C/man4/tty_ioctl.4:216
#, no-wrap
msgid "B<TIOCCONS\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:236
+#: build/C/man4/tty_ioctl.4:238
msgid ""
"Redirect output that would have gone to I</dev/console> or I</dev/tty0> to "
"the given terminal. If that was a pseudoterminal master, send it to the "
"slave. In Linux before version 2.6.10, anybody can do this as long as the "
-"output was not redirected yet; since version 2.6.10, only root (a process "
-"with the B<CAP_SYS_ADMIN> capability) may do this. If output was redirected "
-"already B<EBUSY> is returned, but redirection can be stopped by using this "
-"ioctl with I<fd> pointing at I</dev/console> or I</dev/tty0>."
+"output was not redirected yet; since version 2.6.10, only a process with the "
+"B<CAP_SYS_ADMIN> capability may do this. If output was redirected already "
+"B<EBUSY> is returned, but redirection can be stopped by using this ioctl "
+"with I<fd> pointing at I</dev/console> or I</dev/tty0>."
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:236
+#: build/C/man4/tty_ioctl.4:238
#, no-wrap
msgid "Controlling terminal"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:237
+#: build/C/man4/tty_ioctl.4:239
#, no-wrap
msgid "B<TIOCSCTTY\tint >I<arg>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:251
+#: build/C/man4/tty_ioctl.4:247
msgid ""
"Make the given terminal the controlling terminal of the calling process. "
"The calling process must be a session leader and not have a controlling "
-"terminal already. If this terminal is already the controlling terminal of a "
-"different session group then the ioctl fails with B<EPERM>, unless the "
-"caller is root (more precisely: has the B<CAP_SYS_ADMIN> capability) and "
-"I<arg> equals 1, in which case the terminal is stolen, and all processes "
-"that had it as controlling terminal lose it."
+"terminal already. For this case, I<arg> should be specified as zero."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man4/tty_ioctl.4:257
+msgid ""
+"If this terminal is already the controlling terminal of a different session "
+"group, then the ioctl fails with B<EPERM>, unless the caller has the "
+"B<CAP_SYS_ADMIN> capability and I<arg> equals 1, in which case the terminal "
+"is stolen, and all processes that had it as controlling terminal lose it."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:251
+#: build/C/man4/tty_ioctl.4:257
#, no-wrap
msgid "B<TIOCNOTTY\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:262
+#: build/C/man4/tty_ioctl.4:268
msgid ""
"If the given terminal was the controlling terminal of the calling process, "
"give up this controlling terminal. If the process was session leader, then "
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:262
+#: build/C/man4/tty_ioctl.4:268
#, no-wrap
msgid "Process group and session ID"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:263
+#: build/C/man4/tty_ioctl.4:269
#, no-wrap
msgid "B<TIOCGPGRP\tpid_t *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:267
+#: build/C/man4/tty_ioctl.4:273
msgid "When successful, equivalent to I<*argp = tcgetpgrp(fd)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:269
+#: build/C/man4/tty_ioctl.4:275
msgid "Get the process group ID of the foreground process group on this terminal."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:269
+#: build/C/man4/tty_ioctl.4:275
#, no-wrap
msgid "B<TIOCSPGRP\tconst pid_t *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:273
+#: build/C/man4/tty_ioctl.4:279
msgid "Equivalent to I<tcsetpgrp(fd, *argp)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:275
+#: build/C/man4/tty_ioctl.4:281
msgid "Set the foreground process group ID of this terminal."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:275
+#: build/C/man4/tty_ioctl.4:281
#, no-wrap
msgid "B<TIOCGSID\tpid_t *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:283
+#: build/C/man4/tty_ioctl.4:289
msgid ""
"Get the session ID of the given terminal. This will fail with B<ENOTTY> in "
"case the terminal is not a master pseudoterminal and not our controlling "
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:283
+#: build/C/man4/tty_ioctl.4:289
#, no-wrap
msgid "Exclusive mode"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:284
+#: build/C/man4/tty_ioctl.4:290
#, no-wrap
msgid "B<TIOCEXCL\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:295
+#: build/C/man4/tty_ioctl.4:301
msgid ""
"Put the terminal into exclusive mode. No further B<open>(2) operations on "
-"the terminal are permitted. (They will fail with B<EBUSY>, except for root, "
-"that is, a process with the B<CAP_SYS_ADMIN> capability.)"
+"the terminal are permitted. (They will fail with B<EBUSY>, except for a "
+"process with the B<CAP_SYS_ADMIN> capability.)"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:295
+#: build/C/man4/tty_ioctl.4:301
#, no-wrap
msgid "B<TIOCNXCL\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:298
+#: build/C/man4/tty_ioctl.4:304
msgid "Disable exclusive mode."
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:298
+#: build/C/man4/tty_ioctl.4:304
#, no-wrap
msgid "Line discipline"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:299
+#: build/C/man4/tty_ioctl.4:305
#, no-wrap
msgid "B<TIOCGETD\tint *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:302
+#: build/C/man4/tty_ioctl.4:308
msgid "Get the line discipline of the terminal."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:302
+#: build/C/man4/tty_ioctl.4:308
#, no-wrap
msgid "B<TIOCSETD\tconst int *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:305
+#: build/C/man4/tty_ioctl.4:311
msgid "Set the line discipline of the terminal."
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:305
+#: build/C/man4/tty_ioctl.4:311
#, no-wrap
msgid "Pseudoterminal ioctls"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:306
+#: build/C/man4/tty_ioctl.4:312
#, no-wrap
msgid "B<TIOCPKT\tconst int *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:323
+#: build/C/man4/tty_ioctl.4:329
msgid ""
"Enable (when *I<argp> is nonzero) or disable packet mode. Can be applied to "
"the master side of a pseudoterminal only (and will return B<ENOTTY> "
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:331
+#: build/C/man4/tty_ioctl.4:337
#, no-wrap
msgid ""
"TIOCPKT_FLUSHREAD The read queue for the terminal is flushed.\n"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:338
+#: build/C/man4/tty_ioctl.4:344
msgid ""
"While this mode is in use, the presence of control status information to be "
"read from the master side may be detected by a B<select>(2) for exceptional "
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:345
+#: build/C/man4/tty_ioctl.4:351
msgid ""
"This mode is used by B<rlogin>(1) and B<rlogind>(8) to implement a "
"remote-echoed, locally B<^S>/B<^Q> flow-controlled remote login."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:352
+#: build/C/man4/tty_ioctl.4:358
msgid ""
"The BSD ioctls B<TIOCSTOP>, B<TIOCSTART>, B<TIOCUCNTL>, B<TIOCREMOTE> have "
"not been implemented under Linux."
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:352
+#: build/C/man4/tty_ioctl.4:358
#, no-wrap
msgid "Modem control"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:353
+#: build/C/man4/tty_ioctl.4:359
#, no-wrap
msgid "B<TIOCMGET\tint *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:356
+#: build/C/man4/tty_ioctl.4:362
msgid "get the status of modem bits."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:356
+#: build/C/man4/tty_ioctl.4:362
#, no-wrap
msgid "B<TIOCMSET\tconst int *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:359
+#: build/C/man4/tty_ioctl.4:365
msgid "set the status of modem bits."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:359
+#: build/C/man4/tty_ioctl.4:365
#, no-wrap
msgid "B<TIOCMBIC\tconst int *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:362
+#: build/C/man4/tty_ioctl.4:368
msgid "clear the indicated modem bits."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:362
+#: build/C/man4/tty_ioctl.4:368
#, no-wrap
msgid "B<TIOCMBIS\tconst int *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:365
+#: build/C/man4/tty_ioctl.4:371
msgid "set the indicated modem bits."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:367
+#: build/C/man4/tty_ioctl.4:373
msgid "Bits used by these four ioctls:"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:380
+#: build/C/man4/tty_ioctl.4:386
#, no-wrap
msgid ""
"TIOCM_LE DSR (data set ready/line enable)\n"
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:381
+#: build/C/man4/tty_ioctl.4:387
#, no-wrap
msgid "Marking a line as local"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:382
+#: build/C/man4/tty_ioctl.4:388
#, no-wrap
msgid "B<TIOCGSOFTCAR\tint *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:388
+#: build/C/man4/tty_ioctl.4:394
msgid ""
"(\"Get software carrier flag\") Get the status of the CLOCAL flag in the "
"c_cflag field of the I<termios> structure."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:388
+#: build/C/man4/tty_ioctl.4:394
#, no-wrap
msgid "B<TIOCSSOFTCAR\tconst int *>I<argp>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:396
+#: build/C/man4/tty_ioctl.4:402
msgid ""
"(\"Set software carrier flag\") Set the CLOCAL flag in the I<termios> "
"structure when *I<argp> is nonzero, and clear it otherwise."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:411
+#: build/C/man4/tty_ioctl.4:417
msgid ""
"If the B<CLOCAL> flag for a line is off, the hardware carrier detect (DCD) "
"signal is significant, and an B<open>(2) of the corresponding terminal will "
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:411
+#: build/C/man4/tty_ioctl.4:417
#, no-wrap
msgid "Linux-specific"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:416
+#: build/C/man4/tty_ioctl.4:422
msgid "For the B<TIOCLINUX> ioctl, see B<console_ioctl>(4)."
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:416
+#: build/C/man4/tty_ioctl.4:422
#, no-wrap
msgid "Kernel debugging"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:418
+#: build/C/man4/tty_ioctl.4:424
msgid "B<#include E<lt>linux/tty.hE<gt>>"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:418
+#: build/C/man4/tty_ioctl.4:424
#, no-wrap
msgid "B<TIOCTTYGSTRUCT\tstruct tty_struct *>I<argp>"
msgstr ""
#. .BI "TIOCSSERIAL const struct serial_struct *" argp
#. Set serial info.
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:434
+#: build/C/man4/tty_ioctl.4:440
msgid "Get the I<tty_struct> corresponding to I<fd>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:441
+#: build/C/man4/tty_ioctl.4:447
msgid ""
-"The B<ioctl>(2) system call returns 0 on success. On error it returns -1 "
+"The B<ioctl>(2) system call returns 0 on success. On error, it returns -1 "
"and sets I<errno> appropriately."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:445
+#: build/C/man4/tty_ioctl.4:451
msgid "Invalid command parameter."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:445
+#: build/C/man4/tty_ioctl.4:451
#, no-wrap
msgid "B<ENOIOCTLCMD>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:448
+#: build/C/man4/tty_ioctl.4:454
msgid "Unknown command."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:452
+#: build/C/man4/tty_ioctl.4:458
msgid "Inappropriate I<fd>."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:452
+#: build/C/man4/tty_ioctl.4:458
#, no-wrap
msgid "B<EPERM>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:455
+#: build/C/man4/tty_ioctl.4:461
msgid "Insufficient permission."
msgstr ""
#. type: SH
-#: build/C/man4/tty_ioctl.4:455 build/C/man5/ttytype.5:57
+#: build/C/man4/tty_ioctl.4:461 build/C/man5/ttytype.5:57
#, no-wrap
msgid "EXAMPLE"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:457
+#: build/C/man4/tty_ioctl.4:463
msgid "Check the condition of DTR on the serial port."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:462
+#: build/C/man4/tty_ioctl.4:468
#, no-wrap
msgid ""
"#include E<lt>termios.hE<gt>\n"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:467
+#: build/C/man4/tty_ioctl.4:473
#, no-wrap
msgid ""
"int\n"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:476
+#: build/C/man4/tty_ioctl.4:482
#, no-wrap
msgid ""
" fd = open(\"/dev/ttyS0\", O_RDONLY);\n"
#. TIOCSERSETMULTI const struct serial_multiport_struct *
#. TIOCGSERIAL, TIOCSSERIAL (see above)
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:496
+#: build/C/man4/tty_ioctl.4:502
msgid "B<ioctl>(2), B<termios>(3), B<console_ioctl>(4), B<pty>(7)"
msgstr ""
msgid "TTYNAME"
msgstr ""
-#. type: TH
-#: build/C/man3/ttyname.3:27
-#, no-wrap
-msgid "2012-12-21"
-msgstr ""
-
#. type: Plain text
#: build/C/man3/ttyname.3:30
msgid "ttyname, ttyname_r - return name of a terminal"
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyname.3:76
+#: build/C/man3/ttyname.3:79
+msgid "The B<ttyname>() function is not thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/ttyname.3:83
+msgid "The B<ttyname_r>() function is thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/ttyname.3:85
msgid "4.2BSD, POSIX.1-2001."
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyname.3:80
+#: build/C/man3/ttyname.3:89
msgid "B<fstat>(2), B<ctermid>(3), B<isatty>(3)"
msgstr ""
msgid "TTYSLOT"
msgstr ""
-#. type: TH
-#: build/C/man3/ttyslot.3:28
-#, no-wrap
-msgid "2010-09-20"
-msgstr ""
-
#. type: Plain text
#: build/C/man3/ttyslot.3:31
msgid "ttyslot - find the slot of the current user's terminal in some file"
#. type: Plain text
#: build/C/man3/ttyslot.3:75
msgid ""
-"There used to be a file I</etc/ttys> in UNIX V6, that was read by the "
-"B<init>(8) program to find out what to do with each terminal line. Each "
+"There used to be a file I</etc/ttys> in UNIX\\ V6, that was read by the "
+"B<init>(1) program to find out what to do with each terminal line. Each "
"line consisted of three characters. The first character was either "
"\\(aq0\\(aq or \\(aq1\\(aq, where \\(aq0\\(aq meant \"ignore\". The second "
"character denoted the terminal: \\(aq8\\(aq stood for \"/dev/tty8\". The "
#. type: Plain text
#: build/C/man3/ttyslot.3:83
msgid ""
-"In UNIX V7 the format was changed: here the second character was the "
+"In UNIX\\ V7 the format was changed: here the second character was the "
"argument to B<getty>(8) indicating the sequence of line speeds to try "
"(\\(aq0\\(aq was: cycle through 300-1200-150-110 baud; \\(aq4\\(aq was for "
"the on-line console DECwriter) while the rest of the line contained the "
msgid ""
"If successful, this function returns the slot number. On error (e.g., if "
"none of the file descriptors 0, 1 or 2 is associated with a terminal that "
-"occurs in this data base) it returns 0 on UNIX V6 and V7 and BSD-like "
+"occurs in this data base) it returns 0 on UNIX\\ V6 and V7 and BSD-like "
"systems, but -1 on System V-like systems."
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:126
+#: build/C/man3/ttyslot.3:130
+msgid ""
+"The B<ttyslot>() function calls thread-unsafe function B<getttyent>(), so "
+"it is not thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/ttyslot.3:133
msgid ""
"SUSv1; marked as LEGACY in SUSv2; removed in POSIX.1-2001. SUSv2 requires "
"-1 on error."
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:131
+#: build/C/man3/ttyslot.3:138
msgid ""
"The utmp file is found various places on various systems, such as "
"I</etc/utmp>, I</var/adm/utmp>, I</var/run/utmp>."
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:140
+#: build/C/man3/ttyslot.3:147
msgid ""
"The glibc2 implementation of this function reads the file B<_PATH_TTYS>, "
"defined in I<E<lt>ttyent.hE<gt>> as \"/etc/ttys\". It returns 0 on error. "
#. .BR ttyslot ()
#. appeared in UNIX V7.
#. type: Plain text
-#: build/C/man3/ttyslot.3:146
+#: build/C/man3/ttyslot.3:153
msgid "Minix also has I<fttyslot>(I<fd>)."
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:150
+#: build/C/man3/ttyslot.3:157
msgid "B<getttyent>(3), B<ttyname>(3), B<utmp>(5)"
msgstr ""
msgid "UNLOCKPT"
msgstr ""
+#. type: TH
+#: build/C/man3/unlockpt.3:5
+#, no-wrap
+msgid "2013-12-09"
+msgstr ""
+
#. type: Plain text
#: build/C/man3/unlockpt.3:8
msgid "unlockpt - unlock a pseudoterminal master/slave pair"
msgstr ""
#. type: Plain text
-#: build/C/man3/unlockpt.3:54
+#: build/C/man3/unlockpt.3:51
+msgid "The B<unlockpt>() function is thread-safe."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/unlockpt.3:59
msgid "B<grantpt>(3), B<posix_openpt>(3), B<ptsname>(3), B<pts>(4), B<pty>(7)"
msgstr ""