| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:33+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "openpty" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2025-05-17" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "openpty, login_tty, forkpty - terminal utility functions" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "LIBRARY" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 61 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "System utilities library (I<libutil>,\\ I<-lutil>)" |
| 63 |
msgstr "" |
| 64 |
|
| 65 |
#. type: SH |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
#, no-wrap |
| 69 |
msgid "SYNOPSIS" |
| 70 |
msgstr "" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "B<#include E<lt>pty.hE<gt>>\n" |
| 77 |
msgstr "" |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 81 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "" |
| 84 |
"B<int openpty(int *>I<amaster>B<, int *>I<aslave>B<, char *>I<name>B<,>\n" |
| 85 |
"B< const struct termios *>I<termp>B<,>\n" |
| 86 |
"B< const struct winsize *>I<winp>B<);>\n" |
| 87 |
"B<pid_t forkpty(int *>I<amaster>B<, char *>I<name>B<,>\n" |
| 88 |
"B< const struct termios *>I<termp>B<,>\n" |
| 89 |
"B< const struct winsize *>I<winp>B<);>\n" |
| 90 |
msgstr "" |
| 91 |
|
| 92 |
#. type: Plain text |
| 93 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 94 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 95 |
#, no-wrap |
| 96 |
msgid "B<#include E<lt>utmp.hE<gt>>\n" |
| 97 |
msgstr "" |
| 98 |
|
| 99 |
#. type: Plain text |
| 100 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 101 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 102 |
#, no-wrap |
| 103 |
msgid "B<int login_tty(int >I<fd>B<);>\n" |
| 104 |
msgstr "" |
| 105 |
|
| 106 |
#. type: SH |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
#, no-wrap |
| 110 |
msgid "DESCRIPTION" |
| 111 |
msgstr "" |
| 112 |
|
| 113 |
#. type: Plain text |
| 114 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 115 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 116 |
msgid "" |
| 117 |
"The B<openpty>() function finds an available pseudoterminal and returns " |
| 118 |
"file descriptors for the master and slave in I<amaster> and I<aslave>. If " |
| 119 |
"I<name> is not NULL, the filename of the slave is returned in I<name>. If " |
| 120 |
"I<termp> is not NULL, the terminal parameters of the slave will be set to " |
| 121 |
"the values in I<termp>. If I<winp> is not NULL, the window size of the " |
| 122 |
"slave will be set to the values in I<winp>." |
| 123 |
msgstr "" |
| 124 |
|
| 125 |
#. type: Plain text |
| 126 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 127 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 128 |
msgid "" |
| 129 |
"The B<login_tty>() function prepares for a login on the terminal referred " |
| 130 |
"to by the file descriptor I<fd> (which may be a real terminal device, or the " |
| 131 |
"slave of a pseudoterminal as returned by B<openpty>()) by creating a new " |
| 132 |
"session, making I<fd> the controlling terminal for the calling process, " |
| 133 |
"setting I<fd> to be the standard input, output, and error streams of the " |
| 134 |
"current process, and closing I<fd>." |
| 135 |
msgstr "" |
| 136 |
|
| 137 |
#. type: Plain text |
| 138 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 139 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 140 |
msgid "" |
| 141 |
"The B<forkpty>() function combines B<openpty>(), B<fork>(2), and " |
| 142 |
"B<login_tty>() to create a new process operating in a pseudoterminal. A " |
| 143 |
"file descriptor referring to master side of the pseudoterminal is returned " |
| 144 |
"in I<amaster>. If I<name> is not NULL, the buffer it points to is used to " |
| 145 |
"return the filename of the slave. The I<termp> and I<winp> arguments, if " |
| 146 |
"not NULL, will determine the terminal attributes and window size of the " |
| 147 |
"slave side of the pseudoterminal." |
| 148 |
msgstr "" |
| 149 |
|
| 150 |
#. type: SH |
| 151 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 152 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 153 |
#, no-wrap |
| 154 |
msgid "RETURN VALUE" |
| 155 |
msgstr "" |
| 156 |
|
| 157 |
#. type: Plain text |
| 158 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 159 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 160 |
msgid "" |
| 161 |
"If a call to B<openpty>(), B<login_tty>(), or B<forkpty>() is not " |
| 162 |
"successful, -1 is returned and I<errno> is set to indicate the error. " |
| 163 |
"Otherwise, B<openpty>(), B<login_tty>(), and the child process of " |
| 164 |
"B<forkpty>() return 0, and the parent process of B<forkpty>() returns the " |
| 165 |
"process ID of the child process." |
| 166 |
msgstr "" |
| 167 |
|
| 168 |
#. type: SH |
| 169 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 170 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 171 |
#, no-wrap |
| 172 |
msgid "ERRORS" |
| 173 |
msgstr "" |
| 174 |
|
| 175 |
#. type: Plain text |
| 176 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 177 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 178 |
msgid "B<openpty>() fails if:" |
| 179 |
msgstr "" |
| 180 |
|
| 181 |
#. type: TP |
| 182 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 183 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 184 |
#, no-wrap |
| 185 |
msgid "B<ENOENT>" |
| 186 |
msgstr "" |
| 187 |
|
| 188 |
#. type: Plain text |
| 189 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 190 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 191 |
msgid "There are no available terminals." |
| 192 |
msgstr "" |
| 193 |
|
| 194 |
#. type: Plain text |
| 195 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 196 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 197 |
msgid "" |
| 198 |
"B<login_tty>() fails if B<ioctl>(2) fails to set I<fd> to the controlling " |
| 199 |
"terminal of the calling process." |
| 200 |
msgstr "" |
| 201 |
|
| 202 |
#. type: Plain text |
| 203 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 204 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 205 |
msgid "B<forkpty>() fails if either B<openpty>() or B<fork>(2) fails." |
| 206 |
msgstr "" |
| 207 |
|
| 208 |
#. type: SH |
| 209 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 210 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 211 |
#, no-wrap |
| 212 |
msgid "ATTRIBUTES" |
| 213 |
msgstr "" |
| 214 |
|
| 215 |
#. type: Plain text |
| 216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 218 |
msgid "" |
| 219 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 220 |
msgstr "" |
| 221 |
|
| 222 |
#. type: tbl table |
| 223 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 224 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 225 |
#, no-wrap |
| 226 |
msgid "Interface" |
| 227 |
msgstr "" |
| 228 |
|
| 229 |
#. type: tbl table |
| 230 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 231 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 232 |
#, no-wrap |
| 233 |
msgid "Attribute" |
| 234 |
msgstr "" |
| 235 |
|
| 236 |
#. type: tbl table |
| 237 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 238 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 239 |
#, no-wrap |
| 240 |
msgid "Value" |
| 241 |
msgstr "" |
| 242 |
|
| 243 |
#. type: tbl table |
| 244 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 245 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 246 |
#, no-wrap |
| 247 |
msgid ".na\n" |
| 248 |
msgstr "" |
| 249 |
|
| 250 |
#. type: tbl table |
| 251 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 252 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 253 |
#, no-wrap |
| 254 |
msgid ".nh\n" |
| 255 |
msgstr "" |
| 256 |
|
| 257 |
#. type: tbl table |
| 258 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 259 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 260 |
#, no-wrap |
| 261 |
msgid "" |
| 262 |
"B<forkpty>(),\n" |
| 263 |
"B<openpty>()" |
| 264 |
msgstr "" |
| 265 |
|
| 266 |
#. type: tbl table |
| 267 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 268 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 269 |
#, no-wrap |
| 270 |
msgid "Thread safety" |
| 271 |
msgstr "" |
| 272 |
|
| 273 |
#. type: tbl table |
| 274 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 275 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 276 |
#, no-wrap |
| 277 |
msgid "MT-Safe locale" |
| 278 |
msgstr "" |
| 279 |
|
| 280 |
#. type: tbl table |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
#, no-wrap |
| 284 |
msgid "B<login_tty>()" |
| 285 |
msgstr "" |
| 286 |
|
| 287 |
#. type: tbl table |
| 288 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 289 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 290 |
#, no-wrap |
| 291 |
msgid "MT-Unsafe race:ttyname" |
| 292 |
msgstr "" |
| 293 |
|
| 294 |
#. type: SH |
| 295 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 296 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 297 |
#, no-wrap |
| 298 |
msgid "STANDARDS" |
| 299 |
msgstr "" |
| 300 |
|
| 301 |
#. type: Plain text |
| 302 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 303 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 304 |
msgid "BSD." |
| 305 |
msgstr "" |
| 306 |
|
| 307 |
#. type: SH |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
#, no-wrap |
| 311 |
msgid "HISTORY" |
| 312 |
msgstr "" |
| 313 |
|
| 314 |
#. type: Plain text |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
msgid "" |
| 318 |
"The B<const> modifiers were added to the structure pointer arguments of " |
| 319 |
"B<openpty>() and B<forkpty>() in glibc 2.8." |
| 320 |
msgstr "" |
| 321 |
|
| 322 |
#. type: Plain text |
| 323 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 324 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 325 |
msgid "" |
| 326 |
"Before glibc 2.0.92, B<openpty>() returns file descriptors for a BSD " |
| 327 |
"pseudoterminal pair; since glibc 2.0.92, it first attempts to open a UNIX 98 " |
| 328 |
"pseudoterminal pair, and falls back to opening a BSD pseudoterminal pair if " |
| 329 |
"that fails." |
| 330 |
msgstr "" |
| 331 |
|
| 332 |
#. type: SH |
| 333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 335 |
#, no-wrap |
| 336 |
msgid "BUGS" |
| 337 |
msgstr "" |
| 338 |
|
| 339 |
#. type: Plain text |
| 340 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 341 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 342 |
msgid "" |
| 343 |
"Nobody knows how much space should be reserved for I<name>. So, calling " |
| 344 |
"B<openpty>() or B<forkpty>() with non-NULL I<name> may not be secure." |
| 345 |
msgstr "" |
| 346 |
|
| 347 |
#. type: SH |
| 348 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 349 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 350 |
#, no-wrap |
| 351 |
msgid "SEE ALSO" |
| 352 |
msgstr "" |
| 353 |
|
| 354 |
#. type: Plain text |
| 355 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 356 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 357 |
msgid "B<fork>(2), B<ttyname>(3), B<pty>(7)" |
| 358 |
msgstr "" |
| 359 |
|
| 360 |
#. type: TH |
| 361 |
#: debian-trixie |
| 362 |
#, no-wrap |
| 363 |
msgid "2024-05-02" |
| 364 |
msgstr "" |
| 365 |
|
| 366 |
#. type: TH |
| 367 |
#: debian-trixie |
| 368 |
#, no-wrap |
| 369 |
msgid "Linux man-pages 6.9.1" |
| 370 |
msgstr "" |
| 371 |
|
| 372 |
#. type: Plain text |
| 373 |
#: debian-trixie |
| 374 |
msgid "System utilities library (I<libutil>, I<-lutil>)" |
| 375 |
msgstr "" |
| 376 |
|
| 377 |
#. type: TH |
| 378 |
#: fedora-44 fedora-rawhide |
| 379 |
#, no-wrap |
| 380 |
msgid "2024-07-23" |
| 381 |
msgstr "" |
| 382 |
|
| 383 |
#. type: TH |
| 384 |
#: fedora-44 fedora-rawhide |
| 385 |
#, no-wrap |
| 386 |
msgid "Linux man-pages 6.13" |
| 387 |
msgstr "" |
| 388 |
|
| 389 |
#. type: TH |
| 390 |
#: mageia-cauldron |
| 391 |
#, no-wrap |
| 392 |
msgid "Linux man-pages 6.17" |
| 393 |
msgstr "" |
| 394 |
|
| 395 |
#. type: TH |
| 396 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 397 |
#, no-wrap |
| 398 |
msgid "Linux man-pages (unreleased)" |
| 399 |
msgstr "" |