msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2012-05-28 07:17+0900\n"
+"POT-Creation-Date: 2013-03-22 01:07+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"
"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/termios.3:40
#, no-wrap
-msgid "2010-09-20"
+msgid "2013-03-15"
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
+#: 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"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:50
+#: build/C/man3/getpass.3:51
msgid "Before glibc 2.2.2: 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:54 build/C/man3/getpt.3:17 build/C/man3/getttyent.3:20 build/C/man3/grantpt.3:16 build/C/man3/isatty.3:35 build/C/man3/openpty.3:55 build/C/man3/posix_openpt.3:45 build/C/man4/pts.4:11 build/C/man3/ptsname.3:24 build/C/man7/pty.7:28 build/C/man5/securetty.5:29 build/C/man3/tcgetsid.3:34 build/C/man5/termcap.5:34 build/C/man7/termio.7:30 build/C/man3/termios.3:85 build/C/man4/tty.4:31 build/C/man4/tty_ioctl.4:15 build/C/man3/ttyname.3:38 build/C/man3/ttyslot.3:51 build/C/man5/ttytype.5:32 build/C/man3/unlockpt.3:16
#, 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:62
+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:73
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:73 build/C/man3/getpt.3:28 build/C/man3/grantpt.3:31 build/C/man3/isatty.3:41 build/C/man3/openpty.3:113 build/C/man3/posix_openpt.3:62 build/C/man3/ptsname.3:42 build/C/man3/tcgetsid.3:42 build/C/man3/termios.3:906 build/C/man4/tty_ioctl.4:434 build/C/man3/ttyname.3:52 build/C/man3/ttyslot.3:117 build/C/man3/unlockpt.3:25
#, no-wrap
msgid "RETURN VALUE"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:78
+#: build/C/man3/getpass.3:84
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:84 build/C/man3/getpt.3:35 build/C/man3/grantpt.3:38 build/C/man3/isatty.3:49 build/C/man3/openpty.3:130 build/C/man3/posix_openpt.3:70 build/C/man3/ptsname.3:59 build/C/man3/tcgetsid.3:52 build/C/man4/tty_ioctl.4:441 build/C/man3/ttyname.3:62 build/C/man3/unlockpt.3:32
#, no-wrap
msgid "ERRORS"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:80
+#: build/C/man3/getpass.3:86
msgid "The function may fail if"
msgstr ""
#. type: TP
-#: build/C/man3/getpass.3:80
+#: build/C/man3/getpass.3:86
#, no-wrap
msgid "B<ENXIO>"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:83
+#: build/C/man3/getpass.3:89
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:89 build/C/man4/pts.4:54 build/C/man7/pty.7:124 build/C/man5/securetty.5:41 build/C/man4/tty.4:64 build/C/man5/ttytype.5:53
#, 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:95
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:95 build/C/man3/getpt.3:42 build/C/man3/getttyent.3:72 build/C/man3/grantpt.3:55 build/C/man3/isatty.3:62 build/C/man3/openpty.3:150 build/C/man3/posix_openpt.3:77 build/C/man3/ptsname.3:79 build/C/man3/tcgetsid.3:65 build/C/man3/termios.3:932 build/C/man3/ttyname.3:74 build/C/man3/ttyslot.3:123 build/C/man3/unlockpt.3:46
#, no-wrap
msgid "CONFORMING TO"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:92
+#: build/C/man3/getpass.3:98
msgid "Present in SUSv2, but marked LEGACY. Removed in POSIX.1-2001."
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:98 build/C/man3/getttyent.3:75 build/C/man3/grantpt.3:57 build/C/man3/openpty.3:153 build/C/man3/posix_openpt.3:82 build/C/man4/pts.4:57 build/C/man7/pty.7:136 build/C/man3/tcgetsid.3:67 build/C/man3/termios.3:950 build/C/man3/ttyslot.3:126
#, no-wrap
msgid "NOTES"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:113
+#: build/C/man3/getpass.3:119
msgid ""
"For libc4 and libc5, the prompt is not written to I</dev/tty> but to "
"I<stderr>. Moreover, if I</dev/tty> cannot be opened, the password is read "
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:122
+#: build/C/man3/getpass.3:128
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 "
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:144
+#: build/C/man3/getpass.3:150
msgid ""
"According to the 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 "
msgstr ""
#. type: SH
-#: build/C/man3/getpass.3:144 build/C/man3/openpty.3:166
+#: build/C/man3/getpass.3:150 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:153
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:106 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:153 build/C/man3/getpt.3:48 build/C/man3/getttyent.3:79 build/C/man3/grantpt.3:63 build/C/man3/isatty.3:64 build/C/man3/openpty.3:178 build/C/man3/posix_openpt.3:106 build/C/man4/pts.4:69 build/C/man3/ptsname.3:92 build/C/man7/pty.7:152 build/C/man5/securetty.5:43 build/C/man3/tcgetsid.3:73 build/C/man5/termcap.5:470 build/C/man7/termio.7:59 build/C/man3/termios.3:977 build/C/man4/tty.4:66 build/C/man4/tty_ioctl.4:477 build/C/man3/ttyname.3:76 build/C/man3/ttyslot.3:146 build/C/man5/ttytype.5:67 build/C/man3/unlockpt.3:48
#, no-wrap
msgid "SEE ALSO"
msgstr ""
#. type: Plain text
-#: build/C/man3/getpass.3:149
+#: build/C/man3/getpass.3:155
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:114 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:155 build/C/man3/getpt.3:55 build/C/man3/getttyent.3:82 build/C/man3/grantpt.3:70 build/C/man3/isatty.3:67 build/C/man3/openpty.3:182 build/C/man3/posix_openpt.3:114 build/C/man4/pts.4:75 build/C/man3/ptsname.3:99 build/C/man7/pty.7:161 build/C/man5/securetty.5:46 build/C/man3/tcgetsid.3:75 build/C/man5/termcap.5:474 build/C/man7/termio.7:66 build/C/man3/termios.3:982 build/C/man4/tty.4:76 build/C/man4/tty_ioctl.4:496 build/C/man3/ttyname.3:80 build/C/man3/ttyslot.3:150 build/C/man5/ttytype.5:72 build/C/man3/unlockpt.3:54
#, 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:121 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:162 build/C/man3/getpt.3:62 build/C/man3/getttyent.3:89 build/C/man3/grantpt.3:77 build/C/man3/isatty.3:74 build/C/man3/openpty.3:189 build/C/man3/posix_openpt.3:121 build/C/man4/pts.4:82 build/C/man3/ptsname.3:106 build/C/man7/pty.7:168 build/C/man5/securetty.5:53 build/C/man3/tcgetsid.3:82 build/C/man5/termcap.5:481 build/C/man7/termio.7:73 build/C/man3/termios.3:989 build/C/man4/tty.4:83 build/C/man4/tty_ioctl.4:503 build/C/man3/ttyname.3:87 build/C/man3/ttyslot.3:157 build/C/man5/ttytype.5:79 build/C/man3/unlockpt.3:61
msgid ""
-"This page is part of release 3.41 of the Linux I<man-pages> project. A "
+"This page is part of release 3.50 of the Linux I<man-pages> project. A "
"description of the project, and information about reporting bugs, can be "
"found at http://www.kernel.org/doc/man-pages/."
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 build/C/man3/tcgetsid.3:25
#, no-wrap
msgid "2010-09-10"
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:52 build/C/man3/posix_openpt.3:73 build/C/man3/ptsname.3:76 build/C/man3/tcgetsid.3:62 build/C/man3/unlockpt.3:43
#, 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
+#: build/C/man3/getpt.3:48
msgid "B<getpt>() is glibc-specific; use B<posix_openpt>(3) instead."
msgstr ""
#. type: Plain text
-#: build/C/man3/getpt.3:53
+#: build/C/man3/getpt.3:55
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
#, no-wrap
msgid "2002-07-18"
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:75
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:79
msgid ""
"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:82
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 build/C/man3/unlockpt.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:25
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:31
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:38
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:39
#, no-wrap
msgid "B<EACCES>"
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:41
+#: build/C/man3/grantpt.3:42
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:42 build/C/man3/isatty.3:50 build/C/man3/tcgetsid.3:53 build/C/man3/ttyname.3:63 build/C/man3/unlockpt.3:33
#, no-wrap
msgid "B<EBADF>"
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:46
+#: build/C/man3/grantpt.3:47
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:47 build/C/man3/isatty.3:54 build/C/man3/ptsname.3:60 build/C/man4/tty_ioctl.4:442 build/C/man3/unlockpt.3:38
#, no-wrap
msgid "B<EINVAL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:51
+#: build/C/man3/grantpt.3:52
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:55
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:57 build/C/man3/tcgetsid.3:67 build/C/man3/unlockpt.3:48
msgid "POSIX.1-2001."
msgstr ""
#. type: Plain text
-#: build/C/man3/grantpt.3:62
+#: build/C/man3/grantpt.3:63
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:70
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"
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?
#. 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:64
msgid "SVr4, 4.3BSD, POSIX.1-2001."
msgstr ""
#. type: Plain text
-#: build/C/man3/isatty.3:65
+#: build/C/man3/isatty.3:67
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
+#: build/C/man3/openpty.3:34
#, 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."
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 ""
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:15
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:25
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:31
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:34
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:37
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:48
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:54
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:57
msgid "I</dev/ptmx>, I</dev/pts/*>"
msgstr ""
#. type: Plain text
-#: build/C/man4/pts.4:61
+#: build/C/man4/pts.4:63
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>."
msgstr ""
#. type: Plain text
-#: build/C/man4/pts.4:67
+#: build/C/man4/pts.4:69
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:75
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
#, no-wrap
msgid "2008-09-03"
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 "
#. 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:448 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 ""
"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:92
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:99
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: 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:73
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:75
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"
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
-#, no-wrap
-msgid "2011-09-08"
-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 "
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."
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:180
+#: build/C/man3/termios.3:179
msgid "I<c_oflag> flag constants defined in POSIX.1:"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:180
+#: build/C/man3/termios.3:179
#, no-wrap
msgid "B<OPOST>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:183
+#: build/C/man3/termios.3:182
msgid "Enable implementation-defined output processing."
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:186
+#: build/C/man3/termios.3:185
msgid ""
"The remaining I<c_oflag> flag constants are defined in POSIX.1-2001, unless "
"marked otherwise."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:186
+#: build/C/man3/termios.3:185
#, no-wrap
msgid "B<OLCUC>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:189
+#: build/C/man3/termios.3:188
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:188
#, no-wrap
msgid "B<ONLCR>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:192
+#: build/C/man3/termios.3:191
msgid "(XSI) Map NL to CR-NL on output."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:192
+#: build/C/man3/termios.3:191
#, no-wrap
msgid "B<OCRNL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:195
+#: build/C/man3/termios.3:194
msgid "Map CR to NL on output."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:195
+#: build/C/man3/termios.3:194
#, no-wrap
msgid "B<ONOCR>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:198
+#: build/C/man3/termios.3:197
msgid "Don't output CR at column 0."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:198
+#: build/C/man3/termios.3:197
#, no-wrap
msgid "B<ONLRET>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:201
+#: build/C/man3/termios.3:200
msgid "Don't output CR."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:201
+#: build/C/man3/termios.3:200
#, no-wrap
msgid "B<OFILL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:204
+#: build/C/man3/termios.3:203
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:203
#, no-wrap
msgid "B<OFDEL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:209
+#: build/C/man3/termios.3:208
msgid ""
"(not in POSIX) 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:208
#, no-wrap
msgid "B<NLDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:219
+#: build/C/man3/termios.3:218
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:218
#, no-wrap
msgid "B<CRDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:229
+#: build/C/man3/termios.3:228
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:228
#, no-wrap
msgid "B<TABDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:241
+#: build/C/man3/termios.3:240
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:240
#, no-wrap
msgid "B<BSDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:252
+#: build/C/man3/termios.3:251
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:251
#, no-wrap
msgid "B<VTDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:256
+#: build/C/man3/termios.3:255
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:255
#, no-wrap
msgid "B<FFDLY>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:266
+#: build/C/man3/termios.3:265
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:267
msgid "I<c_cflag> flag constants:"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:268
+#: build/C/man3/termios.3:267
#, no-wrap
msgid "B<CBAUD>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:275
+#: build/C/man3/termios.3:274
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:274
#, no-wrap
msgid "B<CBAUDEX>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:283
+#: build/C/man3/termios.3:282
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:298
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:298
#, no-wrap
msgid "B<CSIZE>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:303
+#: build/C/man3/termios.3:302
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:302
#, no-wrap
msgid "B<CSTOPB>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:306
+#: build/C/man3/termios.3:305
msgid "Set two stop bits, rather than one."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:306
+#: build/C/man3/termios.3:305
#, no-wrap
msgid "B<CREAD>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:309
+#: build/C/man3/termios.3:308
msgid "Enable receiver."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:309
+#: build/C/man3/termios.3:308
#, no-wrap
msgid "B<PARENB>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:312
+#: build/C/man3/termios.3:311
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:311
#, no-wrap
msgid "B<PARODD>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:316
+#: build/C/man3/termios.3:315
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:315
#, no-wrap
msgid "B<HUPCL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:319
+#: build/C/man3/termios.3:318
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:318
#, no-wrap
msgid "B<CLOCAL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:322
+#: build/C/man3/termios.3:321
msgid "Ignore modem control lines."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:322
+#: build/C/man3/termios.3:321
#, no-wrap
msgid "B<LOBLK>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:326
+#: build/C/man3/termios.3:325
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:325
#, no-wrap
msgid "B<CIBAUD>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:342
+#: build/C/man3/termios.3:341
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:341
#, no-wrap
msgid "B<CMSPAR>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:355
+#: build/C/man3/termios.3:354
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 "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:355
+#: build/C/man3/termios.3:354
#, no-wrap
msgid "B<CRTSCTS>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:362
+#: build/C/man3/termios.3:361
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:363
msgid "I<c_lflag> flag constants:"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:364
+#: build/C/man3/termios.3:363
#, no-wrap
msgid "B<ISIG>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:368
+#: build/C/man3/termios.3:367
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:367
#, no-wrap
msgid "B<ICANON>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:371
+#: build/C/man3/termios.3:370
msgid "Enable canonical mode (described below)."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:371
+#: build/C/man3/termios.3:370
#, no-wrap
msgid "B<XCASE>"
msgstr ""
#. to expose
#. .BR XCASE .
#. type: Plain text
-#: build/C/man3/termios.3:384
+#: build/C/man3/termios.3:383
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 "
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:384
+#: build/C/man3/termios.3:383
#, no-wrap
msgid "B<ECHO>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:387
+#: build/C/man3/termios.3:386
msgid "Echo input characters."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:387
+#: build/C/man3/termios.3:386
#, no-wrap
msgid "B<ECHOE>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:391
+#: build/C/man3/termios.3:390
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:390
#, no-wrap
msgid "B<ECHOK>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:394
+#: build/C/man3/termios.3:393
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:393
#, no-wrap
msgid "B<ECHONL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:397
+#: build/C/man3/termios.3:396
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:396
#, no-wrap
msgid "B<ECHOCTL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:410
+#: build/C/man3/termios.3:409
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:409
#, no-wrap
msgid "B<ECHOPRT>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:418
+#: build/C/man3/termios.3:417
msgid ""
"(not in POSIX) If B<ICANON> and B<ECHO> are also set, characters are printed "
"as they are being erased. [requires B<_BSD_SOURCE> or B<_SVID_SOURCE>]"
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:418
+#: build/C/man3/termios.3:417
#, no-wrap
msgid "B<ECHOKE>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:426
+#: build/C/man3/termios.3:425
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:425
#, no-wrap
msgid "B<DEFECHO>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:430
+#: build/C/man3/termios.3:429
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:429
#, no-wrap
msgid "B<FLUSHO>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:440
+#: build/C/man3/termios.3:439
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:439
#, 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:444
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:444
#, no-wrap
msgid "B<TOSTOP>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:451
+#: build/C/man3/termios.3:450
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:450
#, no-wrap
msgid "B<PENDIN>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:462
+#: build/C/man3/termios.3:461
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:461
#, no-wrap
msgid "B<IEXTEN>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:468
+#: build/C/man3/termios.3:467
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:470
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:470
#, no-wrap
msgid "B<VDISCARD>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:478
+#: build/C/man3/termios.3:477
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:477
#, no-wrap
msgid "B<VDSUSP>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:491
+#: build/C/man3/termios.3:490
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:490
#, no-wrap
msgid "B<VEOF>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:503
+#: build/C/man3/termios.3:502
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:502
#, no-wrap
msgid "B<VEOL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:510
+#: build/C/man3/termios.3:509
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:509
#, no-wrap
msgid "B<VEOL2>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:517
+#: build/C/man3/termios.3:516
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:516
#, no-wrap
msgid "B<VERASE>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:526
+#: build/C/man3/termios.3:525
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:525
#, no-wrap
msgid "B<VINTR>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:536
+#: build/C/man3/termios.3:535
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:535
#, no-wrap
msgid "B<VKILL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:544
+#: build/C/man3/termios.3:543
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:543
#, no-wrap
msgid "B<VLNEXT>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:553
+#: build/C/man3/termios.3:552
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:552
#, no-wrap
msgid "B<VMIN>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:556
+#: build/C/man3/termios.3:555
msgid "Minimum number of characters for noncanonical read (MIN)."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:556
+#: build/C/man3/termios.3:555
#, no-wrap
msgid "B<VQUIT>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:566
+#: build/C/man3/termios.3:565
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:565
#, no-wrap
msgid "B<VREPRINT>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:575
+#: build/C/man3/termios.3:574
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:574
#, no-wrap
msgid "B<VSTART>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:583
+#: build/C/man3/termios.3:582
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:582
#, no-wrap
msgid "B<VSTATUS>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:593
+#: build/C/man3/termios.3:592
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:592
#, no-wrap
msgid "B<VSTOP>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:601
+#: build/C/man3/termios.3:600
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:600
#, no-wrap
msgid "B<VSUSP>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:611
+#: build/C/man3/termios.3:610
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:610
#, no-wrap
msgid "B<VSWTCH>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:618
+#: build/C/man3/termios.3:617
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:617
#, no-wrap
msgid "B<VTIME>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:621
+#: build/C/man3/termios.3:620
msgid "Timeout in deciseconds for noncanonical read (TIME)."
msgstr ""
#. type: TP
-#: build/C/man3/termios.3:621
+#: build/C/man3/termios.3:620
#, no-wrap
msgid "B<VWERASE>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:630
+#: build/C/man3/termios.3:629
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:635
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:651
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:651
#, no-wrap
msgid "Retrieving and changing terminal settings"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:661
+#: build/C/man3/termios.3:660
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:666
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:666
#, no-wrap
msgid "B<TCSANOW>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:669
+#: build/C/man3/termios.3:668
msgid "the change occurs immediately."
msgstr ""
#. type: IP
-#: build/C/man3/termios.3:669
+#: build/C/man3/termios.3:668
#, no-wrap
msgid "B<TCSADRAIN>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:675
+#: build/C/man3/termios.3:674
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."
msgstr ""
#. type: IP
-#: build/C/man3/termios.3:675
+#: build/C/man3/termios.3:674
#, no-wrap
msgid "B<TCSAFLUSH>"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:680
+#: build/C/man3/termios.3:679
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:679
#, no-wrap
msgid "Canonical and noncanonical mode"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:694
+#: build/C/man3/termios.3:693
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:695
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:695 build/C/man3/termios.3:702 build/C/man3/termios.3:727 build/C/man3/termios.3:736 build/C/man3/termios.3:741 build/C/man3/termios.3:753
#, no-wrap
msgid "*"
msgstr ""
#. type: Plain text
-#: build/C/man3/termios.3:703
+#: build/C/man3/termios.3:702
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:715
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; "
#: build/C/man3/termios.3:727
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: Plain text
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:35
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:42
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:42
#, no-wrap
msgid "TIOCNOTTY"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty.4:43
+#: build/C/man4/tty.4:44
msgid "Detach the calling process from its controlling terminal."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty.4:51
+#: build/C/man4/tty.4:52
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:64
msgid ""
"This B<ioctl>(2) call only works on file descriptors connected to "
"I</dev/tty>. It is used by daemon processes when they are invoked by a user "
msgstr ""
#. type: Plain text
-#: build/C/man4/tty.4:65
+#: build/C/man4/tty.4:66
msgid "/dev/tty"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty.4:75
+#: build/C/man4/tty.4:76
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"
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:21
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:28
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:28
#, 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:29
#, 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:33
msgid "Equivalent to I<tcgetattr(fd, argp)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:32
+#: build/C/man4/tty_ioctl.4:35
msgid "Get the current serial port settings."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:32
+#: build/C/man4/tty_ioctl.4:35
#, 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:39
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:41
msgid "Set the current serial port settings."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:38
+#: build/C/man4/tty_ioctl.4:41
#, 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:45
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:48
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:48
#, 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:52
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:55
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:65
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 "
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:62
+#: build/C/man4/tty_ioctl.4:65
#, no-wrap
msgid "B<TCGETA\tstruct termio *>I<argp>"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:64
+#: build/C/man4/tty_ioctl.4:67
#, no-wrap
msgid "B<TCSETA\tconst struct termio *>I<argp>"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:66
+#: build/C/man4/tty_ioctl.4:69
#, no-wrap
msgid "B<TCSETAW\tconst struct termio *>I<argp>"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:68
+#: build/C/man4/tty_ioctl.4:71
#, no-wrap
msgid "B<TCSETAF\tconst struct termio *>I<argp>"
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:70
+#: build/C/man4/tty_ioctl.4:73
#, no-wrap
msgid "Locking the termios structure"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:78
+#: build/C/man4/tty_ioctl.4:81
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:81
#, 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:86
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:86
#, 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:94
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 "
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:91
+#: build/C/man4/tty_ioctl.4:94
#, 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:99
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:102
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:102
#, 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:105
msgid "Get window size."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:102
+#: build/C/man4/tty_ioctl.4:105
#, 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:108
msgid "Set window size."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:107
+#: build/C/man4/tty_ioctl.4:110
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:119
#, no-wrap
msgid ""
"struct winsize {\n"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:123
+#: build/C/man4/tty_ioctl.4:126
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:126
#, 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:127
#, 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:131
msgid "Equivalent to I<tcsendbreak(fd, arg)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:139
+#: build/C/man4/tty_ioctl.4:142
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:160
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:160
#, 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:168
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:168
#, no-wrap
msgid "B<TIOCSBRK\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:168
+#: build/C/man4/tty_ioctl.4:171
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:171
#, no-wrap
msgid "B<TIOCCBRK\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:171
+#: build/C/man4/tty_ioctl.4:174
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:174
#, no-wrap
msgid "Software flow control"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:172
+#: build/C/man4/tty_ioctl.4:175
#, 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:179
msgid "Equivalent to I<tcflow(fd, arg)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:184
+#: build/C/man4/tty_ioctl.4:187
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:187
#, no-wrap
msgid "Buffer count and flushing"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:185
+#: build/C/man4/tty_ioctl.4:188
#, 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:191
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:191
#, 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:195
msgid "Same as B<FIONREAD>."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:192
+#: build/C/man4/tty_ioctl.4:195
#, 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:198
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:198
#, 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:202
msgid "Equivalent to I<tcflush(fd, arg)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:206
+#: build/C/man4/tty_ioctl.4:209
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:209
#, no-wrap
msgid "Faking input"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:207
+#: build/C/man4/tty_ioctl.4:210
#, 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:213
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:213
#, no-wrap
msgid "Redirecting console output"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:211
+#: build/C/man4/tty_ioctl.4:214
#, no-wrap
msgid "B<TIOCCONS\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:233
+#: build/C/man4/tty_ioctl.4:236
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 "
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:233
+#: build/C/man4/tty_ioctl.4:236
#, no-wrap
msgid "Controlling terminal"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:234
+#: build/C/man4/tty_ioctl.4:237
#, 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:251
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 "
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:248
+#: build/C/man4/tty_ioctl.4:251
#, no-wrap
msgid "B<TIOCNOTTY\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:259
+#: build/C/man4/tty_ioctl.4:262
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:262
#, no-wrap
msgid "Process group and session ID"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:260
+#: build/C/man4/tty_ioctl.4:263
#, 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:267
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:269
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:269
#, 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:273
msgid "Equivalent to I<tcsetpgrp(fd, *argp)>."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:272
+#: build/C/man4/tty_ioctl.4:275
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:275
#, 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:283
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:283
#, no-wrap
msgid "Exclusive mode"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:281
+#: build/C/man4/tty_ioctl.4:284
#, no-wrap
msgid "B<TIOCEXCL\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:292
+#: build/C/man4/tty_ioctl.4:295
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, "
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:292
+#: build/C/man4/tty_ioctl.4:295
#, no-wrap
msgid "B<TIOCNXCL\tvoid>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:295
+#: build/C/man4/tty_ioctl.4:298
msgid "Disable exclusive mode."
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:295
+#: build/C/man4/tty_ioctl.4:298
#, no-wrap
msgid "Line discipline"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:296
+#: build/C/man4/tty_ioctl.4:299
#, 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:302
msgid "Get the line discipline of the terminal."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:299
+#: build/C/man4/tty_ioctl.4:302
#, 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:305
msgid "Set the line discipline of the terminal."
msgstr ""
#. type: SS
-#: build/C/man4/tty_ioctl.4:302
+#: build/C/man4/tty_ioctl.4:305
#, no-wrap
msgid "Pseudoterminal ioctls"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:303
+#: build/C/man4/tty_ioctl.4:306
#, 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:323
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:331
#, 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:338
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:345
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:352
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:352
#, no-wrap
msgid "Modem control"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:350
+#: build/C/man4/tty_ioctl.4:353
#, 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:356
msgid "get the status of modem bits."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:353
+#: build/C/man4/tty_ioctl.4:356
#, 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:359
msgid "set the status of modem bits."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:356
+#: build/C/man4/tty_ioctl.4:359
#, 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:362
msgid "clear the indicated modem bits."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:359
+#: build/C/man4/tty_ioctl.4:362
#, 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:365
msgid "set the indicated modem bits."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:364
+#: build/C/man4/tty_ioctl.4:367
msgid "Bits used by these four ioctls:"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:377
+#: build/C/man4/tty_ioctl.4:380
#, 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:381
#, no-wrap
msgid "Marking a line as local"
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:379
+#: build/C/man4/tty_ioctl.4:382
#, 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:388
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:388
#, 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:396
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:411
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:411
#, no-wrap
msgid "Linux-specific"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:413
+#: build/C/man4/tty_ioctl.4:416
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:416
#, no-wrap
msgid "Kernel debugging"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:415
+#: build/C/man4/tty_ioctl.4:418
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:418
#, 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:434
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:441
msgid ""
"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:445
msgid "Invalid command parameter."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:442
+#: build/C/man4/tty_ioctl.4:445
#, no-wrap
msgid "B<ENOIOCTLCMD>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:445
+#: build/C/man4/tty_ioctl.4:448
msgid "Unknown command."
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:449
+#: build/C/man4/tty_ioctl.4:452
msgid "Inappropriate I<fd>."
msgstr ""
#. type: TP
-#: build/C/man4/tty_ioctl.4:449
+#: build/C/man4/tty_ioctl.4:452
#, no-wrap
msgid "B<EPERM>"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:452
+#: build/C/man4/tty_ioctl.4:455
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:455 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:457
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:462
#, 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:467
#, no-wrap
msgid ""
"int\n"
msgstr ""
#. type: Plain text
-#: build/C/man4/tty_ioctl.4:473
+#: build/C/man4/tty_ioctl.4:476
#, 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:496
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
+#: build/C/man3/ttyname.3:27
#, no-wrap
-msgid "2008-07-14"
+msgid "2012-12-21"
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:75
+#: build/C/man3/ttyname.3:76
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:80
+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: TH
+#: build/C/man3/ttyslot.3:28
+#, no-wrap
+msgid "2010-09-20"
+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 "
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 "
"argument to B<getty>(8) indicating the sequence of line speeds to try "
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 "
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:124
+#: build/C/man3/ttyslot.3:126
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:131
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:140
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:146
msgid "Minix also has I<fttyslot>(I<fd>)."
msgstr ""
#. type: Plain text
-#: build/C/man3/ttyslot.3:148
+#: build/C/man3/ttyslot.3:150
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: 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:54
msgid "B<grantpt>(3), B<posix_openpt>(3), B<ptsname>(3), B<pts>(4), B<pty>(7)"
msgstr ""