Debian Codegraph @

po/es/man2/select.2.po

raw
1 # Spanish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Gerardo Aburruzaga García <[email protected]>, 1998.
5 # Miguel Pérez Ibars <[email protected]>, 2004.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:42+0200\n"
10 "PO-Revision-Date: 2004-09-29 19:53+0200\n"
11 "Last-Translator: Miguel Pérez Ibars <[email protected]>\n"
12 "Language-Team: Spanish <[email protected]>\n"
13 "Language: es\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18 "X-Generator: Lokalize 20.04.1\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, fuzzy, no-wrap
24 #| msgid "pselect()"
25 msgid "select"
26 msgstr "pselect()"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-08"
33 msgstr "8 Febrero 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, fuzzy, no-wrap
38 #| msgid "Linux man-pages 6.17"
39 msgid "Linux man-pages 6.18"
40 msgstr "Páginas de Manual de Linux 6.17"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NOMBRE"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 #, fuzzy
53 #| msgid ""
54 #| "select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO - synchronous I/O "
55 #| "multiplexing"
56 msgid ""
57 "select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO, fd_set - synchronous I/O "
58 "multiplexing"
59 msgstr ""
60 "select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO - multiplexación de E/S "
61 "síncrona"
62
63 #. type: SH
64 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
65 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
66 #, no-wrap
67 msgid "LIBRARY"
68 msgstr "BIBLIOTECA"
69
70 #. type: Plain text
71 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
72 #: opensuse-leap-16-1 opensuse-tumbleweed
73 msgid "Standard C library (I<libc>,\\ I<-lc>)"
74 msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)"
75
76 #. type: SH
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "SYNOPSIS"
81 msgstr "SINOPSIS"
82
83 #. type: Plain text
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid "B<#include E<lt>sys/select.hE<gt>>\n"
88 msgstr "B<#include E<lt>sys/select.hE<gt>>\n"
89
90 #. type: Plain text
91 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
92 #: opensuse-tumbleweed
93 #, no-wrap
94 msgid "B<typedef> /* .\\|.\\|.\\& */ B<fd_set;>\n"
95 msgstr ""
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 #, fuzzy, no-wrap
101 #| msgid ""
102 #| "B<int select(int >I<nfds>B<, fd_set *>I<readfds>B<, fd_set *>I<writefds>B<,>\n"
103 #| "B< fd_set *>I<exceptfds>B<, struct timeval *>I<timeout>B<);>\n"
104 msgid ""
105 "B<int select(int >I<nfds>B<, fd_set *_Nullable restrict >I<readfds>B<,>\n"
106 "B< fd_set *_Nullable restrict >I<writefds>B<,>\n"
107 "B< fd_set *_Nullable restrict >I<exceptfds>B<,>\n"
108 "B< struct timeval *_Nullable restrict >I<timeout>B<);>\n"
109 msgstr ""
110 "B<int select(int >I<nfds>B<, fd_set *>I<readfds>B<, fd_set *>I<writefds>B<,>\n"
111 "B< fd_set *>I<exceptfds>B<, struct timeval *>I<timeout>B<);>\n"
112
113 #. type: Plain text
114 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
115 #: opensuse-tumbleweed
116 #, fuzzy, no-wrap
117 #| msgid ""
118 #| "B<void FD_CLR(int >I<fd>B<, fd_set *>I<set>B<);>\n"
119 #| "B<int FD_ISSET(int >I<fd>B<, fd_set *>I<set>B<);>\n"
120 #| "B<void FD_SET(int >I<fd>B<, fd_set *>I<set>B<);>\n"
121 #| "B<void FD_ZERO(fd_set *>I<set>B<);>\n"
122 msgid ""
123 "B<void FD_CLR(int >I<fd>B<, fd_set *>I<set>B<);>\n"
124 "B<int FD_ISSET(int >I<fd>B<, const fd_set *>I<set>B<);>\n"
125 "B<void FD_SET(int >I<fd>B<, fd_set *>I<set>B<);>\n"
126 "B<void FD_ZERO(fd_set *>I<set>B<);>\n"
127 msgstr ""
128 "B<void FD_CLR(int >I<fd>B<, fd_set *>I<set>B<);>\n"
129 "B<int FD_ISSET(int >I<fd>B<, fd_set *>I<set>B<);>\n"
130 "B<void FD_SET(int >I<fd>B<, fd_set *>I<set>B<);>\n"
131 "B<void FD_ZERO(fd_set *>I<set>B<);>\n"
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 #, fuzzy, no-wrap
137 #| msgid ""
138 #| "B<int pselect(int >I<nfds>B<, fd_set *>I<readfds>B<, fd_set *>I<writefds>B<,>\n"
139 #| "B< fd_set *>I<exceptfds>B<, const struct timespec *>I<timeout>B<,>\n"
140 #| "B< const sigset_t *>I<sigmask>B<);>\n"
141 msgid ""
142 "B<int pselect(int >I<nfds>B<, fd_set *_Nullable restrict >I<readfds>B<,>\n"
143 "B< fd_set *_Nullable restrict >I<writefds>B<,>\n"
144 "B< fd_set *_Nullable restrict >I<exceptfds>B<,>\n"
145 "B< const struct timespec *_Nullable restrict >I<timeout>B<,>\n"
146 "B< const sigset_t *_Nullable restrict >I<sigmask>B<);>\n"
147 msgstr ""
148 "B<int pselect(int >I<nfds>B<, fd_set *>I<readfds>B<, fd_set *>I<writefds>B<,>\n"
149 "B< fd_set *>I<exceptfds>B<, const struct timespec *>I<timeout>B<,>\n"
150 "B< const sigset_t *>I<sigmask>B<);>\n"
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 msgid ""
156 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
157 msgstr ""
158 "Requisitos de Macros de Prueba de Características para glibc (véase "
159 "B<feature_test_macros>(7)):"
160
161 #. type: Plain text
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 #, fuzzy
165 #| msgid "pselect()"
166 msgid "B<pselect>():"
167 msgstr "pselect()"
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 #, no-wrap
173 msgid " _POSIX_C_SOURCE E<gt>= 200112L\n"
174 msgstr " _POSIX_C_SOURCE E<gt>= 200112L\n"
175
176 #. type: SH
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 #, no-wrap
180 msgid "DESCRIPTION"
181 msgstr "DESCRIPCIÓN"
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid ""
187 "B<WARNING>: B<select>() can monitor only file descriptors numbers that are "
188 "less than B<FD_SETSIZE> (1024)\\[em]an unreasonably low limit for many "
189 "modern applications\\[em]and this limitation will not change. All modern "
190 "applications should instead use B<poll>(2) or B<epoll>(7), which do not "
191 "suffer this limitation."
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<select>() allows a program to monitor multiple file descriptors, waiting "
199 "until one or more of the file descriptors become \"ready\" for some class of "
200 "I/O operation (e.g., input possible). A file descriptor is considered ready "
201 "if it is possible to perform a corresponding I/O operation (e.g., "
202 "B<read>(2), or a sufficiently small B<write>(2)) without blocking."
203 msgstr ""
204
205 #. type: SS
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "fd_set"
210 msgstr ""
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid ""
216 "A structure type that can represent a set of file descriptors. According to "
217 "POSIX, the maximum number of file descriptors in an I<fd_set> structure is "
218 "the value of the macro B<FD_SETSIZE>."
219 msgstr ""
220
221 #. type: SS
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, no-wrap
225 msgid "File descriptor sets"
226 msgstr ""
227
228 #. type: Plain text
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 msgid ""
232 "The principal arguments of B<select>() are three \"sets\" of file "
233 "descriptors (declared with the type I<fd_set>), which allow the caller to "
234 "wait for three classes of events on the specified set of file descriptors. "
235 "Each of the I<fd_set> arguments may be specified as NULL if no file "
236 "descriptors are to be watched for the corresponding class of events."
237 msgstr ""
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid ""
243 "B<Note well>: Upon return, each of the file descriptor sets is modified in "
244 "place to indicate which file descriptors are currently \"ready\". Thus, if "
245 "using B<select>() within a loop, the sets I<must be reinitialized> before "
246 "each call."
247 msgstr ""
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 msgid ""
253 "The contents of a file descriptor set can be manipulated using the following "
254 "macros:"
255 msgstr ""
256
257 #. type: TP
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid "B<FD_ZERO>()"
262 msgstr "B<FD_ZERO>()"
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid ""
268 "This macro clears (removes all file descriptors from) I<set>. It should be "
269 "employed as the first step in initializing a file descriptor set."
270 msgstr ""
271
272 #. type: TP
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 #, no-wrap
276 msgid "B<FD_SET>()"
277 msgstr "B<FD_SET>()"
278
279 #. type: Plain text
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 msgid ""
283 "This macro adds the file descriptor I<fd> to I<set>. Adding a file "
284 "descriptor that is already present in the set is a no-op, and does not "
285 "produce an error."
286 msgstr ""
287
288 #. type: TP
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, no-wrap
292 msgid "B<FD_CLR>()"
293 msgstr "B<FD_CLR>()"
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid ""
299 "This macro removes the file descriptor I<fd> from I<set>. Removing a file "
300 "descriptor that is not present in the set is a no-op, and does not produce "
301 "an error."
302 msgstr ""
303
304 #. type: TP
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 #, no-wrap
308 msgid "B<FD_ISSET>()"
309 msgstr "B<FD_ISSET>()"
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 msgid ""
315 "B<select>() modifies the contents of the sets according to the rules "
316 "described below. After calling B<select>(), the B<FD_ISSET>() macro can be "
317 "used to test if a file descriptor is still present in a set. B<FD_ISSET>() "
318 "returns nonzero if the file descriptor I<fd> is present in I<set>, and zero "
319 "if it is not."
320 msgstr ""
321
322 #. type: SS
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid "Arguments"
327 msgstr "Opciones"
328
329 #. type: Plain text
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 msgid "The arguments of B<select>() are as follows:"
333 msgstr ""
334
335 #. type: TP
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 #, no-wrap
339 msgid "I<readfds>"
340 msgstr "I<readfds>"
341
342 #. type: Plain text
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 msgid ""
346 "The file descriptors in this set are watched to see if they are ready for "
347 "reading. A file descriptor is ready for reading if a read operation will "
348 "not block; in particular, a file descriptor is also ready on end-of-file."
349 msgstr ""
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 msgid ""
355 "After B<select>() has returned, I<readfds> will be cleared of all file "
356 "descriptors except for those that are ready for reading."
357 msgstr ""
358
359 #. type: TP
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "I<writefds>"
364 msgstr "I<writefds>"
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 msgid ""
370 "The file descriptors in this set are watched to see if they are ready for "
371 "writing. A file descriptor is ready for writing if a write operation will "
372 "not block. However, even if a file descriptor indicates as writable, a "
373 "large write may still block."
374 msgstr ""
375
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 msgid ""
380 "After B<select>() has returned, I<writefds> will be cleared of all file "
381 "descriptors except for those that are ready for writing."
382 msgstr ""
383
384 #. type: TP
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 #, no-wrap
388 msgid "I<exceptfds>"
389 msgstr "I<exceptfds>"
390
391 #. type: Plain text
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 msgid ""
395 "The file descriptors in this set are watched for \"exceptional "
396 "conditions\". For examples of some exceptional conditions, see the "
397 "discussion of B<POLLPRI> in B<poll>(2)."
398 msgstr ""
399
400 #. type: Plain text
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 msgid ""
404 "After B<select>() has returned, I<exceptfds> will be cleared of all file "
405 "descriptors except for those for which an exceptional condition has occurred."
406 msgstr ""
407
408 #. type: TP
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 #, no-wrap
412 msgid "I<nfds>"
413 msgstr "I<nfds>"
414
415 #. type: Plain text
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 msgid ""
419 "This argument should be set to the highest-numbered file descriptor in any "
420 "of the three sets, plus 1. The indicated file descriptors in each set are "
421 "checked, up to this limit (but see BUGS)."
422 msgstr ""
423
424 #. type: TP
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 #, no-wrap
428 msgid "I<timeout>"
429 msgstr "I<timeout>"
430
431 #. type: Plain text
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 msgid ""
435 "The I<timeout> argument is a I<timeval> structure (shown below) that "
436 "specifies the interval that B<select>() should block waiting for a file "
437 "descriptor to become ready. The call will block until either:"
438 msgstr ""
439
440 #. type: IP
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 #, no-wrap
444 msgid "\\[bu]"
445 msgstr "\\[bu]"
446
447 #. type: Plain text
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 msgid "a file descriptor becomes ready;"
451 msgstr ""
452
453 #. type: Plain text
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 msgid "the call is interrupted by a signal handler; or"
457 msgstr ""
458
459 #. type: Plain text
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 #, fuzzy
463 #| msgid "The timeout"
464 msgid "the timeout expires."
465 msgstr "El plazo de espera o timeout"
466
467 #. type: Plain text
468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
470 msgid ""
471 "Note that the I<timeout> interval will be rounded up to the system clock "
472 "granularity, and kernel scheduling delays mean that the blocking interval "
473 "may overrun by a small amount."
474 msgstr ""
475
476 #. type: Plain text
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 msgid ""
480 "If both fields of the I<timeval> structure are zero, then B<select>() "
481 "returns immediately. (This is useful for polling.)"
482 msgstr ""
483
484 #. type: Plain text
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 msgid ""
488 "If I<timeout> is specified as NULL, B<select>() blocks indefinitely waiting "
489 "for a file descriptor to become ready."
490 msgstr ""
491
492 #. type: SS
493 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
494 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
495 #, no-wrap
496 msgid "pselect()"
497 msgstr "pselect()"
498
499 #. type: Plain text
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 msgid ""
503 "The B<pselect>() system call allows an application to safely wait until "
504 "either a file descriptor becomes ready or until a signal is caught."
505 msgstr ""
506
507 #. type: Plain text
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 #, fuzzy
511 #| msgid "Their function is identical, with three differences:"
512 msgid ""
513 "The operation of B<select>() and B<pselect>() is identical, other than "
514 "these three differences:"
515 msgstr "Su función es idéntica, con tres diferencias:"
516
517 #. type: Plain text
518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
520 msgid ""
521 "B<select>() uses a timeout that is a I<struct timeval> (with seconds and "
522 "microseconds), while B<pselect>() uses a I<struct timespec> (with seconds "
523 "and nanoseconds)."
524 msgstr ""
525 "B<select>() usa un plazo de espera (timeout) que es de tipo I<struct "
526 "timeval> (con segundos y microsegundos), mientras B<pselect>() usa el tipo "
527 "I<struct timespec> (con segundos y nanosegundos)."
528
529 #. type: Plain text
530 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
531 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
532 #, fuzzy
533 #| msgid ""
534 #| "The B<select> function may update the I<timeout> parameter to indicate "
535 #| "how much time was left. The B<pselect> function does not change this "
536 #| "parameter."
537 msgid ""
538 "B<select>() may update the I<timeout> argument to indicate how much time "
539 "was left. B<pselect>() does not change this argument."
540 msgstr ""
541 "La función B<select> puede actualizar el parámetro I<timeout> para indicar "
542 "el tiempo sobrante. La función B<pselect> no modifica este parámetro."
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 #, fuzzy
548 #| msgid ""
549 #| "The B<select> function has no I<sigmask> parameter, and behaves as "
550 #| "B<pselect> called with NULL I<sigmask>."
551 msgid ""
552 "B<select>() has no I<sigmask> argument, and behaves as B<pselect>() called "
553 "with NULL I<sigmask>."
554 msgstr ""
555 "La función B<select> no tiene parámetro I<sigmask> , y se comporta como "
556 "B<pselect> llamada con el argumento I<sigmask> a NULL."
557
558 #. type: Plain text
559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
561 #, fuzzy
562 #| msgid ""
563 #| "I<sigmask> is a pointer to a signal mask (see B<sigprocmask>(2)); if it "
564 #| "is not NULL, then B<pselect> first replaces the current signal mask by "
565 #| "the one pointed to by I<sigmask>, then does the `select' function, and "
566 #| "then restores the original signal mask again."
567 msgid ""
568 "I<sigmask> is a pointer to a signal mask (see B<sigprocmask>(2)); if it is "
569 "not NULL, then B<pselect>() first replaces the current signal mask by the "
570 "one pointed to by I<sigmask>, then does the \"select\" function, and then "
571 "restores the original signal mask. (If I<sigmask> is NULL, the signal mask "
572 "is not modified during the B<pselect>() call.)"
573 msgstr ""
574 "I<sigmask> es un puntero a una máscara de señales (vea B<sigprocmask>(2)); "
575 "si es distinto de NULL, B<pselect> reemplaza en primer lugar la máscara de "
576 "señales actual por aquella a la que apunta I<sigmask>, luego hace la funcion "
577 "`select', y por último restablece la máscara de señales original de nuevo."
578
579 #. type: Plain text
580 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
581 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
582 msgid ""
583 "Other than the difference in the precision of the I<timeout> argument, the "
584 "following B<pselect>() call:"
585 msgstr ""
586
587 #. type: Plain text
588 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
589 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
590 #, no-wrap
591 msgid ""
592 "ready = pselect(nfds, &readfds, &writefds, &exceptfds,\n"
593 " timeout, &sigmask);\n"
594 msgstr ""
595 "ready = pselect(nfds, &readfds, &writefds, &exceptfds,\n"
596 " timeout, &sigmask);\n"
597
598 #. type: Plain text
599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
601 msgid "is equivalent to I<atomically> executing the following calls:"
602 msgstr ""
603
604 #. type: Plain text
605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
607 #, fuzzy, no-wrap
608 #| msgid ""
609 #| "pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);\n"
610 #| "ready = select(nfds, &readfds, &writefds, &exceptfds, timeout);\n"
611 #| "pthread_sigmask(SIG_SETMASK, &origmask, NULL);\n"
612 msgid ""
613 "sigset_t origmask;\n"
614 "\\&\n"
615 "pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);\n"
616 "ready = select(nfds, &readfds, &writefds, &exceptfds, timeout);\n"
617 "pthread_sigmask(SIG_SETMASK, &origmask, NULL);\n"
618 msgstr ""
619 "pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);\n"
620 "ready = select(nfds, &readfds, &writefds, &exceptfds, timeout);\n"
621 "pthread_sigmask(SIG_SETMASK, &origmask, NULL);\n"
622
623 #. type: Plain text
624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
626 #, fuzzy
627 #| msgid ""
628 #| "The idea of B<pselect> is that if one wants to wait for an event, either "
629 #| "a signal or something on a file descriptor, an atomic test is needed to "
630 #| "prevent race conditions. (Suppose the signal handler sets a global flag "
631 #| "and returns. Then a test of this global flag followed by a call of "
632 #| "B<select>() could hang indefinitely if the signal arrived just after the "
633 #| "test but just before the call. On the other hand, B<pselect> allows one "
634 #| "to first block signals, handle the signals that have come in, then call "
635 #| "B<pselect>() with the desired I<sigmask>, avoiding the race.) Since "
636 #| "Linux today does not have a I<pselect>() system call, the current glibc2 "
637 #| "routine still contains this race."
638 msgid ""
639 "The reason that B<pselect>() is needed is that if one wants to wait for "
640 "either a signal or for a file descriptor to become ready, then an atomic "
641 "test is needed to prevent race conditions. (Suppose the signal handler sets "
642 "a global flag and returns. Then a test of this global flag followed by a "
643 "call of B<select>() could hang indefinitely if the signal arrived just "
644 "after the test but just before the call. By contrast, B<pselect>() allows "
645 "one to first block signals, handle the signals that have come in, then call "
646 "B<pselect>() with the desired I<sigmask>, avoiding the race.)"
647 msgstr ""
648 "La idea de B<pselect> es que si alguien quiere esperar un evento, bien una "
649 "señal o cualquier otra cosa sobre un descriptor de fichero, se necesita una "
650 "comprobación atómica para evitar condiciones de carrera. (Suponga que el "
651 "manejador de señales fija una opción global y regresa. Después una "
652 "comprobación de esta opción seguida de una llamada a B<select>() podría "
653 "colgarse indefinidamente si la señal llegó justo después de la comprobación "
654 "pero justo antes de la llamada. Por otra parte, B<pselect> le permite "
655 "bloquear señales en primer lugar, manejar las señales que hayan llegado, y "
656 "después llamar a B<pselect>() con la máscara I<sigmask> deseada, evitando "
657 "la condición de carrera.) Puesto que en la actualidad Linux no cuenta con "
658 "una llamada al sistema I<pselect>() , la rutina actual de glibc2 todavía "
659 "tiene este defecto."
660
661 #. type: SS
662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
664 #, no-wrap
665 msgid "The timeout"
666 msgstr "El plazo de espera o timeout"
667
668 #. type: Plain text
669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
671 msgid ""
672 "The I<timeout> argument for B<select>() is a structure of the following "
673 "type:"
674 msgstr ""
675
676 #. type: Plain text
677 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
678 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
679 #, no-wrap
680 msgid ""
681 "struct timeval {\n"
682 " time_t tv_sec; /* seconds */\n"
683 " suseconds_t tv_usec; /* microseconds */\n"
684 "};\n"
685 msgstr ""
686 "struct timeval {\n"
687 " time_t tv_sec; /* segundos */\n"
688 " suseconds_t tv_usec; /* microsegundos */\n"
689 "};\n"
690
691 #. type: Plain text
692 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
693 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
694 msgid ""
695 "The corresponding argument for B<pselect>() is a B<timespec>(3) structure."
696 msgstr ""
697
698 #. .P - it is rumored that:
699 #. On BSD, when a timeout occurs, the file descriptor bits are not changed.
700 #. - it is certainly true that:
701 #. Linux follows SUSv2 and sets the bit masks to zero upon a timeout.
702 #. type: Plain text
703 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
704 #: opensuse-tumbleweed
705 #, fuzzy
706 #| msgid ""
707 #| "On Linux, the function B<select> modifies I<timeout> to reflect the "
708 #| "amount of time not slept; most other implementations do not do this. "
709 #| "This causes problems both when Linux code which reads I<timeout> is "
710 #| "ported to other operating systems, and when code is ported to Linux that "
711 #| "reuses a struct timeval for multiple B<select>s in a loop without "
712 #| "reinitializing it. Consider I<timeout> to be undefined after B<select> "
713 #| "returns."
714 msgid ""
715 "On Linux, B<select>() modifies I<timeout> to reflect the amount of time not "
716 "slept; most other implementations do not do this. (POSIX.1 permits either "
717 "behavior.) This causes problems both when Linux code which reads I<timeout> "
718 "is ported to other operating systems, and when code is ported to Linux that "
719 "reuses a I<struct\\ timeval> for multiple B<select>()s in a loop without "
720 "reinitializing it. Consider I<timeout> to be undefined after B<select>() "
721 "returns."
722 msgstr ""
723 "En Linux, I<timeout> se modifica para reflejar la cantidad de tiempo no "
724 "dormido; la mayoría de otras implementaciones no hacen esto. Esto produce "
725 "problemas cuando el código de Linux que lee I<timeout> se transporta a otros "
726 "sistemas operativos, y cuando se transporta a Linux código que reutiliza una "
727 "struct timeval para varias B<select>s en un bucle sin reinicializarla. "
728 "Considere que I<timeout> está indefinido después de que B<select> regrese."
729
730 #. type: SH
731 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
732 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
733 #, no-wrap
734 msgid "RETURN VALUE"
735 msgstr "VALOR DEVUELTO"
736
737 #. type: Plain text
738 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
739 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
740 msgid ""
741 "On success, B<select>() and B<pselect>() return the number of file "
742 "descriptors contained in the three returned descriptor sets (that is, the "
743 "total number of bits that are set in I<readfds>, I<writefds>, "
744 "I<exceptfds>). The return value may be zero if the timeout expired before "
745 "any file descriptors became ready."
746 msgstr ""
747
748 #. type: Plain text
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 msgid ""
752 "On error, -1 is returned, and I<errno> is set to indicate the error; the "
753 "file descriptor sets are unmodified, and I<timeout> becomes undefined."
754 msgstr ""
755
756 #. type: SH
757 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
758 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
759 #, no-wrap
760 msgid "ERRORS"
761 msgstr "ERRORES"
762
763 #. type: TP
764 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
765 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
766 #, no-wrap
767 msgid "B<EBADF>"
768 msgstr "B<EBADF>"
769
770 #. type: Plain text
771 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
772 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
773 msgid ""
774 "An invalid file descriptor was given in one of the sets. (Perhaps a file "
775 "descriptor that was already closed, or one on which an error has occurred.) "
776 "However, see BUGS."
777 msgstr ""
778
779 #. type: TP
780 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
781 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
782 #, no-wrap
783 msgid "B<EINTR>"
784 msgstr "B<EINTR>"
785
786 #. type: Plain text
787 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
788 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
789 msgid "A signal was caught; see B<signal>(7)."
790 msgstr "Se atrapó una señal; consulte B<signal>(7)."
791
792 #. type: TP
793 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
794 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
795 #, no-wrap
796 msgid "B<EINVAL>"
797 msgstr "B<EINVAL>"
798
799 #. type: Plain text
800 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
801 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
802 msgid ""
803 "I<nfds> is negative or exceeds the B<RLIMIT_NOFILE> resource limit (see "
804 "B<getrlimit>(2))."
805 msgstr ""
806
807 #. type: Plain text
808 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
809 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
810 msgid "The value contained within I<timeout> is invalid."
811 msgstr "El valor contenido en I<timeout> no es válido."
812
813 #. type: TP
814 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
815 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
816 #, no-wrap
817 msgid "B<ENOMEM>"
818 msgstr "B<ENOMEM>"
819
820 #. type: Plain text
821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
823 #, fuzzy
824 #| msgid "B<select> was unable to allocate memory for internal tables."
825 msgid "Unable to allocate memory for internal tables."
826 msgstr ""
827 "B<select> no ha sido capaz de reservar memoria para las tablas internas."
828
829 #. type: SH
830 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
831 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
832 #, no-wrap
833 msgid "VERSIONS"
834 msgstr "VERSIONES"
835
836 #. Darwin, according to a report by Jeremy Sequoia, relayed by Josh Triplett
837 #. type: Plain text
838 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
839 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
840 msgid ""
841 "On some other UNIX systems, B<select>() can fail with the error B<EAGAIN> "
842 "if the system fails to allocate kernel-internal resources, rather than "
843 "B<ENOMEM> as Linux does. POSIX specifies this error for B<poll>(2), but not "
844 "for B<select>(). Portable programs may wish to check for B<EAGAIN> and "
845 "loop, just as with B<EINTR>."
846 msgstr ""
847
848 #. type: SH
849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
851 #, no-wrap
852 msgid "STANDARDS"
853 msgstr "ESTÁNDARES"
854
855 #. type: Plain text
856 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
857 #: opensuse-tumbleweed
858 msgid "POSIX.1-2024."
859 msgstr "POSIX.1-2024."
860
861 #. type: SH
862 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
863 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
864 #, no-wrap
865 msgid "HISTORY"
866 msgstr "HISTORIAL"
867
868 #. type: TP
869 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
870 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
871 #, fuzzy, no-wrap
872 #| msgid "pselect()"
873 msgid "B<select>()"
874 msgstr "pselect()"
875
876 #. type: Plain text
877 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
878 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
879 #, fuzzy
880 #| msgid "POSIX.1-2001, SVr4, 4.3BSD."
881 msgid "POSIX.1-2001, 4.4BSD (first appeared in 4.2BSD)."
882 msgstr "POSIX.1-2001, SVr4, 4.3BSD."
883
884 #. type: Plain text
885 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
886 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
887 #, fuzzy
888 #| msgid ""
889 #| "4.4BSD (the B<select> function first appeared in 4.2BSD). Generally "
890 #| "portable to/from non-BSD systems supporting clones of the BSD socket "
891 #| "layer (including System V variants). However, note that the System V "
892 #| "variant typically sets the timeout variable before exit, but the BSD "
893 #| "variant does not."
894 msgid ""
895 "Generally portable to/from non-BSD systems supporting clones of the BSD "
896 "socket layer (including System\\ V variants). However, note that the "
897 "System\\ V variant typically sets the timeout variable before returning, but "
898 "the BSD variant does not."
899 msgstr ""
900 "4.4BSD (la función B<select> apareció por primera vez en 4.2BSD). "
901 "Generalmente es transportable a o desde sistemas no-BSD que admitan clones "
902 "de la capa de zócalos de BSD (incluyendo variantes System V). Sin embargo, "
903 "observe que la variante System V normalmente pone la variable de espera "
904 "antes de salir, pero la variante BSD no."
905
906 #. type: TP
907 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
908 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
909 #, fuzzy, no-wrap
910 #| msgid "pselect()"
911 msgid "B<pselect>()"
912 msgstr "pselect()"
913
914 #. type: Plain text
915 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
916 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
917 #, fuzzy
918 #| msgid "glibc 2.1. C99, POSIX.1-2001."
919 msgid "Linux 2.6.16. POSIX.1g, POSIX.1-2001."
920 msgstr "glibc 2.1. C99, POSIX.1-2001."
921
922 #. type: Plain text
923 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
924 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
925 msgid "Prior to this, it was emulated in glibc (but see BUGS)."
926 msgstr ""
927
928 #. type: TP
929 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
930 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
931 #, fuzzy, no-wrap
932 #| msgid "B<nounset>"
933 msgid "B<fd_set>"
934 msgstr "B<nounset>"
935
936 #. type: Plain text
937 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
938 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
939 msgid "POSIX.1-2001."
940 msgstr "POSIX.1-2001."
941
942 #. type: SH
943 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
944 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
945 #, no-wrap
946 msgid "NOTES"
947 msgstr "NOTAS"
948
949 #. type: Plain text
950 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
951 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
952 msgid ""
953 "The following header also provides the I<fd_set> type: I<E<lt>sys/"
954 "time.hE<gt>>."
955 msgstr ""
956
957 #. type: Plain text
958 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
959 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
960 #, fuzzy
961 #| msgid ""
962 #| "An fd_set is a fixed size buffer. Executing FD_CLR or FD_SET with a value "
963 #| "of I<fd> that is negative or is equal to or larger than FD_SETSIZE will "
964 #| "result in undefined behavior. Moreover, POSIX requires I<fd> to be a "
965 #| "valid file descriptor."
966 msgid ""
967 "An I<fd_set> is a fixed size buffer. Executing B<FD_CLR>() or B<FD_SET>() "
968 "with a value of I<fd> that is negative or is equal to or larger than "
969 "B<FD_SETSIZE> will result in undefined behavior. Moreover, POSIX requires "
970 "I<fd> to be a valid file descriptor."
971 msgstr ""
972 "fd_set es un buffer de tamaño fijo. Ejecutar FD_CLR o FD_SET con un valor de "
973 "I<fd> que sea negativo o igual o mayor que FD_SETSIZE tendrá un "
974 "comportamiento indefinido. Además, POSIX requiere que I<fd> sea un "
975 "descriptor de fichero válido."
976
977 #. type: Plain text
978 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
979 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
980 msgid ""
981 "The operation of B<select>() and B<pselect>() is not affected by the "
982 "B<O_NONBLOCK> flag."
983 msgstr ""
984
985 #. type: SS
986 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
987 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
988 #, no-wrap
989 msgid "The self-pipe trick"
990 msgstr ""
991
992 #. type: Plain text
993 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
994 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
995 msgid ""
996 "On systems that lack B<pselect>(), reliable (and more portable) signal "
997 "trapping can be achieved using the self-pipe trick. In this technique, a "
998 "signal handler writes a byte to a pipe whose other end is monitored by "
999 "B<select>() in the main program. (To avoid possibly blocking when writing "
1000 "to a pipe that may be full or reading from a pipe that may be empty, "
1001 "nonblocking I/O is used when reading from and writing to the pipe.)"
1002 msgstr ""
1003
1004 #. type: SS
1005 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1006 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1007 #, no-wrap
1008 msgid "Emulating usleep(3)"
1009 msgstr ""
1010
1011 #. type: Plain text
1012 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1013 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1014 #, fuzzy
1015 #| msgid ""
1016 #| "Some code calls B<select> with all three sets empty, I<n> zero, and a non-"
1017 #| "null I<timeout> as a fairly portable way to sleep with subsecond "
1018 #| "precision."
1019 msgid ""
1020 "Before the advent of B<usleep>(3), some code employed a call to B<select>() "
1021 "with all three sets empty, I<nfds> zero, and a non-NULL I<timeout> as a "
1022 "fairly portable way to sleep with subsecond precision."
1023 msgstr ""
1024 "Hay algún código por ahí que llama a B<select> con los tres conjuntos "
1025 "vacíos, I<n> cero, y un I<timeout> distinto de cero como una forma "
1026 "transportable y curiosa de dormir con una precisión por debajo del segundo."
1027
1028 #. type: SS
1029 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1030 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1031 #, no-wrap
1032 msgid "Correspondence between select() and poll() notifications"
1033 msgstr ""
1034
1035 #. fs/select.c
1036 #. type: Plain text
1037 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1038 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1039 msgid ""
1040 "Within the Linux kernel source, we find the following definitions which show "
1041 "the correspondence between the readable, writable, and exceptional condition "
1042 "notifications of B<select>() and the event notifications provided by "
1043 "B<poll>(2) and B<epoll>(7):"
1044 msgstr ""
1045
1046 #. type: Plain text
1047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1048 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1049 #, no-wrap
1050 msgid ""
1051 "#define POLLIN_SET (EPOLLRDNORM | EPOLLRDBAND | EPOLLIN |\n"
1052 " EPOLLHUP | EPOLLERR)\n"
1053 " /* Ready for reading */\n"
1054 "#define POLLOUT_SET (EPOLLWRBAND | EPOLLWRNORM | EPOLLOUT |\n"
1055 " EPOLLERR)\n"
1056 " /* Ready for writing */\n"
1057 "#define POLLEX_SET (EPOLLPRI)\n"
1058 " /* Exceptional condition */\n"
1059 msgstr ""
1060
1061 #. type: SS
1062 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1063 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1064 #, no-wrap
1065 msgid "Multithreaded applications"
1066 msgstr ""
1067
1068 #. type: Plain text
1069 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1070 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1071 msgid ""
1072 "If a file descriptor being monitored by B<select>() is closed in another "
1073 "thread, the result is unspecified. On some UNIX systems, B<select>() "
1074 "unblocks and returns, with an indication that the file descriptor is ready "
1075 "(a subsequent I/O operation will likely fail with an error, unless another "
1076 "process reopens the file descriptor between the time B<select>() returned "
1077 "and the I/O operation is performed). On Linux (and some other systems), "
1078 "closing the file descriptor in another thread has no effect on B<select>(). "
1079 "In summary, any application that relies on a particular behavior in this "
1080 "scenario must be considered buggy."
1081 msgstr ""
1082
1083 #. type: SS
1084 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1085 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1086 #, no-wrap
1087 msgid "C library/kernel differences"
1088 msgstr "Diferencias núcleo / biblioteca C"
1089
1090 #. type: Plain text
1091 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1092 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1093 msgid ""
1094 "The Linux kernel allows file descriptor sets of arbitrary size, determining "
1095 "the length of the sets to be checked from the value of I<nfds>. However, in "
1096 "the glibc implementation, the I<fd_set> type is fixed in size. See also "
1097 "BUGS."
1098 msgstr ""
1099
1100 #. type: Plain text
1101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1103 msgid ""
1104 "The B<pselect>() interface described in this page is implemented by glibc. "
1105 "The underlying Linux system call is named B<pselect6>(). This system call "
1106 "has somewhat different behavior from the glibc wrapper function."
1107 msgstr ""
1108
1109 #. type: Plain text
1110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1112 msgid ""
1113 "The Linux B<pselect6>() system call modifies its I<timeout> argument. "
1114 "However, the glibc wrapper function hides this behavior by using a local "
1115 "variable for the timeout argument that is passed to the system call. Thus, "
1116 "the glibc B<pselect>() function does not modify its I<timeout> argument; "
1117 "this is the behavior required by POSIX.1-2001."
1118 msgstr ""
1119
1120 #. type: Plain text
1121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1123 msgid ""
1124 "The final argument of the B<pselect6>() system call is not a I<sigset_t\\ "
1125 "*> pointer, but is instead a structure of the form:"
1126 msgstr ""
1127
1128 #. type: Plain text
1129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1131 #, no-wrap
1132 msgid ""
1133 "struct {\n"
1134 " const kernel_sigset_t *ss; /* Pointer to signal set */\n"
1135 " size_t ss_len; /* Size (in bytes) of object\n"
1136 " pointed to by \\[aq]ss\\[aq] */\n"
1137 "};\n"
1138 msgstr ""
1139
1140 #. type: Plain text
1141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1143 msgid ""
1144 "This allows the system call to obtain both a pointer to the signal set and "
1145 "its size, while allowing for the fact that most architectures support a "
1146 "maximum of 6 arguments to a system call. See B<sigprocmask>(2) for a "
1147 "discussion of the difference between the kernel and libc notion of the "
1148 "signal set."
1149 msgstr ""
1150
1151 #. type: SS
1152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1154 #, no-wrap
1155 msgid "Historical glibc details"
1156 msgstr ""
1157
1158 #. type: Plain text
1159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1161 msgid ""
1162 "glibc 2.0 provided an incorrect version of B<pselect>() that did not take a "
1163 "I<sigmask> argument."
1164 msgstr ""
1165
1166 #. type: Plain text
1167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1169 msgid ""
1170 "From glibc 2.1 to glibc 2.2.1, one must define B<_GNU_SOURCE> in order to "
1171 "obtain the declaration of B<pselect>() from I<E<lt>sys/select.hE<gt>>."
1172 msgstr ""
1173
1174 #. type: SH
1175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1177 #, no-wrap
1178 msgid "BUGS"
1179 msgstr "ERRORES"
1180
1181 #. type: Plain text
1182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1184 msgid ""
1185 "POSIX allows an implementation to define an upper limit, advertised via the "
1186 "constant B<FD_SETSIZE>, on the range of file descriptors that can be "
1187 "specified in a file descriptor set. The Linux kernel imposes no fixed "
1188 "limit, but the glibc implementation makes I<fd_set> a fixed-size type, with "
1189 "B<FD_SETSIZE> defined as 1024, and the B<FD_*>() macros operating according "
1190 "to that limit. To monitor file descriptors greater than 1023, use "
1191 "B<poll>(2) or B<epoll>(7) instead."
1192 msgstr ""
1193
1194 #. type: Plain text
1195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1197 msgid ""
1198 "The implementation of the I<fd_set> arguments as value-result arguments is a "
1199 "design error that is avoided in B<poll>(2) and B<epoll>(7)."
1200 msgstr ""
1201
1202 #. type: Plain text
1203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1205 msgid ""
1206 "According to POSIX, B<select>() should check all specified file descriptors "
1207 "in the three file descriptor sets, up to the limit I<nfds-1>. However, the "
1208 "current implementation ignores any file descriptor in these sets that is "
1209 "greater than the maximum file descriptor number that the process currently "
1210 "has open. According to POSIX, any such file descriptor that is specified in "
1211 "one of the sets should result in the error B<EBADF>."
1212 msgstr ""
1213
1214 #. type: Plain text
1215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1217 msgid ""
1218 "Starting with glibc 2.1, glibc provided an emulation of B<pselect>() that "
1219 "was implemented using B<sigprocmask>(2) and B<select>(). This "
1220 "implementation remained vulnerable to the very race condition that "
1221 "B<pselect>() was designed to prevent. Modern versions of glibc use the "
1222 "(race-free) B<pselect>() system call on kernels where it is provided."
1223 msgstr ""
1224
1225 #. Stevens discusses a case where accept can block after select
1226 #. returns successfully because of an intervening RST from the client.
1227 #. Maybe the kernel should have returned EIO in such a situation?
1228 #. type: Plain text
1229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1231 msgid ""
1232 "On Linux, B<select>() may report a socket file descriptor as \"ready for "
1233 "reading\", while nevertheless a subsequent read blocks. This could for "
1234 "example happen when data has arrived but upon examination has the wrong "
1235 "checksum and is discarded. There may be other circumstances in which a file "
1236 "descriptor is spuriously reported as ready. Thus it may be safer to use "
1237 "B<O_NONBLOCK> on sockets that should not block."
1238 msgstr ""
1239
1240 #. type: Plain text
1241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1243 msgid ""
1244 "On Linux, B<select>() also modifies I<timeout> if the call is interrupted "
1245 "by a signal handler (i.e., the B<EINTR> error return). This is not "
1246 "permitted by POSIX.1. The Linux B<pselect>() system call has the same "
1247 "behavior, but the glibc wrapper hides this behavior by internally copying "
1248 "the I<timeout> to a local variable and passing that variable to the system "
1249 "call."
1250 msgstr ""
1251
1252 #. type: SH
1253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1255 #, no-wrap
1256 msgid "EXAMPLES"
1257 msgstr "EJEMPLOS"
1258
1259 #. type: Plain text
1260 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1261 #: opensuse-tumbleweed
1262 #, no-wrap
1263 msgid ""
1264 "#include E<lt>stdio.hE<gt>\n"
1265 "#include E<lt>stdlib.hE<gt>\n"
1266 "#include E<lt>sys/select.hE<gt>\n"
1267 "#include E<lt>sys/time.hE<gt>\n"
1268 "\\&\n"
1269 "int\n"
1270 "main(void)\n"
1271 "{\n"
1272 " int retval;\n"
1273 " fd_set rfds;\n"
1274 " struct timeval tv;\n"
1275 "\\&\n"
1276 " /* Watch stdin (fd 0) to see when it has input. */\n"
1277 "\\&\n"
1278 " FD_ZERO(&rfds);\n"
1279 " FD_SET(0, &rfds);\n"
1280 "\\&\n"
1281 " /* Wait up to five seconds. */\n"
1282 "\\&\n"
1283 " tv.tv_sec = 5;\n"
1284 " tv.tv_usec = 0;\n"
1285 "\\&\n"
1286 " retval = select(1, &rfds, NULL, NULL, &tv);\n"
1287 " /* Don\\[aq]t rely on the value of tv now! */\n"
1288 "\\&\n"
1289 " if (retval == -1)\n"
1290 " perror(\"select()\");\n"
1291 " else if (retval)\n"
1292 " printf(\"Data is available now.\\[rs]n\");\n"
1293 " /* FD_ISSET(0, &rfds) will be true. */\n"
1294 " else\n"
1295 " printf(\"No data within five seconds.\\[rs]n\");\n"
1296 "\\&\n"
1297 " exit(EXIT_SUCCESS);\n"
1298 "}\n"
1299 msgstr ""
1300
1301 #. SRC END
1302 #. type: SH
1303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1305 #, no-wrap
1306 msgid "SEE ALSO"
1307 msgstr "VÉASE TAMBIÉN"
1308
1309 #. type: Plain text
1310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1312 #, fuzzy
1313 #| msgid ""
1314 #| "B<accept>(2), B<connect>(2), B<poll>(2), B<read>(2), B<recv>(2), "
1315 #| "B<restart_syscall>(2), B<send>(2), B<sigprocmask>(2), B<write>(2), "
1316 #| "B<epoll>(7), B<time>(7)"
1317 msgid ""
1318 "B<accept>(2), B<connect>(2), B<poll>(2), B<read>(2), B<recv>(2), "
1319 "B<restart_syscall>(2), B<send>(2), B<sigprocmask>(2), B<write>(2), "
1320 "B<timespec>(3), B<epoll>(7), B<time>(7)"
1321 msgstr ""
1322 "B<accept>(2), B<connect>(2), B<poll>(2), B<read>(2), B<recv>(2), "
1323 "B<restart_syscall>(2), B<send>(2), B<sigprocmask>(2), B<write>(2), "
1324 "B<epoll>(7), B<time>(7)"
1325
1326 #. type: Plain text
1327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1329 msgid "For a tutorial with discussion and examples, see B<select_tut>(2)."
1330 msgstr "Para un tutorial detallado con ejemplos, vea B<select_tut>(2)."
1331
1332 #. type: TH
1333 #: debian-trixie
1334 #, no-wrap
1335 msgid "2024-06-15"
1336 msgstr "15 Junio 2024"
1337
1338 #. type: TH
1339 #: debian-trixie
1340 #, no-wrap
1341 msgid "Linux man-pages 6.9.1"
1342 msgstr "Páginas de Manual de Linux 6.9.1"
1343
1344 #. type: Plain text
1345 #: debian-trixie
1346 msgid "Standard C library (I<libc>, I<-lc>)"
1347 msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)"
1348
1349 #. type: Plain text
1350 #: debian-trixie fedora-44 fedora-rawhide
1351 #, no-wrap
1352 msgid "B<typedef> /* ... */ B<fd_set;>\n"
1353 msgstr ""
1354
1355 #. type: Plain text
1356 #: debian-trixie fedora-44 fedora-rawhide
1357 #, no-wrap
1358 msgid ""
1359 "B<void FD_CLR(int >I<fd>B<, fd_set *>I<set>B<);>\n"
1360 "B<int FD_ISSET(int >I<fd>B<, fd_set *>I<set>B<);>\n"
1361 "B<void FD_SET(int >I<fd>B<, fd_set *>I<set>B<);>\n"
1362 "B<void FD_ZERO(fd_set *>I<set>B<);>\n"
1363 msgstr ""
1364 "B<void FD_CLR(int >I<fd>B<, fd_set *>I<set>B<);>\n"
1365 "B<int FD_ISSET(int >I<fd>B<, fd_set *>I<set>B<);>\n"
1366 "B<void FD_SET(int >I<fd>B<, fd_set *>I<set>B<);>\n"
1367 "B<void FD_ZERO(fd_set *>I<set>B<);>\n"
1368
1369 #. .P - it is rumored that:
1370 #. On BSD, when a timeout occurs, the file descriptor bits are not changed.
1371 #. - it is certainly true that:
1372 #. Linux follows SUSv2 and sets the bit masks to zero upon a timeout.
1373 #. type: Plain text
1374 #: debian-trixie fedora-44 fedora-rawhide
1375 #, fuzzy
1376 #| msgid ""
1377 #| "On Linux, the function B<select> modifies I<timeout> to reflect the "
1378 #| "amount of time not slept; most other implementations do not do this. "
1379 #| "This causes problems both when Linux code which reads I<timeout> is "
1380 #| "ported to other operating systems, and when code is ported to Linux that "
1381 #| "reuses a struct timeval for multiple B<select>s in a loop without "
1382 #| "reinitializing it. Consider I<timeout> to be undefined after B<select> "
1383 #| "returns."
1384 msgid ""
1385 "On Linux, B<select>() modifies I<timeout> to reflect the amount of time not "
1386 "slept; most other implementations do not do this. (POSIX.1 permits either "
1387 "behavior.) This causes problems both when Linux code which reads I<timeout> "
1388 "is ported to other operating systems, and when code is ported to Linux that "
1389 "reuses a I<struct timeval> for multiple B<select>()s in a loop without "
1390 "reinitializing it. Consider I<timeout> to be undefined after B<select>() "
1391 "returns."
1392 msgstr ""
1393 "En Linux, I<timeout> se modifica para reflejar la cantidad de tiempo no "
1394 "dormido; la mayoría de otras implementaciones no hacen esto. Esto produce "
1395 "problemas cuando el código de Linux que lee I<timeout> se transporta a otros "
1396 "sistemas operativos, y cuando se transporta a Linux código que reutiliza una "
1397 "struct timeval para varias B<select>s en un bucle sin reinicializarla. "
1398 "Considere que I<timeout> está indefinido después de que B<select> regrese."
1399
1400 #. type: Plain text
1401 #: debian-trixie fedora-44 fedora-rawhide
1402 msgid "POSIX.1-2008."
1403 msgstr "POSIX.1-2008."
1404
1405 #. type: Plain text
1406 #: debian-trixie
1407 #, no-wrap
1408 msgid ""
1409 "#include E<lt>stdio.hE<gt>\n"
1410 "#include E<lt>stdlib.hE<gt>\n"
1411 "#include E<lt>sys/select.hE<gt>\n"
1412 "\\&\n"
1413 "int\n"
1414 "main(void)\n"
1415 "{\n"
1416 " int retval;\n"
1417 " fd_set rfds;\n"
1418 " struct timeval tv;\n"
1419 "\\&\n"
1420 " /* Watch stdin (fd 0) to see when it has input. */\n"
1421 "\\&\n"
1422 " FD_ZERO(&rfds);\n"
1423 " FD_SET(0, &rfds);\n"
1424 "\\&\n"
1425 " /* Wait up to five seconds. */\n"
1426 "\\&\n"
1427 " tv.tv_sec = 5;\n"
1428 " tv.tv_usec = 0;\n"
1429 "\\&\n"
1430 " retval = select(1, &rfds, NULL, NULL, &tv);\n"
1431 " /* Don\\[aq]t rely on the value of tv now! */\n"
1432 "\\&\n"
1433 " if (retval == -1)\n"
1434 " perror(\"select()\");\n"
1435 " else if (retval)\n"
1436 " printf(\"Data is available now.\\[rs]n\");\n"
1437 " /* FD_ISSET(0, &rfds) will be true. */\n"
1438 " else\n"
1439 " printf(\"No data within five seconds.\\[rs]n\");\n"
1440 "\\&\n"
1441 " exit(EXIT_SUCCESS);\n"
1442 "}\n"
1443 msgstr ""
1444
1445 #. type: TH
1446 #: fedora-44 fedora-rawhide
1447 #, no-wrap
1448 msgid "2024-11-03"
1449 msgstr "3 Noviembre 2024"
1450
1451 #. type: TH
1452 #: fedora-44 fedora-rawhide
1453 #, no-wrap
1454 msgid "Linux man-pages 6.13"
1455 msgstr "Páginas de Manual de Linux 6.13"
1456
1457 #. type: Plain text
1458 #: fedora-44 fedora-rawhide
1459 #, no-wrap
1460 msgid ""
1461 "#include E<lt>stdio.hE<gt>\n"
1462 "#include E<lt>stdlib.hE<gt>\n"
1463 "#include E<lt>sys/select.hE<gt>\n"
1464 "#include E<lt>sys/time.hE<gt>\n"
1465 "\\&\n"
1466 "int\n"
1467 "main(void)\n"
1468 "{\n"
1469 " int retval;\n"
1470 " fd_set rfds;\n"
1471 " struct timeval tv;\n"
1472 "\\&\n"
1473 " /* Watch stdin (fd 0) to see when it has input. */\n"
1474 "\\&\n"
1475 " FD_ZERO(&rfds);\n"
1476 " FD_SET(0, &rfds);\n"
1477 "\\&\n"
1478 " /* Wait up to five seconds. */\n"
1479 "\\&\n"
1480 " tv.tv_sec = 5;\n"
1481 " tv.tv_usec = 0;\n"
1482 "\\&\n"
1483 " retval = select(1, &rfds, NULL, NULL, &tv);\n"
1484 " /* Don\\[aq]t rely on the value of tv now! */\n"
1485 "\\&\n"
1486 " if (retval == -1)\n"
1487 " perror(\"select()\");\n"
1488 " else if (retval)\n"
1489 " printf(\"Data is available now.\\[rs]n\");\n"
1490 " /* FD_ISSET(0, &rfds) will be true. */\n"
1491 " else\n"
1492 " printf(\"No data within five seconds.\\[rs]n\");\n"
1493 "\\&\n"
1494 " exit(EXIT_SUCCESS);\n"
1495 "}\n"
1496 msgstr ""
1497
1498 #. type: TH
1499 #: mageia-cauldron
1500 #, no-wrap
1501 msgid "Linux man-pages 6.17"
1502 msgstr "Páginas de Manual de Linux 6.17"
1503
1504 #. type: TH
1505 #: opensuse-leap-16-1 opensuse-tumbleweed
1506 #, no-wrap
1507 msgid "Linux man-pages (unreleased)"
1508 msgstr "Páginas de Manual de Linux (no publicadas)"