msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2012-04-23 07:55+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
-#: build/C/man3/getpass.3:23
+#: build/C/man3/getpass.3:24
#, no-wrap
msgid "GETPASS"
msgstr ""
#. type: TH
-#: build/C/man3/getpass.3:23 build/C/man3/ttyslot.3:26
+#: build/C/man3/getpass.3:24 build/C/man3/openpty.3:34
#, no-wrap
-msgid "2010-09-20"
+msgid "2014-08-19"
msgstr ""
#. type: TH
-#: build/C/man3/getpass.3:23 build/C/man3/isatty.3:24 build/C/man4/pts.4:6 build/C/man7/pty.7:25 build/C/man5/securetty.5:25 build/C/man5/termcap.5:30 build/C/man7/termio.7:25 build/C/man3/termios.3:41 build/C/man4/tty.4:27 build/C/man4/tty_ioctl.4:5 build/C/man3/ttyname.3:26 build/C/man5/ttytype.5:28
+#: build/C/man3/getpass.3:24 build/C/man3/isatty.3:26 build/C/man4/pts.4:8 build/C/man7/pty.7:25 build/C/man5/securetty.5:26 build/C/man5/termcap.5:31 build/C/man7/termio.7:27 build/C/man3/termios.3:40 build/C/man4/tty.4:28 build/C/man4/tty_ioctl.4:8 build/C/man3/ttyname.3:27 build/C/man5/ttytype.5:29
#, no-wrap
msgid "Linux"
msgstr ""
#. type: TH
-#: build/C/man3/getpass.3:23 build/C/man3/getpt.3:5 build/C/man3/getttyent.3:4 build/C/man3/grantpt.3:4 build/C/man3/isatty.3:24 build/C/man3/openpty.3:32 build/C/man3/posix_openpt.3:25 build/C/man4/pts.4:6 build/C/man3/ptsname.3:6 build/C/man7/pty.7:25 build/C/man5/securetty.5:25 build/C/man3/tcgetsid.3:23 build/C/man5/termcap.5:30 build/C/man7/termio.7:25 build/C/man3/termios.3:41 build/C/man4/tty.4:27 build/C/man4/tty_ioctl.4:5 build/C/man3/ttyname.3:26 build/C/man3/ttyslot.3:26 build/C/man5/ttytype.5:28 build/C/man3/unlockpt.3:4
+#: build/C/man3/getpass.3:24 build/C/man3/getpt.3:7 build/C/man3/getttyent.3:7 build/C/man3/grantpt.3:5 build/C/man3/isatty.3:26 build/C/man3/openpty.3:34 build/C/man3/posix_openpt.3:25 build/C/man4/pts.4:8 build/C/man3/ptsname.3:7 build/C/man7/pty.7:25 build/C/man5/securetty.5:26 build/C/man3/tcgetsid.3:25 build/C/man5/termcap.5:31 build/C/man7/termio.7:27 build/C/man3/termios.3:40 build/C/man4/tty.4:28 build/C/man4/tty_ioctl.4:8 build/C/man3/ttyname.3:27 build/C/man3/ttyslot.3:28 build/C/man5/ttytype.5:29 build/C/man3/unlockpt.3:5
#, no-wrap
msgid "Linux Programmer's Manual"
msgstr ""
#. type: SH
-#: build/C/man3/getpass.3:24 build/C/man3/getpt.3:6 build/C/man3/getttyent.3:5 build/C/man3/grantpt.3:5 build/C/man3/isatty.3:25 build/C/man3/openpty.3:33 build/C/man3/posix_openpt.3:26 build/C/man4/pts.4:7 build/C/man3/ptsname.3:7 build/C/man7/pty.7:26 build/C/man5/securetty.5:26 build/C/man3/tcgetsid.3:24 build/C/man5/termcap.5:31 build/C/man7/termio.7:26 build/C/man3/termios.3:42 build/C/man4/tty.4:28 build/C/man4/tty_ioctl.4:6 build/C/man3/ttyname.3:27 build/C/man3/ttyslot.3:27 build/C/man5/ttytype.5:29 build/C/man3/unlockpt.3:5
+#: build/C/man3/getpass.3:25 build/C/man3/getpt.3:8 build/C/man3/getttyent.3:8 build/C/man3/grantpt.3:6 build/C/man3/isatty.3:27 build/C/man3/openpty.3:35 build/C/man3/posix_openpt.3:26 build/C/man4/pts.4:9 build/C/man3/ptsname.3:8 build/C/man7/pty.7:26 build/C/man5/securetty.5:27 build/C/man3/tcgetsid.3:26 build/C/man5/termcap.5:32 build/C/man7/termio.7:28 build/C/man3/termios.3:41 build/C/man4/tty.4:29 build/C/man4/tty_ioctl.4:9 build/C/man3/ttyname.3:28 build/C/man3/ttyslot.3:29 build/C/man5/ttytype.5:30 build/C/man3/unlockpt.3:6
#, no-wrap
msgid "NAME"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:26
+#: build/C/man3/getpass.3:27
msgid "getpass - get a password"
msgstr ""
#. type: SH
-#: build/C/man3/getpass.3:26 build/C/man3/getpt.3:8 build/C/man3/getttyent.3:7 build/C/man3/grantpt.3:7 build/C/man3/isatty.3:27 build/C/man3/openpty.3:35 build/C/man3/posix_openpt.3:28 build/C/man3/ptsname.3:9 build/C/man3/tcgetsid.3:26 build/C/man3/termios.3:46 build/C/man4/tty_ioctl.4:8 build/C/man3/ttyname.3:29 build/C/man3/ttyslot.3:29 build/C/man3/unlockpt.3:7
+#: build/C/man3/getpass.3:27 build/C/man3/getpt.3:10 build/C/man3/getttyent.3:10 build/C/man3/grantpt.3:8 build/C/man3/isatty.3:29 build/C/man3/openpty.3:37 build/C/man3/posix_openpt.3:28 build/C/man3/ptsname.3:10 build/C/man3/tcgetsid.3:28 build/C/man3/termios.3:45 build/C/man4/tty_ioctl.4:11 build/C/man3/ttyname.3:30 build/C/man3/ttyslot.3:31 build/C/man3/unlockpt.3:8
#, no-wrap
msgid "SYNOPSIS"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:28
+#: build/C/man3/getpass.3:29
msgid "B<#include E<lt>unistd.hE<gt>>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:30
-msgid "B<char *getpass( const char *>I<prompt>B<);>"
+#: build/C/man3/getpass.3:31
+msgid "B<char *getpass(const char *>I<prompt>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:34 build/C/man3/posix_openpt.3:39 build/C/man3/termios.3:81 build/C/man3/ttyslot.3:39
+#: build/C/man3/getpass.3:35 build/C/man3/posix_openpt.3:39 build/C/man3/termios.3:80 build/C/man3/ttyslot.3:41
msgid "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:37
+#: build/C/man3/getpass.3:38
msgid "B<getpass>():"
msgstr ""
#. type: TP
-#: build/C/man3/getpass.3:40
+#: build/C/man3/getpass.3:41
#, no-wrap
msgid "Since glibc 2.2.2:"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:47
+#: build/C/man3/getpass.3:48
#, no-wrap
msgid ""
"_BSD_SOURCE ||\n"
" !(_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:50
-msgid "Before glibc 2.2.2: none"
+#: build/C/man3/getpass.3:52
+msgid "none"
msgstr ""
#. type: SH
-#: build/C/man3/getpass.3:53 build/C/man3/getpt.3:15 build/C/man3/getttyent.3:17 build/C/man3/grantpt.3:15 build/C/man3/isatty.3:33 build/C/man3/openpty.3:53 build/C/man3/posix_openpt.3:45 build/C/man4/pts.4:9 build/C/man3/ptsname.3:23 build/C/man7/pty.7:28 build/C/man5/securetty.5:28 build/C/man3/tcgetsid.3:32 build/C/man5/termcap.5:33 build/C/man7/termio.7:28 build/C/man3/termios.3:86 build/C/man4/tty.4:30 build/C/man4/tty_ioctl.4:12 build/C/man3/ttyname.3:37 build/C/man3/ttyslot.3:49 build/C/man5/ttytype.5:31 build/C/man3/unlockpt.3:15
+#: 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:56
-msgid "This function is obsolete. Do not use it."
+#: 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 "
+"B<termios>(3)."
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:67
+#: 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:67 build/C/man3/getpt.3:26 build/C/man3/grantpt.3:30 build/C/man3/isatty.3:39 build/C/man3/openpty.3:111 build/C/man3/posix_openpt.3:62 build/C/man3/ptsname.3:41 build/C/man3/tcgetsid.3:40 build/C/man3/termios.3:906 build/C/man4/tty_ioctl.4:431 build/C/man3/ttyname.3:51 build/C/man3/ttyslot.3:115 build/C/man3/unlockpt.3:24
+#: 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:78
+#: 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:78 build/C/man3/getpt.3:33 build/C/man3/grantpt.3:37 build/C/man3/isatty.3:47 build/C/man3/openpty.3:128 build/C/man3/posix_openpt.3:70 build/C/man3/ptsname.3:58 build/C/man3/tcgetsid.3:50 build/C/man4/tty_ioctl.4:438 build/C/man3/ttyname.3:61 build/C/man3/unlockpt.3:31
+#: 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:80
+#: build/C/man3/getpass.3:87
msgid "The function may fail if"
msgstr ""
#. type: TP
-#: build/C/man3/getpass.3:80
+#: build/C/man3/getpass.3:87
#, no-wrap
msgid "B<ENXIO>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:83
+#: build/C/man3/getpass.3:90
msgid "The process does not have a controlling terminal."
msgstr ""
#. type: SH
-#: build/C/man3/getpass.3:83 build/C/man4/pts.4:52 build/C/man7/pty.7:124 build/C/man5/securetty.5:40 build/C/man4/tty.4:63 build/C/man5/ttytype.5:50
+#: 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:89
+#: build/C/man3/getpass.3:96
msgid "I</dev/tty>"
msgstr ""
#. type: SH
-#: build/C/man3/getpass.3:89 build/C/man3/getpt.3:40 build/C/man3/getttyent.3:69 build/C/man3/grantpt.3:54 build/C/man3/isatty.3:60 build/C/man3/openpty.3:148 build/C/man3/posix_openpt.3:77 build/C/man3/ptsname.3:78 build/C/man3/tcgetsid.3:63 build/C/man3/termios.3:932 build/C/man3/ttyname.3:73 build/C/man3/ttyslot.3:121 build/C/man3/unlockpt.3:45
+#: 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:92
-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:92 build/C/man3/getttyent.3:72 build/C/man3/grantpt.3:56 build/C/man3/openpty.3:151 build/C/man3/posix_openpt.3:82 build/C/man4/pts.4:55 build/C/man7/pty.7:136 build/C/man3/tcgetsid.3:65 build/C/man3/termios.3:950 build/C/man3/ttyslot.3:124
+#: 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:113
-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:122
+#: 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:144
+#: 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:144 build/C/man3/openpty.3:166
+#: 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:147
+#: 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:147 build/C/man3/getpt.3:46 build/C/man3/getttyent.3:76 build/C/man3/grantpt.3:62 build/C/man3/isatty.3:62 build/C/man3/openpty.3:176 build/C/man3/posix_openpt.3:97 build/C/man4/pts.4:67 build/C/man3/ptsname.3:91 build/C/man7/pty.7:152 build/C/man5/securetty.5:42 build/C/man3/tcgetsid.3:71 build/C/man5/termcap.5:469 build/C/man7/termio.7:57 build/C/man3/termios.3:977 build/C/man4/tty.4:65 build/C/man4/tty_ioctl.4:474 build/C/man3/ttyname.3:75 build/C/man3/ttyslot.3:144 build/C/man5/ttytype.5:64 build/C/man3/unlockpt.3:47
+#: 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:149
+#: build/C/man3/getpass.3:161
msgid "B<crypt>(3)"
msgstr ""
#. type: SH
-#: build/C/man3/getpass.3:149 build/C/man3/getpt.3:53 build/C/man3/getttyent.3:79 build/C/man3/grantpt.3:69 build/C/man3/isatty.3:65 build/C/man3/openpty.3:180 build/C/man3/posix_openpt.3:105 build/C/man4/pts.4:73 build/C/man3/ptsname.3:98 build/C/man7/pty.7:161 build/C/man5/securetty.5:45 build/C/man3/tcgetsid.3:73 build/C/man5/termcap.5:473 build/C/man7/termio.7:60 build/C/man3/termios.3:982 build/C/man4/tty.4:75 build/C/man4/tty_ioctl.4:493 build/C/man3/ttyname.3:78 build/C/man3/ttyslot.3:148 build/C/man5/ttytype.5:69 build/C/man3/unlockpt.3:53
+#: 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:156 build/C/man3/getpt.3:60 build/C/man3/getttyent.3:86 build/C/man3/grantpt.3:76 build/C/man3/isatty.3:72 build/C/man3/openpty.3:187 build/C/man3/posix_openpt.3:112 build/C/man4/pts.4:80 build/C/man3/ptsname.3:105 build/C/man7/pty.7:168 build/C/man5/securetty.5:52 build/C/man3/tcgetsid.3:80 build/C/man5/termcap.5:480 build/C/man7/termio.7:67 build/C/man3/termios.3:989 build/C/man4/tty.4:82 build/C/man4/tty_ioctl.4:500 build/C/man3/ttyname.3:85 build/C/man3/ttyslot.3:155 build/C/man5/ttytype.5:76 build/C/man3/unlockpt.3:60
+#: 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.38 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
-#: build/C/man3/getpt.3:5
+#: build/C/man3/getpt.3:7
#, no-wrap
msgid "GETPT"
msgstr ""
#. type: TH
-#: build/C/man3/getpt.3:5 build/C/man3/tcgetsid.3:23
+#: build/C/man3/getpt.3:7
#, no-wrap
-msgid "2010-09-10"
+msgid "2014-04-01"
msgstr ""
#. type: TH
-#: build/C/man3/getpt.3:5 build/C/man3/getttyent.3:4 build/C/man3/grantpt.3:4 build/C/man3/openpty.3:32 build/C/man3/tcgetsid.3:23 build/C/man3/ttyslot.3:26
+#: build/C/man3/getpt.3:7 build/C/man3/getttyent.3:7 build/C/man3/grantpt.3:5 build/C/man3/openpty.3:34 build/C/man3/tcgetsid.3:25 build/C/man3/ttyslot.3:28
#, no-wrap
msgid "GNU"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpt.3:8
+#: build/C/man3/getpt.3:10
msgid "getpt - open the pseudoterminal master (PTM)"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpt.3:12
+#: build/C/man3/getpt.3:14
#, no-wrap
msgid ""
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpt.3:14
+#: build/C/man3/getpt.3:16
#, no-wrap
msgid "B<int getpt(void);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpt.3:19
+#: build/C/man3/getpt.3:21
msgid ""
"B<getpt>() opens a pseudoterminal master and returns its file descriptor. "
"It is equivalent to"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpt.3:22
+#: build/C/man3/getpt.3:24
#, no-wrap
msgid " open(/dev/ptmx, O_RDWR | O_NOCTTY);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpt.3:26
+#: build/C/man3/getpt.3:28
msgid ""
"on Linux systems, though the pseudoterminal master is located elsewhere on "
"some systems that use GNU Libc."
msgstr ""
#. type: Plain text
-#: build/C/man3/getpt.3:33
+#: build/C/man3/getpt.3:35
msgid ""
"B<getpt>() returns an open file descriptor upon successful completion. "
"Otherwise, it returns -1 and sets I<errno> to indicate the error."
msgstr ""
#. type: Plain text
-#: build/C/man3/getpt.3:37
+#: build/C/man3/getpt.3:39
msgid "B<getpt>() can fail with various errors described in B<open>(2)."
msgstr ""
#. type: SH
-#: build/C/man3/getpt.3:37 build/C/man3/grantpt.3:51 build/C/man3/posix_openpt.3:73 build/C/man3/ptsname.3:75 build/C/man3/tcgetsid.3:60 build/C/man3/unlockpt.3:42
+#: 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 ""
#. type: Plain text
-#: build/C/man3/getpt.3:40
+#: build/C/man3/getpt.3:42
msgid "B<getpt>() is provided in glibc since version 2.1."
msgstr ""
#. type: Plain text
-#: build/C/man3/getpt.3:46
-msgid "B<getpt>() is glibc-specific; use B<posix_openpt>(3) instead."
+#: 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: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:4
+#: build/C/man3/getttyent.3:7
#, no-wrap
msgid "GETTTYENT"
msgstr ""
#. type: TH
-#: build/C/man3/getttyent.3:4
+#: 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
-#: build/C/man3/getttyent.3:7
+#: build/C/man3/getttyent.3:10
msgid "getttyent, getttynam, setttyent, endttyent - get ttys file entry"
msgstr ""
#. type: Plain text
-#: build/C/man3/getttyent.3:9
+#: build/C/man3/getttyent.3:12
msgid "B<#include E<lt>ttyent.hE<gt>>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getttyent.3:11
+#: build/C/man3/getttyent.3:14
msgid "B<struct ttyent *getttyent(void);>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getttyent.3:13
+#: build/C/man3/getttyent.3:16
msgid "B<struct ttyent *getttynam(const char *>I<name>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getttyent.3:15
+#: build/C/man3/getttyent.3:18
msgid "B<int setttyent(void);>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getttyent.3:17
+#: build/C/man3/getttyent.3:20
msgid "B<int endttyent(void);>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getttyent.3:22
+#: build/C/man3/getttyent.3:25
msgid ""
"These functions provide an interface to the file B<_PATH_TTYS> (e.g., "
"I</etc/ttys>)."
msgstr ""
#. type: Plain text
-#: build/C/man3/getttyent.3:26
+#: build/C/man3/getttyent.3:29
msgid "The function B<setttyent>() opens the file or rewinds it if already open."
msgstr ""
#. type: Plain text
-#: build/C/man3/getttyent.3:30
+#: build/C/man3/getttyent.3:33
msgid "The function B<endttyent>() closes the file."
msgstr ""
#. type: Plain text
-#: build/C/man3/getttyent.3:37
+#: build/C/man3/getttyent.3:40
msgid ""
-"The function B<getttynam>() searches for a given ttyname in the file. It "
-"returns a pointer to a I<ttyent> structure (description below)."
+"The function B<getttynam>() searches for a given terminal name in the "
+"file. It returns a pointer to a I<ttyent> structure (description below)."
msgstr ""
#. type: Plain text
-#: build/C/man3/getttyent.3:47
+#: build/C/man3/getttyent.3:50
msgid ""
"The function B<getttyent>() opens the file B<_PATH_TTYS> (if necessary) and "
"returns the first entry. If the file is already open, the next entry. The "
msgstr ""
#. type: Plain text
-#: build/C/man3/getttyent.3:58
+#: build/C/man3/getttyent.3:61
#, no-wrap
msgid ""
"struct ttyent {\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getttyent.3:63
+#: build/C/man3/getttyent.3:66
msgid "I<ty_status> can be:"
msgstr ""
#. type: Plain text
-#: build/C/man3/getttyent.3:68
+#: build/C/man3/getttyent.3:71
#, no-wrap
msgid ""
"#define TTY_ON 0x01 /* enable logins (start ty_getty program) */\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getttyent.3:72
+#: 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:76
+#: 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:79
+#: build/C/man3/getttyent.3:99
msgid "B<ttyname>(3), B<ttyslot>(3)"
msgstr ""
#. type: TH
-#: build/C/man3/grantpt.3:4
+#: build/C/man3/grantpt.3:5
#, no-wrap
msgid "GRANTPT"
msgstr ""
#. type: TH
-#: build/C/man3/grantpt.3:4 build/C/man3/unlockpt.3:4
+#: build/C/man3/grantpt.3:5
#, no-wrap
msgid "2008-06-14"
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:7
+#: build/C/man3/grantpt.3:8
msgid "grantpt - grant access to the slave pseudoterminal"
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:10 build/C/man3/ptsname.3:12 build/C/man3/unlockpt.3:10
+#: build/C/man3/grantpt.3:11 build/C/man3/ptsname.3:13 build/C/man3/unlockpt.3:11
#, no-wrap
msgid "B<#define _XOPEN_SOURCE> /* See feature_test_macros(7) */\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:12 build/C/man3/ptsname.3:14 build/C/man3/ptsname.3:20 build/C/man3/unlockpt.3:12
+#: build/C/man3/grantpt.3:13 build/C/man3/ptsname.3:15 build/C/man3/ptsname.3:21 build/C/man3/unlockpt.3:13
#, no-wrap
msgid "B<#include E<lt>stdlib.hE<gt>>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:14
+#: build/C/man3/grantpt.3:15
#, no-wrap
msgid "B<int grantpt(int >I<fd>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:24
+#: 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:30
+#: 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:37
+#: 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:38
+#: build/C/man3/grantpt.3:40
#, no-wrap
msgid "B<EACCES>"
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:41
+#: build/C/man3/grantpt.3:43
msgid "The corresponding slave pseudoterminal could not be accessed."
msgstr ""
#. type: TP
-#: build/C/man3/grantpt.3:41 build/C/man3/isatty.3:48 build/C/man3/tcgetsid.3:51 build/C/man3/ttyname.3:63 build/C/man3/unlockpt.3:32
+#: 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:46
+#: 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:46 build/C/man3/isatty.3:52 build/C/man3/ptsname.3:59 build/C/man4/tty_ioctl.4:439 build/C/man3/unlockpt.3:37
+#: 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:51
+#: 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:54
+#: 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:56 build/C/man3/tcgetsid.3:65 build/C/man3/unlockpt.3:47
+#: 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:62
+#: 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:69
+#: 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)"
msgstr ""
#. type: TH
-#: build/C/man3/isatty.3:24
+#: build/C/man3/isatty.3:26
#, no-wrap
msgid "ISATTY"
msgstr ""
#. type: TH
-#: build/C/man3/isatty.3:24
+#: build/C/man3/isatty.3:26
#, no-wrap
-msgid "2008-12-03"
+msgid "2014-01-27"
msgstr ""
#. type: Plain text
-#: build/C/man3/isatty.3:27
+#: build/C/man3/isatty.3:29
msgid "isatty - test whether a file descriptor refers to a terminal"
msgstr ""
#. type: Plain text
-#: build/C/man3/isatty.3:30 build/C/man3/termios.3:51 build/C/man3/ttyname.3:32
+#: build/C/man3/isatty.3:32 build/C/man3/termios.3:50 build/C/man3/ttyname.3:33
#, no-wrap
msgid "B<#include E<lt>unistd.hE<gt>>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/isatty.3:32
+#: build/C/man3/isatty.3:34
#, no-wrap
msgid "B<int isatty(int >I<fd>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/isatty.3:39
+#: build/C/man3/isatty.3:41
msgid ""
"The B<isatty>() function tests whether I<fd> is an open file descriptor "
"referring to a terminal."
msgstr ""
#. type: Plain text
-#: build/C/man3/isatty.3:47
+#: build/C/man3/isatty.3:49
msgid ""
"B<isatty>() returns 1 if I<fd> is an open file descriptor referring to a "
"terminal; otherwise 0 is returned, and I<errno> is set to indicate the "
msgstr ""
#. type: Plain text
-#: build/C/man3/isatty.3:52 build/C/man3/tcgetsid.3:55
+#: build/C/man3/isatty.3:54 build/C/man3/tcgetsid.3:57
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:60
+#: build/C/man3/isatty.3:62
msgid ""
"I<fd> refers to a file other than a terminal. POSIX.1-2001 specifies the "
"error B<ENOTTY> for this case."
msgstr ""
#. type: Plain text
-#: build/C/man3/isatty.3:62
+#: 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:65
+#: build/C/man3/isatty.3:72
msgid "B<fstat>(2), B<ttyname>(3)"
msgstr ""
#. type: TH
-#: build/C/man3/openpty.3:32
+#: build/C/man3/openpty.3:34
#, no-wrap
msgid "OPENPTY"
msgstr ""
-#. type: TH
-#: build/C/man3/openpty.3:32
-#, no-wrap
-msgid "2010-06-13"
-msgstr ""
-
#. type: Plain text
-#: build/C/man3/openpty.3:35
-msgid "openpty, login_tty, forkpty - tty utility functions"
+#: build/C/man3/openpty.3:37
+msgid "openpty, login_tty, forkpty - terminal utility functions"
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:38
+#: build/C/man3/openpty.3:40
#, no-wrap
msgid "B<#include E<lt>pty.hE<gt>>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:42
+#: build/C/man3/openpty.3:44
#, no-wrap
msgid ""
"B<int openpty(int *>I<amaster>B<, int *>I<aslave>B<, char *>I<name>B<,>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:46
+#: build/C/man3/openpty.3:48
#, no-wrap
msgid ""
"B<pid_t forkpty(int *>I<amaster>B<, char *>I<name>B<,>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:48
+#: build/C/man3/openpty.3:50
#, no-wrap
msgid "B<#include E<lt>utmp.hE<gt>>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:50
+#: build/C/man3/openpty.3:52
#, no-wrap
msgid "B<int login_tty(int >I<fd>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:52
+#: build/C/man3/openpty.3:54
#, no-wrap
msgid "Link with I<-lutil>.\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:74
+#: build/C/man3/openpty.3:76
msgid ""
"The B<openpty>() function finds an available pseudoterminal and returns "
"file descriptors for the master and slave in I<amaster> and I<aslave>. If "
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:89
+#: build/C/man3/openpty.3:91
msgid ""
-"The B<login_tty>() function prepares for a login on the tty I<fd> (which "
-"may be a real tty device, or the slave of a pseudoterminal as returned by "
-"B<openpty>()) by creating a new session, making I<fd> the controlling "
-"terminal for the calling process, setting I<fd> to be the standard input, "
-"output, and error streams of the current process, and closing I<fd>."
+"The B<login_tty>() function prepares for a login on the terminal I<fd> "
+"(which may be a real terminal device, or the slave of a pseudoterminal as "
+"returned by B<openpty>()) by creating a new session, making I<fd> the "
+"controlling terminal for the calling process, setting I<fd> to be the "
+"standard input, output, and error streams of the current process, and "
+"closing I<fd>."
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:111
+#: build/C/man3/openpty.3:113
msgid ""
"The B<forkpty>() function combines B<openpty>(), B<fork>(2), and "
"B<login_tty>() to create a new process operating in a pseudoterminal. The "
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:128
+#: build/C/man3/openpty.3:130
msgid ""
"If a call to B<openpty>(), B<login_tty>(), or B<forkpty>() is not "
"successful, -1 is returned and I<errno> is set to indicate the error. "
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:131
+#: build/C/man3/openpty.3:133
msgid "B<openpty>() will fail if:"
msgstr ""
#. type: TP
-#: build/C/man3/openpty.3:131
+#: build/C/man3/openpty.3:133
#, no-wrap
msgid "B<ENOENT>"
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:134
-msgid "There are no available ttys."
+#: build/C/man3/openpty.3:136
+msgid "There are no available terminals."
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:141
+#: build/C/man3/openpty.3:143
msgid ""
"B<login_tty>() will fail if B<ioctl>(2) fails to set I<fd> to the "
"controlling terminal of the calling process."
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:148
+#: build/C/man3/openpty.3:150
msgid "B<forkpty>() will fail if either B<openpty>() or B<fork>(2) fails."
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:151
+#: 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
-#: build/C/man3/openpty.3:159
+#: build/C/man3/openpty.3:161
msgid ""
"The B<const> modifiers were added to the structure pointer arguments of "
"B<openpty>() and B<forkpty>() in glibc 2.8."
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:166
+#: build/C/man3/openpty.3:168
msgid ""
"In versions of glibc before 2.0.92, B<openpty>() returns file descriptors "
"for a BSD pseudoterminal pair; since glibc 2.0.92, it first attempts to open "
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:176
+#: build/C/man3/openpty.3:178
msgid ""
"Nobody knows how much space should be reserved for I<name>. So, calling "
"B<openpty>() or B<forkpty>() with non-NULL I<name> may not be secure."
msgstr ""
#. type: Plain text
-#: build/C/man3/openpty.3:180
+#: build/C/man3/openpty.3:182
msgid "B<fork>(2), B<ttyname>(3), B<pty>(7)"
msgstr ""
#. type: TH
#: build/C/man3/posix_openpt.3:25
#, no-wrap
-msgid "2010-10-04"
+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:87
+#: build/C/man3/posix_openpt.3:94
msgid ""
-"This function is a recent invention in POSIX. Some UNIX implementations "
-"that support System V (aka UNIX 98) pseudoterminals don't have this "
-"function, but it is easy to implement:"
+"The B<posix_openpt>() function is a recent invention in POSIX. Some UNIX "
+"implementations that support System V (aka UNIX 98) pseudoterminals don't "
+"have this function, but it is easy to implement:"
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_openpt.3:95
+#: build/C/man3/posix_openpt.3:102
#, no-wrap
msgid ""
"int\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_openpt.3:105
+#: 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 "
+"obtained using B<ptsname>(3). The slave device pathname exists only as long "
+"as the master device is open."
+msgstr ""
+
+#. type: Plain text
+#: 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: TH
-#: build/C/man4/pts.4:6
+#: build/C/man4/pts.4:8
#, no-wrap
msgid "PTS"
msgstr ""
#. type: TH
-#: build/C/man4/pts.4:6
+#: build/C/man4/pts.4:8
#, no-wrap
msgid "2002-10-09"
msgstr ""
#. type: Plain text
-#: build/C/man4/pts.4:9
+#: build/C/man4/pts.4:11
msgid "ptmx, pts - pseudoterminal master and slave"
msgstr ""
#. type: Plain text
-#: build/C/man4/pts.4:13
+#: 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:23
+#: 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:29
+#: 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:32
+#: 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:35
+#: 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:46
+#: 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:52
+#: build/C/man4/pts.4:59
msgid ""
-"Psuedoterminals can also be used to send input to programs that normally "
+"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:55
+#: build/C/man4/pts.4:62
msgid "I</dev/ptmx>, I</dev/pts/*>"
msgstr ""
#. type: Plain text
-#: build/C/man4/pts.4:61
+#: 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:67
+#: 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:73
+#: build/C/man4/pts.4:80
msgid "B<getpt>(3), B<grantpt>(3), B<ptsname>(3), B<unlockpt>(3), B<pty>(7)"
msgstr ""
#. type: TH
-#: build/C/man3/ptsname.3:6
+#: build/C/man3/ptsname.3:7
#, no-wrap
msgid "PTSNAME"
msgstr ""
#. type: TH
-#: build/C/man3/ptsname.3:6
+#: 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
-#: build/C/man3/ptsname.3:9
+#: build/C/man3/ptsname.3:10
msgid "ptsname, ptsname_r - get the name of the slave pseudoterminal"
msgstr ""
#. type: Plain text
-#: build/C/man3/ptsname.3:16
+#: build/C/man3/ptsname.3:17
#, no-wrap
msgid "B<char *ptsname(int >I<fd>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/ptsname.3:18
+#: build/C/man3/ptsname.3:19
#, no-wrap
msgid "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/ptsname.3:22
+#: build/C/man3/ptsname.3:23
#, no-wrap
msgid "B<int ptsname_r(int >I<fd>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/ptsname.3:29
+#: build/C/man3/ptsname.3:30
msgid ""
"The B<ptsname>() function returns the name of the slave pseudoterminal "
"device corresponding to the master referred to by I<fd>."
msgstr ""
#. type: Plain text
-#: build/C/man3/ptsname.3:41
+#: build/C/man3/ptsname.3:42
msgid ""
"The B<ptsname_r>() function is the reentrant equivalent of B<ptsname>(). "
"It returns the name of the slave pseudoterminal device as a null-terminated "
msgstr ""
#. type: Plain text
-#: build/C/man3/ptsname.3:48
+#: build/C/man3/ptsname.3:49
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
#. result -- MTK, Dec 04
#. type: Plain text
-#: build/C/man3/ptsname.3:58
+#: build/C/man3/ptsname.3:59
msgid ""
"On success, B<ptsname_r>() returns 0. On failure, a nonzero value is "
"returned and I<errno> is set to indicate the error."
msgstr ""
#. type: Plain text
-#: build/C/man3/ptsname.3:65
+#: build/C/man3/ptsname.3:66
msgid "(B<ptsname_r>() only) I<buf> is NULL."
msgstr ""
#. type: TP
-#: build/C/man3/ptsname.3:65 build/C/man3/tcgetsid.3:55 build/C/man4/tty_ioctl.4:445 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:69
+#: build/C/man3/ptsname.3:70
msgid "I<fd> does not refer to a pseudoterminal master device."
msgstr ""
#. type: TP
-#: build/C/man3/ptsname.3:69 build/C/man3/ttyname.3:69
+#: build/C/man3/ptsname.3:70 build/C/man3/ttyname.3:69
#, no-wrap
msgid "B<ERANGE>"
msgstr ""
#. type: Plain text
-#: build/C/man3/ptsname.3:75
+#: build/C/man3/ptsname.3:76
msgid "(B<ptsname_r>() only) I<buf> is too small."
msgstr ""
#. type: Plain text
-#: build/C/man3/ptsname.3:78
+#: build/C/man3/ptsname.3:79
msgid "B<ptsname>() is provided in glibc since version 2.1."
msgstr ""
#. type: Plain text
-#: build/C/man3/ptsname.3:83
+#: 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:91
+#: 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:98
+#: 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)"
"signal (B<SIGINT>) to be generated for the foreground process group that is "
"connected to the slave. Conversely, anything that is written to the slave "
"end of the pseudoterminal can be read by the process that is connected to "
-"the master end. Psuedoterminals are used by applications such as network "
+"the master end. Pseudoterminals are used by applications such as network "
"login services (B<ssh>(1), B<rlogin>(1), B<telnet>(1)), terminal emulators, "
"B<script>(1), B<screen>(1), and B<expect>(1)."
msgstr ""
msgstr ""
#. type: TH
-#: build/C/man5/securetty.5:25
+#: build/C/man5/securetty.5:26
#, no-wrap
msgid "SECURETTY"
msgstr ""
#. type: TH
-#: build/C/man5/securetty.5:25
+#: build/C/man5/securetty.5:26
#, no-wrap
msgid "1992-12-29"
msgstr ""
#. type: Plain text
-#: build/C/man5/securetty.5:28
-msgid "securetty - file which lists ttys from which root can log in"
+#: build/C/man5/securetty.5:29
+msgid "securetty - file which lists terminals from which root can log in"
msgstr ""
#. type: Plain text
-#: build/C/man5/securetty.5:40
+#: build/C/man5/securetty.5:41
msgid ""
"The file I</etc/securetty> is used by (some versions of) B<login>(1). The "
-"file contains the device names of tty lines (one per line, without leading "
-"I</dev/>) on which root is allowed to login. See B<login.defs>(5) if you "
-"use the shadow suite."
+"file contains the device names of terminal lines (one per line, without "
+"leading I</dev/>) on which root is allowed to login. See B<login.defs>(5) "
+"if you use the shadow suite."
msgstr ""
#. type: Plain text
-#: build/C/man5/securetty.5:42
+#: build/C/man5/securetty.5:43
msgid "I</etc/securetty>"
msgstr ""
#. type: Plain text
-#: build/C/man5/securetty.5:45
+#: build/C/man5/securetty.5:46
msgid "B<login>(1), B<login.defs>(5)"
msgstr ""
#. type: TH
-#: build/C/man3/tcgetsid.3:23
+#: build/C/man3/tcgetsid.3:25
#, no-wrap
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:26
+#: build/C/man3/tcgetsid.3:28
msgid "tcgetsid - get session ID"
msgstr ""
#. type: Plain text
-#: build/C/man3/tcgetsid.3:28
+#: build/C/man3/tcgetsid.3:30
msgid "B<#define _XOPEN_SOURCE 500> /* See feature_test_macros(7) */"
msgstr ""
#. type: Plain text
-#: build/C/man3/tcgetsid.3:30 build/C/man4/tty_ioctl.4:10
+#: build/C/man3/tcgetsid.3:32 build/C/man4/tty_ioctl.4:13
msgid "B<#include E<lt>termios.hE<gt>>"
msgstr ""
#. type: Plain text
-#: build/C/man3/tcgetsid.3:32
+#: build/C/man3/tcgetsid.3:34
msgid "B<pid_t tcgetsid(int >I<fd>B<);>"
msgstr ""
#. type: Plain text
-#: build/C/man3/tcgetsid.3:40
+#: build/C/man3/tcgetsid.3:42
msgid ""
"The function B<tcgetsid>() returns the session ID of the current session "
"that has the terminal associated to I<fd> as controlling terminal. This "
msgstr ""
#. type: Plain text
-#: build/C/man3/tcgetsid.3:50
+#: build/C/man3/tcgetsid.3:52
msgid ""
"When I<fd> refers to the controlling terminal of our session, the function "
"B<tcgetsid>() will return the session ID of this session. Otherwise, -1 is "
msgstr ""
#. type: Plain text
-#: build/C/man3/tcgetsid.3:60
+#: build/C/man3/tcgetsid.3:62
msgid ""
"The calling process does not have a controlling terminal, or it has one but "
"it is not described by I<fd>."
msgstr ""
#. type: Plain text
-#: build/C/man3/tcgetsid.3:63
+#: build/C/man3/tcgetsid.3:65
msgid "B<tcgetsid>() is provided in glibc since version 2.1."
msgstr ""
#. type: Plain text
-#: build/C/man3/tcgetsid.3:71
+#: 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:73
+#: build/C/man3/tcgetsid.3:80
msgid "B<getsid>(2)"
msgstr ""
#. type: TH
-#: build/C/man5/termcap.5:30
+#: build/C/man5/termcap.5:31
#, no-wrap
msgid "TERMCAP"
msgstr ""
#. type: TH
-#: build/C/man5/termcap.5:30
+#: build/C/man5/termcap.5:31
#, no-wrap
msgid "1996-10-21"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:33
+#: build/C/man5/termcap.5:34
msgid "termcap - terminal capability database"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:40
+#: build/C/man5/termcap.5:41
msgid ""
"The termcap database is an obsolete facility for describing the capabilities "
"of character-cell terminals and printers. It is retained only for "
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:53
+#: build/C/man5/termcap.5:54
msgid ""
"I</etc/termcap> is an ASCII file (the database master) that lists the "
"capabilities of many different types of terminals. Programs can read "
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:59
+#: build/C/man5/termcap.5:60
msgid ""
"Termcap entries must be defined on a single logical line, with \\(aq\\e\\(aq "
"used to suppress the newline. Fields are separated by \\(aq:\\(aq. The "
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:64
+#: build/C/man5/termcap.5:65
msgid ""
"The first subfield may (in BSD termcap entries from versions 4.3 and prior) "
"contain a short name consisting of two characters. This short name may "
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:77
+#: build/C/man5/termcap.5:78
msgid ""
"The second subfield (first, in the newer 4.4BSD format) contains the name "
"used by the environment variable B<TERM>. It should be spelled in lowercase "
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:80
+#: build/C/man5/termcap.5:81
msgid ""
"Subsequent fields contain the terminal capabilities; any continued "
"capability lines must be indented one tab from the left margin."
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:85
+#: build/C/man5/termcap.5:86
msgid ""
"Although there is no defined order, it is suggested to write first boolean, "
"then numeric, and then string capabilities, each sorted alphabetically "
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:88
+#: build/C/man5/termcap.5:89
#, no-wrap
msgid "Example for:\n"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:94
+#: build/C/man5/termcap.5:95
#, no-wrap
msgid ""
"Head line: vt|vt101|DEC VT 101 terminal in 80 character mode:\\e\n"
msgstr ""
#. type: SS
-#: build/C/man5/termcap.5:95
+#: build/C/man5/termcap.5:96
#, no-wrap
-msgid "Boolean Capabilities"
+msgid "Boolean capabilities"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:124
+#: build/C/man5/termcap.5:125
#, no-wrap
msgid ""
"5i\tPrinter will not echo on screen\n"
msgstr ""
#. type: SS
-#: build/C/man5/termcap.5:125
+#: build/C/man5/termcap.5:126
#, no-wrap
-msgid "Numeric Capabilities"
+msgid "Numeric capabilities"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:146
+#: build/C/man5/termcap.5:147
#, no-wrap
msgid ""
"co\tNumber of columns\n"
msgstr ""
#. type: SS
-#: build/C/man5/termcap.5:147
+#: build/C/man5/termcap.5:148
#, no-wrap
-msgid "String Capabilities"
+msgid "String capabilities"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:378
+#: build/C/man5/termcap.5:379
#, no-wrap
msgid ""
"!1\tshifted save key\n"
"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"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:381
+#: build/C/man5/termcap.5:382
msgid ""
"There are several ways of defining the control codes for string "
"capabilities:"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:384
+#: build/C/man5/termcap.5:385
msgid ""
"Every normal character represents itself, except \\(aq^\\(aq, \\(aq\\e\\(aq, "
"and \\(aq%\\(aq."
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:387
+#: build/C/man5/termcap.5:388
msgid "A B<^x> means Control-x. Control-A equals 1 decimal."
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:390
+#: build/C/man5/termcap.5:391
msgid "\\ex means a special code. x can be one of the following characters:"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:392
+#: build/C/man5/termcap.5:393
msgid "E Escape (27)"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:394
+#: build/C/man5/termcap.5:395
msgid "n Linefeed (10)"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:396
+#: build/C/man5/termcap.5:397
msgid "r Carriage return (13)"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:398
+#: build/C/man5/termcap.5:399
msgid "t Tabulation (9)"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:400
+#: build/C/man5/termcap.5:401
msgid "b Backspace (8)"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:402
+#: build/C/man5/termcap.5:403
msgid "f Form feed (12)"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:405
+#: build/C/man5/termcap.5:406
msgid "0 Null character. A \\exxx specifies the octal character xxx."
msgstr ""
#. type: IP
-#: build/C/man5/termcap.5:406
+#: build/C/man5/termcap.5:407
#, no-wrap
msgid "i"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:408
+#: build/C/man5/termcap.5:409
msgid "Increments parameters by one."
msgstr ""
#. type: IP
-#: build/C/man5/termcap.5:408
+#: build/C/man5/termcap.5:409
#, no-wrap
msgid "r"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:410
+#: build/C/man5/termcap.5:411
msgid "Single parameter capability"
msgstr ""
#. type: IP
-#: build/C/man5/termcap.5:410
+#: build/C/man5/termcap.5:411
#, no-wrap
msgid "+"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:412
+#: build/C/man5/termcap.5:413
msgid "Add value of next character to this parameter and do binary output"
msgstr ""
#. type: IP
-#: build/C/man5/termcap.5:412
+#: build/C/man5/termcap.5:413
#, no-wrap
msgid "2"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:414
+#: build/C/man5/termcap.5:415
msgid "Do ASCII output of this parameter with a field with of 2"
msgstr ""
#. type: IP
-#: build/C/man5/termcap.5:414
+#: build/C/man5/termcap.5:415
#, no-wrap
msgid "d"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:416
+#: build/C/man5/termcap.5:417
msgid "Do ASCII output of this parameter with a field with of 3"
msgstr ""
#. type: IP
-#: build/C/man5/termcap.5:416
+#: build/C/man5/termcap.5:417
#, no-wrap
msgid "%"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:418
+#: build/C/man5/termcap.5:419
msgid "Print a \\(aq%\\(aq"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:423
+#: build/C/man5/termcap.5:424
msgid ""
"If you use binary output, then you should avoid the null character "
"(\\(aq\\e0\\(aq) because it terminates the string. You should reset "
msgstr ""
#. type: IP
-#: build/C/man5/termcap.5:423
+#: build/C/man5/termcap.5:424
#, no-wrap
msgid "Warning:"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:426
+#: build/C/man5/termcap.5:427
msgid ""
"The above metacharacters for parameters may be wrong, they document Minix "
"termcap which may not be compatible with Linux termcap."
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:428
+#: build/C/man5/termcap.5:429
msgid "The block graphic characters can be specified by three string capabilities:"
msgstr ""
#. type: IP
-#: build/C/man5/termcap.5:428
+#: build/C/man5/termcap.5:429
#, no-wrap
msgid "as"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:430
+#: build/C/man5/termcap.5:431
msgid "start the alternative charset"
msgstr ""
#. type: IP
-#: build/C/man5/termcap.5:430
+#: build/C/man5/termcap.5:431
#, no-wrap
msgid "ae"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:432
+#: build/C/man5/termcap.5:433
msgid "end it"
msgstr ""
#. type: IP
-#: build/C/man5/termcap.5:432
+#: build/C/man5/termcap.5:433
#, no-wrap
msgid "ac"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:436
+#: build/C/man5/termcap.5:437
msgid ""
"pairs of characters. The first character is the name of the block graphic "
"symbol and the second characters is its definition."
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:438
+#: build/C/man5/termcap.5:439
msgid "The following names are available:"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:465
+#: build/C/man5/termcap.5:466
#, no-wrap
msgid ""
"+\tright arrow (E<gt>)\n"
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:469
+#: build/C/man5/termcap.5:470
msgid ""
"The values in parentheses are suggested defaults which are used by curses, "
"if the capabilities are missing."
msgstr ""
#. type: Plain text
-#: build/C/man5/termcap.5:473
+#: build/C/man5/termcap.5:474
msgid "B<ncurses>(3), B<termcap>(3), B<terminfo>(5)"
msgstr ""
#. type: TH
-#: build/C/man7/termio.7:25
+#: build/C/man7/termio.7:27
#, no-wrap
msgid "TERMIO"
msgstr ""
#. type: TH
-#: build/C/man7/termio.7:25
+#: build/C/man7/termio.7:27
#, no-wrap
-msgid "2006-12-28"
+msgid "2013-02-12"
msgstr ""
#. type: Plain text
-#: build/C/man7/termio.7:28
+#: build/C/man7/termio.7:30
msgid "termio - System V terminal driver interface"
msgstr ""
#. type: Plain text
-#: build/C/man7/termio.7:36
+#: build/C/man7/termio.7:38
msgid ""
"B<termio> is the name of the old System V terminal driver interface. This "
"interface defined a I<termio> structure used to store terminal settings, and "
msgstr ""
#. type: Plain text
-#: build/C/man7/termio.7:51
+#: build/C/man7/termio.7:53
msgid ""
"The B<termio> interface is now obsolete: POSIX.1-1990 standardized a "
"modified version of this interface, under the name B<termios>. The POSIX.1 "
msgstr ""
#. type: Plain text
-#: build/C/man7/termio.7:57
+#: build/C/man7/termio.7:59
msgid ""
"If you're looking for page called \"termio\", then you can probably find "
"most of the information that you seek in either B<termios>(3) or "
msgstr ""
#. type: Plain text
-#: build/C/man7/termio.7:60
-msgid "B<termios>(3), B<tty_ioctl>(4)"
+#: build/C/man7/termio.7:66
+msgid ""
+"B<reset>(1), B<setterm>(1), B<stty>(1), B<termios>(3), B<tty>(4), "
+"B<tty_ioctl>(4)"
msgstr ""
#. type: TH
-#: build/C/man3/termios.3:41
+#: build/C/man3/termios.3:40
#, no-wrap
msgid "TERMIOS"
msgstr ""
#. type: TH
-#: build/C/man3/termios.3:41
+#: build/C/man3/termios.3:40
#, no-wrap
-msgid "2011-09-08"
+msgid "2015-02-01"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:46
+#: build/C/man3/termios.3:45
msgid ""
"termios, tcgetattr, tcsetattr, tcsendbreak, tcdrain, tcflush, tcflow, "
"cfmakeraw, cfgetospeed, cfgetispeed, cfsetispeed, cfsetospeed, cfsetspeed - "
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:49
+#: build/C/man3/termios.3:48
#, no-wrap
msgid "B<#include E<lt>termios.hE<gt>>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:53
+#: build/C/man3/termios.3:52
#, no-wrap
msgid "B<int tcgetattr(int >I<fd>B<, struct termios *>I<termios_p>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:56
+#: build/C/man3/termios.3:55
#, no-wrap
msgid ""
"B<int tcsetattr(int >I<fd>B<, int >I<optional_actions>B<,>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:58
+#: build/C/man3/termios.3:57
#, no-wrap
msgid "B<int tcsendbreak(int >I<fd>B<, int >I<duration>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:60
+#: build/C/man3/termios.3:59
#, no-wrap
msgid "B<int tcdrain(int >I<fd>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:62
+#: build/C/man3/termios.3:61
#, no-wrap
msgid "B<int tcflush(int >I<fd>B<, int >I<queue_selector>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:64
+#: build/C/man3/termios.3:63
#, no-wrap
msgid "B<int tcflow(int >I<fd>B<, int >I<action>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:66
+#: build/C/man3/termios.3:65
#, no-wrap
msgid "B<void cfmakeraw(struct termios *>I<termios_p>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:68
+#: build/C/man3/termios.3:67
#, no-wrap
msgid "B<speed_t cfgetispeed(const struct termios *>I<termios_p>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:70
+#: build/C/man3/termios.3:69
#, no-wrap
msgid "B<speed_t cfgetospeed(const struct termios *>I<termios_p>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:72
+#: build/C/man3/termios.3:71
#, no-wrap
msgid "B<int cfsetispeed(struct termios *>I<termios_p>B<, speed_t >I<speed>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:74
+#: build/C/man3/termios.3:73
#, no-wrap
msgid "B<int cfsetospeed(struct termios *>I<termios_p>B<, speed_t >I<speed>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:76
+#: build/C/man3/termios.3:75
#, no-wrap
msgid "B<int cfsetspeed(struct termios *>I<termios_p>B<, speed_t >I<speed>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:86
+#: build/C/man3/termios.3:85
msgid "B<cfsetspeed>(), B<cfmakeraw>(): _BSD_SOURCE"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:89
+#: build/C/man3/termios.3:88
msgid ""
"The termios functions describe a general terminal interface that is provided "
"to control asynchronous communications ports."
msgstr ""
#. type: SS
-#: build/C/man3/termios.3:89
+#: build/C/man3/termios.3:88
#, no-wrap
msgid "The termios structure"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:94
+#: build/C/man3/termios.3:93
msgid ""
"Many of the functions described here have a I<termios_p> argument that is a "
"pointer to a I<termios> structure. This structure contains at least the "
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:102
+#: build/C/man3/termios.3:101
#, no-wrap
msgid ""
"tcflag_t c_iflag; /* input modes */\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:111
+#: build/C/man3/termios.3:110
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 ""
#. type: Plain text
-#: build/C/man3/termios.3:116
+#: build/C/man3/termios.3:115
msgid ""
"In the descriptions below, \"not in POSIX\" means that the value is not "
"specified in POSIX.1-2001, and \"XSI\" means that the value is specified in "
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:118
+#: build/C/man3/termios.3:117
msgid "I<c_iflag> flag constants:"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:118
+#: build/C/man3/termios.3:117
#, no-wrap
msgid "B<IGNBRK>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:121
+#: build/C/man3/termios.3:120
msgid "Ignore BREAK condition on input."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:121
+#: build/C/man3/termios.3:120
#, no-wrap
msgid "B<BRKINT>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:132
+#: build/C/man3/termios.3:131
msgid ""
"If B<IGNBRK> is set, a BREAK is ignored. If it is not set but B<BRKINT> is "
"set, then a BREAK causes the input and output queues to be flushed, and if "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:132
+#: build/C/man3/termios.3:131
#, no-wrap
msgid "B<IGNPAR>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:135
+#: build/C/man3/termios.3:134
msgid "Ignore framing errors and parity errors."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:135
+#: build/C/man3/termios.3:134
#, no-wrap
msgid "B<PARMRK>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:142
+#: build/C/man3/termios.3:141
msgid ""
"If B<IGNPAR> is not set, prefix a character with a parity error or framing "
"error with \\e377 \\e0. If neither B<IGNPAR> nor B<PARMRK> is set, read a "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:142
+#: build/C/man3/termios.3:141
#, no-wrap
msgid "B<INPCK>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:145
+#: build/C/man3/termios.3:144
msgid "Enable input parity checking."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:145
+#: build/C/man3/termios.3:144
#, no-wrap
msgid "B<ISTRIP>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:148
+#: build/C/man3/termios.3:147
msgid "Strip off eighth bit."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:148
+#: build/C/man3/termios.3:147
#, no-wrap
msgid "B<INLCR>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:151
+#: build/C/man3/termios.3:150
msgid "Translate NL to CR on input."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:151
+#: build/C/man3/termios.3:150
#, no-wrap
msgid "B<IGNCR>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:154
+#: build/C/man3/termios.3:153
msgid "Ignore carriage return on input."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:154
+#: build/C/man3/termios.3:153
#, no-wrap
msgid "B<ICRNL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:157
+#: build/C/man3/termios.3:156
msgid "Translate carriage return to newline on input (unless B<IGNCR> is set)."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:157
+#: build/C/man3/termios.3:156
#, no-wrap
msgid "B<IUCLC>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:160
+#: build/C/man3/termios.3:159
msgid "(not in POSIX) Map uppercase characters to lowercase on input."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:160
+#: build/C/man3/termios.3:159
#, no-wrap
msgid "B<IXON>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:163
+#: build/C/man3/termios.3:162
msgid "Enable XON/XOFF flow control on output."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:163
+#: build/C/man3/termios.3:162
#, no-wrap
msgid "B<IXANY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:167
+#: build/C/man3/termios.3:166
msgid ""
"(XSI) Typing any character will restart stopped output. (The default is to "
"allow just the START character to restart output.)"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:167
+#: build/C/man3/termios.3:166
#, no-wrap
msgid "B<IXOFF>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:170
+#: build/C/man3/termios.3:169
msgid "Enable XON/XOFF flow control on input."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:170
+#: build/C/man3/termios.3:169
#, no-wrap
msgid "B<IMAXBEL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:174
+#: build/C/man3/termios.3:173
msgid ""
"(not in POSIX) Ring bell when input queue is full. Linux does not implement "
"this bit, and acts as if it is always set."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:174
+#: build/C/man3/termios.3:173
#, no-wrap
msgid "B<IUTF8> (since Linux 2.6.4)"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:178
+#: build/C/man3/termios.3:177
msgid ""
"(not in POSIX) Input is UTF8; this allows character-erase to be correctly "
"performed in cooked mode."
#. type: Plain text
#: build/C/man3/termios.3:180
-msgid "I<c_oflag> flag constants defined in POSIX.1:"
+msgid "I<c_oflag> flag constants:"
msgstr ""
#. type: TP
msgid "Enable implementation-defined output processing."
msgstr ""
-#. type: Plain text
-#: build/C/man3/termios.3:186
-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:186
+#: build/C/man3/termios.3:183
#, no-wrap
msgid "B<OLCUC>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:189
+#: 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:189
+#: build/C/man3/termios.3:186
#, no-wrap
msgid "B<ONLCR>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:192
+#: build/C/man3/termios.3:189
msgid "(XSI) Map NL to CR-NL on output."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:192
+#: build/C/man3/termios.3:189
#, no-wrap
msgid "B<OCRNL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:195
+#: build/C/man3/termios.3:192
msgid "Map CR to NL on output."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:195
+#: build/C/man3/termios.3:192
#, no-wrap
msgid "B<ONOCR>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:198
+#: build/C/man3/termios.3:195
msgid "Don't output CR at column 0."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:198
+#: build/C/man3/termios.3:195
#, no-wrap
msgid "B<ONLRET>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:201
+#: build/C/man3/termios.3:198
msgid "Don't output CR."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:201
+#: build/C/man3/termios.3:198
#, no-wrap
msgid "B<OFILL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:204
+#: 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:204
+#: build/C/man3/termios.3:201
#, no-wrap
msgid "B<OFDEL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:209
+#: 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:209
+#: build/C/man3/termios.3:206
#, no-wrap
msgid "B<NLDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:219
+#: 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:219
+#: build/C/man3/termios.3:216
#, no-wrap
msgid "B<CRDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:229
+#: 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:229
+#: build/C/man3/termios.3:226
#, no-wrap
msgid "B<TABDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:241
+#: 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:241
+#: build/C/man3/termios.3:238
#, no-wrap
msgid "B<BSDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:252
+#: 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:252
+#: build/C/man3/termios.3:249
#, no-wrap
msgid "B<VTDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:256
+#: 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:256
+#: build/C/man3/termios.3:253
#, no-wrap
msgid "B<FFDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:266
+#: 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:268
+#: build/C/man3/termios.3:265
msgid "I<c_cflag> flag constants:"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:268
+#: build/C/man3/termios.3:265
#, no-wrap
msgid "B<CBAUD>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:275
+#: 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:275
+#: build/C/man3/termios.3:272
#, no-wrap
msgid "B<CBAUDEX>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:283
+#: 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:299
+#: 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:299
+#: build/C/man3/termios.3:296
#, no-wrap
msgid "B<CSIZE>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:303
+#: 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:303
+#: build/C/man3/termios.3:300
#, no-wrap
msgid "B<CSTOPB>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:306
+#: build/C/man3/termios.3:303
msgid "Set two stop bits, rather than one."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:306
+#: build/C/man3/termios.3:303
#, no-wrap
msgid "B<CREAD>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:309
+#: build/C/man3/termios.3:306
msgid "Enable receiver."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:309
+#: build/C/man3/termios.3:306
#, no-wrap
msgid "B<PARENB>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:312
+#: 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:312
+#: build/C/man3/termios.3:309
#, no-wrap
msgid "B<PARODD>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:316
+#: 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:316
+#: build/C/man3/termios.3:313
#, no-wrap
msgid "B<HUPCL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:319
+#: 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:319
+#: build/C/man3/termios.3:316
#, no-wrap
msgid "B<CLOCAL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:322
+#: build/C/man3/termios.3:319
msgid "Ignore modem control lines."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:322
+#: build/C/man3/termios.3:319
#, no-wrap
msgid "B<LOBLK>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:326
+#: 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:326
+#: build/C/man3/termios.3:323
#, no-wrap
msgid "B<CIBAUD>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:342
+#: 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:342
+#: build/C/man3/termios.3:339
#, no-wrap
msgid "B<CMSPAR>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:355
+#: 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:355
+#: build/C/man3/termios.3:352
#, no-wrap
msgid "B<CRTSCTS>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:362
+#: 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:364
+#: build/C/man3/termios.3:361
msgid "I<c_lflag> flag constants:"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:364
+#: build/C/man3/termios.3:361
#, no-wrap
msgid "B<ISIG>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:368
+#: 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:368
+#: build/C/man3/termios.3:365
#, no-wrap
msgid "B<ICANON>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:371
+#: build/C/man3/termios.3:368
msgid "Enable canonical mode (described below)."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:371
+#: build/C/man3/termios.3:368
#, no-wrap
msgid "B<XCASE>"
msgstr ""
#. to expose
#. .BR XCASE .
#. type: Plain text
-#: build/C/man3/termios.3:384
+#: 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:384
+#: build/C/man3/termios.3:386
#, no-wrap
msgid "B<ECHO>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:387
+#: build/C/man3/termios.3:389
msgid "Echo input characters."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:387
+#: build/C/man3/termios.3:389
#, no-wrap
msgid "B<ECHOE>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:391
+#: 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:391
+#: build/C/man3/termios.3:393
#, no-wrap
msgid "B<ECHOK>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:394
+#: 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:394
+#: build/C/man3/termios.3:396
#, no-wrap
msgid "B<ECHONL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:397
+#: 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:397
+#: build/C/man3/termios.3:399
#, no-wrap
msgid "B<ECHOCTL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:410
+#: 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:410
+#: build/C/man3/termios.3:412
#, no-wrap
msgid "B<ECHOPRT>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:418
+#: build/C/man3/termios.3:420
msgid ""
-"(not in POSIX) If B<ICANON> and B<IECHO> are also set, characters are "
-"printed as they are being erased. [requires B<_BSD_SOURCE> or "
-"B<_SVID_SOURCE>]"
+"(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:418
+#: build/C/man3/termios.3:420
#, no-wrap
msgid "B<ECHOKE>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:426
+#: 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:426
+#: build/C/man3/termios.3:428
#, no-wrap
msgid "B<DEFECHO>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:430
+#: 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:430
+#: build/C/man3/termios.3:432
#, no-wrap
msgid "B<FLUSHO>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:440
+#: 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:440
+#: 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:445
+#: 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:445
+#: build/C/man3/termios.3:447
#, no-wrap
msgid "B<TOSTOP>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:451
+#: 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:451
+#: build/C/man3/termios.3:453
#, no-wrap
msgid "B<PENDIN>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:462
+#: 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:462
+#: build/C/man3/termios.3:464
#, no-wrap
msgid "B<IEXTEN>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:468
+#: 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:471
+#: 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:471
+#: build/C/man3/termios.3:473
#, no-wrap
msgid "B<VDISCARD>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:478
+#: 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:478
+#: build/C/man3/termios.3:480
#, no-wrap
msgid "B<VDSUSP>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:491
+#: 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:491
+#: build/C/man3/termios.3:493
#, no-wrap
msgid "B<VEOF>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:503
+#: 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:503
+#: build/C/man3/termios.3:505
#, no-wrap
msgid "B<VEOL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:510
+#: 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:510
+#: build/C/man3/termios.3:512
#, no-wrap
msgid "B<VEOL2>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:517
+#: 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:517
+#: build/C/man3/termios.3:519
#, no-wrap
msgid "B<VERASE>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:526
+#: 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:526
+#: build/C/man3/termios.3:528
#, no-wrap
msgid "B<VINTR>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:536
+#: 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:536
+#: build/C/man3/termios.3:538
#, no-wrap
msgid "B<VKILL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:544
+#: 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:544
+#: build/C/man3/termios.3:546
#, no-wrap
msgid "B<VLNEXT>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:553
+#: 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:553
+#: build/C/man3/termios.3:555
#, no-wrap
msgid "B<VMIN>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:556
+#: build/C/man3/termios.3:558
msgid "Minimum number of characters for noncanonical read (MIN)."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:556
+#: build/C/man3/termios.3:558
#, no-wrap
msgid "B<VQUIT>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:566
+#: 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:566
+#: build/C/man3/termios.3:568
#, no-wrap
msgid "B<VREPRINT>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:575
+#: 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:575
+#: build/C/man3/termios.3:577
#, no-wrap
msgid "B<VSTART>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:583
+#: 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:583
+#: build/C/man3/termios.3:585
#, no-wrap
msgid "B<VSTATUS>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:593
+#: 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:593
+#: build/C/man3/termios.3:595
#, no-wrap
msgid "B<VSTOP>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:601
+#: 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:601
+#: build/C/man3/termios.3:603
#, no-wrap
msgid "B<VSUSP>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:611
+#: 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:611
+#: build/C/man3/termios.3:613
#, no-wrap
msgid "B<VSWTCH>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:618
+#: 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:618
+#: build/C/man3/termios.3:620
#, no-wrap
msgid "B<VTIME>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:621
+#: build/C/man3/termios.3:623
msgid "Timeout in deciseconds for noncanonical read (TIME)."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:621
+#: build/C/man3/termios.3:623
#, no-wrap
msgid "B<VWERASE>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:630
+#: 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:636
+#: 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:652
+#: 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:652
+#: build/C/man3/termios.3:654
#, no-wrap
msgid "Retrieving and changing terminal settings"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:661
+#: 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:667
+#: 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:667
+#: build/C/man3/termios.3:669
#, no-wrap
msgid "B<TCSANOW>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:669
+#: build/C/man3/termios.3:671
msgid "the change occurs immediately."
msgstr ""
#. type: IP
-#: build/C/man3/termios.3:669
+#: build/C/man3/termios.3:671
#, no-wrap
msgid "B<TCSADRAIN>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:675
+#: 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:675
+#: build/C/man3/termios.3:677
#, no-wrap
msgid "B<TCSAFLUSH>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:680
+#: 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:680
+#: build/C/man3/termios.3:682
#, no-wrap
msgid "Canonical and noncanonical mode"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:694
+#: 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:696
+#: build/C/man3/termios.3:698
msgid "In canonical mode:"
msgstr ""
#. type: IP
-#: build/C/man3/termios.3:696 build/C/man3/termios.3:703 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:703
+#: 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:716
+#: 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), and line editing is disabled. The "
-"settings of MIN (I<c_cc[VMIN]>) and TIME (I<c_cc[VTIME]>) determine the "
-"circumstances in which a B<read>(2) completes; there are four distinct "
-"cases:"
+"to type a line-delimiter character), no input processing is performed, and "
+"line editing is disabled. The settings of MIN (I<c_cc[VMIN]>) and TIME "
+"(I<c_cc[VTIME]>) determine the circumstances in which a B<read>(2) "
+"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:736
+#: build/C/man3/termios.3:739
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."
+"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:741
+#: build/C/man3/termios.3:744
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."
+"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:753
+#: build/C/man3/termios.3:759
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."
+"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:764
+#: build/C/man3/termios.3:766
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."
+"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:780
+msgid ""
+"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:787
+msgid ""
+"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:806
+msgid ""
+"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
-#: build/C/man4/tty.4:27
+#: build/C/man4/tty.4:28
#, no-wrap
msgid "TTY"
msgstr ""
#. type: TH
-#: build/C/man4/tty.4:27
+#: build/C/man4/tty.4:28
#, no-wrap
msgid "2003-04-07"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty.4:30
+#: build/C/man4/tty.4:31
msgid "tty - controlling terminal"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty.4:34
+#: 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:41
+#: 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:41
+#: build/C/man4/tty.4:47
#, no-wrap
msgid "TIOCNOTTY"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty.4:43
+#: build/C/man4/tty.4:49
msgid "Detach the calling process from its controlling terminal."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty.4:51
+#: 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:63
+#: 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:65
+#: build/C/man4/tty.4:75
msgid "/dev/tty"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty.4:75
+#: 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)"
msgstr ""
#. type: TH
-#: build/C/man4/tty_ioctl.4:5
+#: build/C/man4/tty_ioctl.4:8
#, no-wrap
msgid "TTY_IOCTL"
msgstr ""
#. type: TH
-#: build/C/man4/tty_ioctl.4:5
+#: build/C/man4/tty_ioctl.4:8
#, no-wrap
-msgid "2008-10-29"
+msgid "2013-11-12"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:8
+#: build/C/man4/tty_ioctl.4:11
msgid "tty_ioctl - ioctls for terminals and serial lines"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:12
+#: build/C/man4/tty_ioctl.4:15
msgid "B<int ioctl(int >I<fd>B<, int >I<cmd>B<, ...);>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:18
+#: 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:25
+#: 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:25
+#: build/C/man4/tty_ioctl.4:30
#, no-wrap
-msgid "Get and Set Terminal Attributes"
+msgid "Get and set terminal attributes"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:26
+#: 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:30
+#: build/C/man4/tty_ioctl.4:35
msgid "Equivalent to I<tcgetattr(fd, argp)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:32
+#: build/C/man4/tty_ioctl.4:37
msgid "Get the current serial port settings."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:32
+#: 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:36
+#: 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:38
+#: build/C/man4/tty_ioctl.4:43
msgid "Set the current serial port settings."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:38
+#: 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:42
+#: 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:45
+#: 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:45
+#: 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:49
+#: 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:52
+#: 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:62
+#: 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:62
-#, 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:64
-#, 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:66
-#, 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:68
-#, 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:70
+#: build/C/man4/tty_ioctl.4:75
#, no-wrap
msgid "Locking the termios structure"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:78
+#: 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:78
+#: 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:83
+#: 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:83
+#: 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:91
+#: 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:91
+#: build/C/man4/tty_ioctl.4:96
#, no-wrap
-msgid "Get and Set Window Size"
+msgid "Get and set window size"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:96
+#: 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:99
+#: 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:99
+#: 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:102
+#: build/C/man4/tty_ioctl.4:107
msgid "Get window size."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:102
+#: 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:105
+#: build/C/man4/tty_ioctl.4:110
msgid "Set window size."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:107
+#: 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:116
+#: build/C/man4/tty_ioctl.4:121
#, no-wrap
msgid ""
"struct winsize {\n"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:123
+#: 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:123
+#: build/C/man4/tty_ioctl.4:128
#, no-wrap
-msgid "Sending a Break"
+msgid "Sending a break"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:124
+#: 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:128
+#: build/C/man4/tty_ioctl.4:133
msgid "Equivalent to I<tcsendbreak(fd, arg)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:139
+#: 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:157
+#: 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:157
+#: 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:165
+#: 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:165
+#: build/C/man4/tty_ioctl.4:170
#, no-wrap
msgid "B<TIOCSBRK\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:168
+#: 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:168
+#: build/C/man4/tty_ioctl.4:173
#, no-wrap
msgid "B<TIOCCBRK\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:171
+#: 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:171
+#: build/C/man4/tty_ioctl.4:176
#, no-wrap
msgid "Software flow control"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:172
+#: 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:176
+#: build/C/man4/tty_ioctl.4:181
msgid "Equivalent to I<tcflow(fd, arg)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:184
+#: 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:184
+#: build/C/man4/tty_ioctl.4:189
#, no-wrap
msgid "Buffer count and flushing"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:185
+#: 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:188
+#: 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:188
+#: 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:192
+#: build/C/man4/tty_ioctl.4:197
msgid "Same as B<FIONREAD>."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:192
+#: 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:195
+#: 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:195
+#: 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:199
+#: build/C/man4/tty_ioctl.4:204
msgid "Equivalent to I<tcflush(fd, arg)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:206
+#: 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:206
+#: build/C/man4/tty_ioctl.4:211
#, no-wrap
msgid "Faking input"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:207
+#: 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:210
+#: 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:210
+#: build/C/man4/tty_ioctl.4:215
#, no-wrap
msgid "Redirecting console output"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:211
+#: build/C/man4/tty_ioctl.4:216
#, no-wrap
msgid "B<TIOCCONS\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:233
+#: 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:233
+#: build/C/man4/tty_ioctl.4:238
#, no-wrap
msgid "Controlling terminal"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:234
+#: 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:248
+#: 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:248
+#: build/C/man4/tty_ioctl.4:257
#, no-wrap
msgid "B<TIOCNOTTY\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:259
+#: 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:259
+#: build/C/man4/tty_ioctl.4:268
#, no-wrap
msgid "Process group and session ID"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:260
+#: 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:264
+#: 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:266
+#: 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:266
+#: 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:270
+#: build/C/man4/tty_ioctl.4:279
msgid "Equivalent to I<tcsetpgrp(fd, *argp)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:272
+#: 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:272
+#: 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:280
+#: 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:280
+#: build/C/man4/tty_ioctl.4:289
#, no-wrap
msgid "Exclusive mode"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:281
+#: build/C/man4/tty_ioctl.4:290
#, no-wrap
msgid "B<TIOCEXCL\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:292
+#: 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:292
+#: build/C/man4/tty_ioctl.4:301
#, no-wrap
msgid "B<TIOCNXCL\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:295
+#: build/C/man4/tty_ioctl.4:304
msgid "Disable exclusive mode."
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:295
+#: build/C/man4/tty_ioctl.4:304
#, no-wrap
msgid "Line discipline"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:296
+#: 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:299
+#: build/C/man4/tty_ioctl.4:308
msgid "Get the line discipline of the terminal."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:299
+#: 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:302
+#: build/C/man4/tty_ioctl.4:311
msgid "Set the line discipline of the terminal."
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:302
+#: build/C/man4/tty_ioctl.4:311
#, no-wrap
-msgid "Psuedoterminal ioctls"
+msgid "Pseudoterminal ioctls"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:303
+#: 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:320
+#: 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:328
+#: 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:335
+#: 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:342
+#: 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:349
+#: 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:349
+#: build/C/man4/tty_ioctl.4:358
#, no-wrap
msgid "Modem control"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:350
+#: 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:353
+#: build/C/man4/tty_ioctl.4:362
msgid "get the status of modem bits."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:353
+#: 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:356
+#: build/C/man4/tty_ioctl.4:365
msgid "set the status of modem bits."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:356
+#: 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:359
+#: build/C/man4/tty_ioctl.4:368
msgid "clear the indicated modem bits."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:359
+#: 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:362
+#: build/C/man4/tty_ioctl.4:371
msgid "set the indicated modem bits."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:364
+#: build/C/man4/tty_ioctl.4:373
msgid "Bits used by these four ioctls:"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:377
+#: 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:378
+#: build/C/man4/tty_ioctl.4:387
#, no-wrap
msgid "Marking a line as local"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:379
+#: 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:385
+#: 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:385
+#: 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:393
+#: 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:408
+#: 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:408
+#: build/C/man4/tty_ioctl.4:417
#, no-wrap
msgid "Linux-specific"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:413
+#: 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:413
+#: build/C/man4/tty_ioctl.4:422
#, no-wrap
msgid "Kernel debugging"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:415
+#: 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:415
+#: 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:431
+#: 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:438
+#: 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:442
+#: build/C/man4/tty_ioctl.4:451
msgid "Invalid command parameter."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:442
+#: build/C/man4/tty_ioctl.4:451
#, no-wrap
msgid "B<ENOIOCTLCMD>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:445
+#: build/C/man4/tty_ioctl.4:454
msgid "Unknown command."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:449
+#: build/C/man4/tty_ioctl.4:458
msgid "Inappropriate I<fd>."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:449
+#: build/C/man4/tty_ioctl.4:458
#, no-wrap
msgid "B<EPERM>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:452
+#: build/C/man4/tty_ioctl.4:461
msgid "Insufficient permission."
msgstr ""
#. type: SH
-#: build/C/man4/tty_ioctl.4:452 build/C/man5/ttytype.5:54
+#: 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:454
+#: 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:459
+#: 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:464
+#: build/C/man4/tty_ioctl.4:473
#, no-wrap
msgid ""
"int\n"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:473
+#: 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:493
+#: build/C/man4/tty_ioctl.4:502
msgid "B<ioctl>(2), B<termios>(3), B<console_ioctl>(4), B<pty>(7)"
msgstr ""
#. type: TH
-#: build/C/man3/ttyname.3:26
+#: build/C/man3/ttyname.3:27
#, no-wrap
msgid "TTYNAME"
msgstr ""
-#. type: TH
-#: build/C/man3/ttyname.3:26
-#, no-wrap
-msgid "2008-07-14"
-msgstr ""
-
#. type: Plain text
-#: build/C/man3/ttyname.3:29
+#: build/C/man3/ttyname.3:30
msgid "ttyname, ttyname_r - return name of a terminal"
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyname.3:34
+#: build/C/man3/ttyname.3:35
#, no-wrap
msgid "B<char *ttyname(int >I<fd>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyname.3:36
+#: build/C/man3/ttyname.3:37
#, no-wrap
msgid "B<int ttyname_r(int >I<fd>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyname.3:51
+#: build/C/man3/ttyname.3:52
msgid ""
"The function B<ttyname>() returns a pointer to the null-terminated pathname "
"of the terminal device that is open on the file descriptor I<fd>, or NULL on "
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyname.3:61
+#: build/C/man3/ttyname.3:62
msgid ""
"The function B<ttyname>() returns a pointer to a pathname on success. On "
"error, NULL is returned, and I<errno> is set appropriately. The function "
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyname.3:63
-msgid "B<ttyname_r>():"
-msgstr ""
-
-#. type: Plain text
#: build/C/man3/ttyname.3:66
msgid "Bad file descriptor."
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyname.3:73
-msgid "I<buflen> was too small to allow storing the pathname."
+#: build/C/man3/ttyname.3:74
+msgid "(B<ttyname_r>()) I<buflen> was too small to allow storing the pathname."
+msgstr ""
+
+#. type: Plain text
+#: 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:75
+#: build/C/man3/ttyname.3:85
msgid "4.2BSD, POSIX.1-2001."
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyname.3:78
-msgid "B<fstat>(2), B<isatty>(3)"
+#: build/C/man3/ttyname.3:89
+msgid "B<fstat>(2), B<ctermid>(3), B<isatty>(3)"
msgstr ""
#. type: TH
-#: build/C/man3/ttyslot.3:26
+#: build/C/man3/ttyslot.3:28
#, no-wrap
msgid "TTYSLOT"
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:29
+#: build/C/man3/ttyslot.3:31
msgid "ttyslot - find the slot of the current user's terminal in some file"
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:31
+#: build/C/man3/ttyslot.3:33
msgid "B<#include E<lt>unistd.hE<gt>> /* on BSD-like systems, and Linux */"
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:33
+#: build/C/man3/ttyslot.3:35
msgid "B<#include E<lt>stdlib.hE<gt>> /* on System V-like systems */"
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:35
+#: build/C/man3/ttyslot.3:37
msgid "B<int ttyslot(void);>"
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:43
+#: build/C/man3/ttyslot.3:45
msgid "B<ttyslot>():"
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:45
+#: build/C/man3/ttyslot.3:47
msgid "_BSD_SOURCE ||"
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:47
+#: build/C/man3/ttyslot.3:49
msgid ""
"_XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_\\ E<lt>\\ 500\\ &&\\ "
"_XOPEN_SOURCE_EXTENDED"
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:53
+#: build/C/man3/ttyslot.3:55
msgid ""
"The legacy function B<ttyslot>() returns the index of the current user's "
"entry in some file."
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:56
+#: build/C/man3/ttyslot.3:58
msgid "Now \"What file?\" you ask. Well, let's first look at some history."
msgstr ""
#. type: SS
-#: build/C/man3/ttyslot.3:56
+#: build/C/man3/ttyslot.3:58
#, no-wrap
-msgid "Ancient History"
+msgid "Ancient history"
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:73
+#: 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 "
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:81
+#: 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 "
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:86
+#: build/C/man3/ttyslot.3:88
msgid ""
"Later systems have more elaborate syntax. System V-like systems have "
"I</etc/inittab> instead."
msgstr ""
#. type: SS
-#: build/C/man3/ttyslot.3:86
+#: build/C/man3/ttyslot.3:88
#, no-wrap
-msgid "Ancient History (2)"
+msgid "Ancient history (2)"
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:100
+#: build/C/man3/ttyslot.3:102
msgid ""
"On the other hand, there is the file I</etc/utmp> listing the people "
"currently logged in. It is maintained by B<login>(1). It has a fixed size, "
msgstr ""
#. type: SS
-#: build/C/man3/ttyslot.3:100
+#: build/C/man3/ttyslot.3:102
#, no-wrap
msgid "The semantics of ttyslot"
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:115
+#: build/C/man3/ttyslot.3:117
msgid ""
"Thus, the function B<ttyslot>() returns the index of the controlling "
"terminal of the calling process in the file I</etc/ttys>, and that is "
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:121
+#: build/C/man3/ttyslot.3:123
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:124
+#: 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:129
+#: 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:138
+#: 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:144
+#: build/C/man3/ttyslot.3:153
msgid "Minix also has I<fttyslot>(I<fd>)."
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:148
+#: build/C/man3/ttyslot.3:157
msgid "B<getttyent>(3), B<ttyname>(3), B<utmp>(5)"
msgstr ""
#. type: TH
-#: build/C/man5/ttytype.5:28
+#: build/C/man5/ttytype.5:29
#, no-wrap
msgid "TTYTYPE"
msgstr ""
#. type: TH
-#: build/C/man5/ttytype.5:28
+#: build/C/man5/ttytype.5:29
#, no-wrap
-msgid "1993-07-24"
+msgid "2012-12-31"
msgstr ""
#. type: Plain text
-#: build/C/man5/ttytype.5:31
+#: build/C/man5/ttytype.5:32
msgid "ttytype - terminal device to default terminal type mapping"
msgstr ""
#. type: Plain text
-#: build/C/man5/ttytype.5:39
+#: build/C/man5/ttytype.5:42
msgid ""
-"The I</etc/ttytype> file associates termcap/terminfo terminal type names "
-"with tty lines. Each line consists of a terminal type, followed by "
-"whitespace, followed by a tty name (a device name without the I</dev/>) "
+"The I</etc/ttytype> file associates B<termcap>(5)/B<terminfo>(5) terminal "
+"type names with tty lines. Each line consists of a terminal type, followed "
+"by whitespace, followed by a tty name (a device name without the I</dev/>) "
"prefix."
msgstr ""
#. type: Plain text
-#: build/C/man5/ttytype.5:46
+#: build/C/man5/ttytype.5:49
msgid ""
"This association is used by the program B<tset>(1) to set the environment "
"variable B<TERM> to the default terminal name for the user's current tty."
msgstr ""
#. type: Plain text
-#: build/C/man5/ttytype.5:50
+#: build/C/man5/ttytype.5:53
msgid ""
"This facility was designed for a traditional time-sharing environment "
"featuring character-cell terminals hardwired to a UNIX minicomputer. It is "
msgstr ""
#. type: TP
-#: build/C/man5/ttytype.5:51
+#: build/C/man5/ttytype.5:54
#, no-wrap
msgid "I</etc/ttytype>"
msgstr ""
#. type: Plain text
-#: build/C/man5/ttytype.5:54
+#: build/C/man5/ttytype.5:57
msgid "the tty definitions file."
msgstr ""
#. type: Plain text
-#: build/C/man5/ttytype.5:58
+#: build/C/man5/ttytype.5:61
msgid "A typical I</etc/ttytype> is:"
msgstr ""
#. type: Plain text
-#: build/C/man5/ttytype.5:61
+#: build/C/man5/ttytype.5:64
msgid "con80x25 tty1"
msgstr ""
#. type: Plain text
-#: build/C/man5/ttytype.5:63
+#: build/C/man5/ttytype.5:66
msgid "vt320 ttys0"
msgstr ""
#. type: Plain text
-#: build/C/man5/ttytype.5:69
+#: build/C/man5/ttytype.5:72
msgid "B<termcap>(5), B<terminfo>(5), B<agetty>(8), B<mingetty>(8)"
msgstr ""
#. type: TH
-#: build/C/man3/unlockpt.3:4
+#: build/C/man3/unlockpt.3:5
#, no-wrap
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:7
+#: build/C/man3/unlockpt.3:8
msgid "unlockpt - unlock a pseudoterminal master/slave pair"
msgstr ""
#. type: Plain text
-#: build/C/man3/unlockpt.3:14
+#: build/C/man3/unlockpt.3:15
#, no-wrap
msgid "B<int unlockpt(int >I<fd>B<);>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/unlockpt.3:21
+#: build/C/man3/unlockpt.3:22
msgid ""
"The B<unlockpt>() function unlocks the slave pseudoterminal device "
"corresponding to the master pseudoterminal referred to by I<fd>."
msgstr ""
#. type: Plain text
-#: build/C/man3/unlockpt.3:24
+#: build/C/man3/unlockpt.3:25
msgid ""
"B<unlockpt>() should be called before opening the slave side of a "
"pseudoterminal."
msgstr ""
#. type: Plain text
-#: build/C/man3/unlockpt.3:31
+#: build/C/man3/unlockpt.3:32
msgid ""
"When successful, B<unlockpt>() returns 0. Otherwise, it returns -1 and "
"sets I<errno> appropriately."
msgstr ""
#. type: Plain text
-#: build/C/man3/unlockpt.3:37
+#: build/C/man3/unlockpt.3:38
msgid "The I<fd> argument is not a file descriptor open for writing."
msgstr ""
#. type: Plain text
-#: build/C/man3/unlockpt.3:42
+#: build/C/man3/unlockpt.3:43
msgid "The I<fd> argument is not associated with a master pseudoterminal."
msgstr ""
#. type: Plain text
-#: build/C/man3/unlockpt.3:45
+#: build/C/man3/unlockpt.3:46
msgid "B<unlockpt>() is provided in glibc since version 2.1."
msgstr ""
#. type: Plain text
-#: build/C/man3/unlockpt.3:53
+#: 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 ""