Debian Codegraph @

po/es/man2/wait.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 # Juan Piernas <[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:50+0200\n"
10 "PO-Revision-Date: 2004-12-24 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 "waitid()"
25 msgid "wait"
26 msgstr "waitid()"
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 "wait, waitpid - wait for process termination"
54 msgid "wait, waitpid, waitid - wait for process to change state"
55 msgstr "wait, waitpid - espera por el final de un proceso"
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 #, no-wrap
61 msgid "LIBRARY"
62 msgstr "BIBLIOTECA"
63
64 #. type: Plain text
65 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
66 #: opensuse-leap-16-1 opensuse-tumbleweed
67 msgid "Standard C library (I<libc>,\\ I<-lc>)"
68 msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "SYNOPSIS"
75 msgstr "SINOPSIS"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, fuzzy, no-wrap
81 #| msgid "B<#include E<lt>sys/wait.hE<gt>>"
82 msgid "B<#include E<lt>sys/wait.hE<gt>>\n"
83 msgstr "B<#include E<lt>sys/wait.hE<gt>>"
84
85 #. type: Plain text
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 #, fuzzy, no-wrap
89 #| msgid "B<pid_t waitpid(pid_t >I<pid>B<, int *>I<wstatus>B<, int >I<options>B<);>"
90 msgid ""
91 "B<pid_t wait(int *_Nullable >I<wstatus>B<);>\n"
92 "B<pid_t waitpid(pid_t >I<pid>B<, int *_Nullable >I<wstatus>B<, int >I<options>B<);>\n"
93 msgstr "B<pid_t waitpid(pid_t >I<pid>B<, int *>I<wstatus>B<, int >I<options>B<);>"
94
95 #. type: Plain text
96 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
97 #: opensuse-tumbleweed
98 #, no-wrap
99 msgid ""
100 "B<int waitid(idtype_t >I<idtype>B<, id_t >I<id>B<, siginfo_t *>I<infop>B<, int >I<options>B<);>\n"
101 " /* This is the glibc and POSIX interface; see\n"
102 " VERSIONS for information on the raw system call. */\n"
103 msgstr ""
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 msgid ""
109 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
110 msgstr ""
111 "Requisitos de Macros de Prueba de Características para glibc (véase "
112 "B<feature_test_macros>(7)):"
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 msgid "B<waitid>():"
118 msgstr "B<waitid>():"
119
120 #. (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED)
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 #, fuzzy, no-wrap
125 #| msgid ""
126 #| " _XOPEN_SOURCE E<gt>= 500\n"
127 #| " || /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
128 #| " || /* Glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
129 msgid ""
130 " Since glibc 2.26:\n"
131 " _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200809L\n"
132 " glibc 2.25 and earlier:\n"
133 " _XOPEN_SOURCE\n"
134 " || /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
135 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
136 msgstr ""
137 " _XOPEN_SOURCE E<gt>= 500\n"
138 " || /* Desde glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
139 " || /* Glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
140
141 #. type: SH
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 #, no-wrap
145 msgid "DESCRIPTION"
146 msgstr "DESCRIPCIÓN"
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid ""
152 "All of these system calls are used to wait for state changes in a child of "
153 "the calling process, and obtain information about the child whose state has "
154 "changed. A state change is considered to be: the child terminated; the "
155 "child was stopped by a signal; or the child was resumed by a signal. In the "
156 "case of a terminated child, performing a wait allows the system to release "
157 "the resources associated with the child; if a wait is not performed, then "
158 "the terminated child remains in a \"zombie\" state (see NOTES below)."
159 msgstr ""
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 msgid ""
165 "If a child has already changed state, then these calls return immediately. "
166 "Otherwise, they block until either a child changes state or a signal handler "
167 "interrupts the call (assuming that system calls are not automatically "
168 "restarted using the B<SA_RESTART> flag of B<sigaction>(2)). In the "
169 "remainder of this page, a child whose state has changed and which has not "
170 "yet been waited upon by one of these system calls is termed I<waitable>."
171 msgstr ""
172
173 #. type: SS
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 #, no-wrap
177 msgid "wait() and waitpid()"
178 msgstr "wait() y waitpid()"
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 msgid ""
184 "The B<wait>() system call suspends execution of the calling thread until "
185 "one of its children terminates. The call I<wait(&wstatus)> is equivalent to:"
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 #, no-wrap
192 msgid "waitpid(-1, &wstatus, 0);\n"
193 msgstr "waitpid(-1, &wstatus, 0);\n"
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid ""
199 "The B<waitpid>() system call suspends execution of the calling thread until "
200 "a child specified by I<pid> argument has changed state. By default, "
201 "B<waitpid>() waits only for terminated children, but this behavior is "
202 "modifiable via the I<options> argument, as described below."
203 msgstr ""
204
205 #. type: Plain text
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, fuzzy
209 #| msgid "The value of I<pid> can be one of:"
210 msgid "The value of I<pid> can be:"
211 msgstr "El valor de I<pid> puede ser uno de los siguientes:"
212
213 #. type: TP
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 #, fuzzy, no-wrap
217 #| msgid "E<lt> -1"
218 msgid "E<lt> B<-1>"
219 msgstr "E<lt> -1"
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid ""
225 "meaning wait for any child process whose process group ID is equal to the "
226 "absolute value of I<pid>."
227 msgstr ""
228 "lo que significa esperar a que cualquier proceso hijo cuyo ID del proceso es "
229 "igual al valor absoluto de I<pid>."
230
231 #. type: TP
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, no-wrap
235 msgid "B<-1>"
236 msgstr "B<-1>"
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 msgid "meaning wait for any child process."
242 msgstr ""
243
244 #. type: TP
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "B<0>"
249 msgstr "B<0>"
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, fuzzy
255 #| msgid ""
256 #| "which means to wait for any child process whose process group ID is equal "
257 #| "to that of the calling process."
258 msgid ""
259 "meaning wait for any child process whose process group ID is equal to that "
260 "of the calling process at the time of the call to B<waitpid>()."
261 msgstr ""
262 "lo que significa que espera por cualquier proceso hijo cuyo ID es igual al "
263 "del proceso llamante."
264
265 #. type: TP
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, fuzzy, no-wrap
269 #| msgid "E<gt> 0"
270 msgid "E<gt> B<0>"
271 msgstr "E<gt> 0"
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 msgid ""
277 "meaning wait for the child whose process ID is equal to the value of I<pid>."
278 msgstr ""
279 "lo que significa que espera por el proceso hijo cuyo ID es igual al valor de "
280 "I<pid>."
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid ""
286 "The value of I<options> is an OR of zero or more of the following constants:"
287 msgstr ""
288 "El valor de I<options> es un OR de cero o más de las siguientes constantes:"
289
290 #. type: TP
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 #, no-wrap
294 msgid "B<WNOHANG>"
295 msgstr "B<WNOHANG>"
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid "return immediately if no child has exited."
301 msgstr "que significa que vuelve inmediatamente si ningún hijo ha terminado."
302
303 #. type: TP
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "B<WUNTRACED>"
308 msgstr "B<WUNTRACED>"
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, fuzzy
314 #| msgid ""
315 #| "which means to also return for children which are stopped (but not "
316 #| "traced), and whose status has not been reported. Status for traced "
317 #| "children which are stopped is provided also without this option."
318 msgid ""
319 "also return if a child has stopped (but not traced via B<ptrace>(2)). "
320 "Status for I<traced> children which have stopped is provided even if this "
321 "option is not specified."
322 msgstr ""
323 "que significa que también vuelve si hay hijos parados (pero no rastreados), "
324 "y de cuyo estado no ha recibido notificación. El estado para los hijos "
325 "rastreados que están parados también se proporciona sin esta opción."
326
327 #. type: TP
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 #, no-wrap
331 msgid "B<WCONTINUED> (since Linux 2.6.10)"
332 msgstr "B<WCONTINUED> (desde Linux 2.6.10)"
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 msgid ""
338 "also return if a stopped child has been resumed by delivery of B<SIGCONT>."
339 msgstr ""
340
341 #. type: Plain text
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 msgid "(For Linux-only options, see below.)"
345 msgstr "(Para opciones exclusivas de Linux, vea más abajo.)"
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 msgid ""
351 "If I<wstatus> is not NULL, B<wait>() and B<waitpid>() store status "
352 "information in the I<int> to which it points. This integer can be inspected "
353 "with the following macros (which take the integer itself as an argument, not "
354 "a pointer to it, as is done in B<wait>() and B<waitpid>()!):"
355 msgstr ""
356
357 #. type: TP
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid "B<WIFEXITED(>I<wstatus>B<)>"
362 msgstr "B<WIFEXITED(>I<wstatus>B<)>"
363
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 msgid ""
368 "returns true if the child terminated normally, that is, by calling "
369 "B<exit>(3) or B<_exit>(2), or by returning from main()."
370 msgstr ""
371
372 #. type: TP
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 #, no-wrap
376 msgid "B<WEXITSTATUS(>I<wstatus>B<)>"
377 msgstr "B<WEXITSTATUS(>I<wstatus>B<)>"
378
379 #. type: Plain text
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, fuzzy
383 #| msgid ""
384 #| "evaluates to the least significant eight bits of the return code of the "
385 #| "child which terminated, which may have been set as the argument to a call "
386 #| "to B<exit()> or as the argument for a B<return> statement in the main "
387 #| "program. This macro can only be evaluated if B<WIFEXITED> returned non-"
388 #| "zero."
389 msgid ""
390 "returns the exit status of the child. This consists of the least "
391 "significant 8 bits of the I<status> argument that the child specified in a "
392 "call to B<exit>(3) or B<_exit>(2) or as the argument for a return "
393 "statement in main(). This macro should be employed only if B<WIFEXITED> "
394 "returned true."
395 msgstr ""
396 "evalúa los ocho bits menos significativos del código de retorno del hijo que "
397 "terminó, que podrían estar activados como el argumento de una llamada a "
398 "B<exit()> o como el argumento de unñ B<return> en el programa principal. "
399 "Esta macro solamente puede ser tenida en cuenta si B<WIFEXITED> devuelve un "
400 "valor distinto de cero."
401
402 #. type: TP
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 #, no-wrap
406 msgid "B<WIFSIGNALED(>I<wstatus>B<)>"
407 msgstr "B<WIFSIGNALED(>I<wstatus>B<)>"
408
409 #. type: Plain text
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 #, fuzzy
413 #| msgid ""
414 #| "returns true if the child process exited because of a signal which was "
415 #| "not caught."
416 msgid "returns true if the child process was terminated by a signal."
417 msgstr ""
418 "devuelve true si el proceso hijo terminó a causa de una señal no capturada."
419
420 #. type: TP
421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
423 #, no-wrap
424 msgid "B<WTERMSIG(>I<wstatus>B<)>"
425 msgstr "B<WTERMSIG(>I<wstatus>B<)>"
426
427 #. type: Plain text
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 #, fuzzy
431 #| msgid ""
432 #| "returns the number of the signal that caused the child process to "
433 #| "terminate. This macro can only be evaluated if B<WIFSIGNALED> returned "
434 #| "non-zero."
435 msgid ""
436 "returns the number of the signal that caused the child process to "
437 "terminate. This macro should be employed only if B<WIFSIGNALED> returned "
438 "true."
439 msgstr ""
440 "devuelve el número de la señal que provocó la muerte del proceso hijo. Esta "
441 "macro sólo puede ser evaluada si B<WIFSIGNALED> devolvió un valor distinto "
442 "de cero."
443
444 #. type: TP
445 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
446 #: opensuse-tumbleweed
447 #, fuzzy, no-wrap
448 #| msgid "B<WCOREDUMP(>I<wstatus>B<)>"
449 msgid "B<WCOREDUMP(>I<wstatus>B<)>I< >\\f[R]// POSIX.1-2024\\fR"
450 msgstr "B<WCOREDUMP(>I<wstatus>B<)>"
451
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 #, fuzzy
456 #| msgid ""
457 #| "returns the number of the signal that caused the child process to "
458 #| "terminate. This macro can only be evaluated if B<WIFSIGNALED> returned "
459 #| "non-zero."
460 msgid ""
461 "returns true if the child produced a core dump (see B<core>(5)). This macro "
462 "should be employed only if B<WIFSIGNALED> returned true."
463 msgstr ""
464 "devuelve el número de la señal que provocó la muerte del proceso hijo. Esta "
465 "macro sólo puede ser evaluada si B<WIFSIGNALED> devolvió un valor distinto "
466 "de cero."
467
468 #. type: TP
469 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
470 #: opensuse-tumbleweed
471 #, fuzzy, no-wrap
472 #| msgid "B<WIFSTOPPED(>I<wstatus>B<)>"
473 msgid "B<WIFSTOPPED(>I<wstatus>B<)>I< >\\f[R]// POSIX.1-2024\\fR"
474 msgstr "B<WIFSTOPPED(>I<wstatus>B<)>"
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 #, fuzzy
480 #| msgid ""
481 #| "returns true if the child process which caused the return is currently "
482 #| "stopped; this is only possible if the call was done using B<WUNTRACED> or "
483 #| "when the child is being traced (see B<ptrace>(2))."
484 msgid ""
485 "returns true if the child process was stopped by delivery of a signal; this "
486 "is possible only if the call was done using B<WUNTRACED> or when the child "
487 "is being traced (see B<ptrace>(2))."
488 msgstr ""
489 "devuelve true si el proceso hijo que provocó el retorno está actualmente "
490 "pardo; esto solamente es posible si la llamada se hizo usando B<WUNTRACED> o "
491 "cuando el hijo está siendo rastreado (vea B<ptrace>(2))."
492
493 #. type: TP
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 #, no-wrap
497 msgid "B<WSTOPSIG(>I<wstatus>B<)>"
498 msgstr "B<WSTOPSIG(>I<wstatus>B<)>"
499
500 #. type: Plain text
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 #, fuzzy
504 #| msgid ""
505 #| "returns the number of the signal which caused the child to stop. This "
506 #| "macro can only be evaluated if B<WIFSTOPPED> returned non-zero."
507 msgid ""
508 "returns the number of the signal which caused the child to stop. This macro "
509 "should be employed only if B<WIFSTOPPED> returned true."
510 msgstr ""
511 "devuelve el número de la señal que provocó la parada del hijo. Esta macro "
512 "solamente puede ser evaluada si B<WIFSTOPPED> devolvió un valor distinto de "
513 "cero."
514
515 #. type: TP
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 #, no-wrap
519 msgid "B<WIFCONTINUED(>I<wstatus>B<)>"
520 msgstr "B<WIFCONTINUED(>I<wstatus>B<)>"
521
522 #. type: Plain text
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 msgid ""
526 "(since Linux 2.6.10) returns true if the child process was resumed by "
527 "delivery of B<SIGCONT>."
528 msgstr ""
529
530 #. type: SS
531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
533 #, no-wrap
534 msgid "waitid()"
535 msgstr "waitid()"
536
537 #. type: Plain text
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 msgid ""
541 "The B<waitid>() system call (available since Linux 2.6.9) provides more "
542 "precise control over which child state changes to wait for."
543 msgstr ""
544
545 #. type: Plain text
546 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
547 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
548 msgid ""
549 "The I<idtype> and I<id> arguments select the child(ren) to wait for, as "
550 "follows:"
551 msgstr ""
552
553 #. type: TP
554 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
555 #: opensuse-tumbleweed
556 #, no-wrap
557 msgid "I<idtype> == \\f[B]P_PID\\fR"
558 msgstr ""
559
560 #. type: Plain text
561 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
562 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
563 #, fuzzy
564 #| msgid ""
565 #| "which means to wait for the child whose process ID is equal to the value "
566 #| "of I<pid>."
567 msgid "Wait for the child whose process ID matches I<id>."
568 msgstr ""
569 "lo que significa que espera por el proceso hijo cuyo ID es igual al valor de "
570 "I<pid>."
571
572 #. type: TP
573 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
574 #: opensuse-tumbleweed
575 #, no-wrap
576 msgid "I<idtype> == \\f[B]P_PIDFD\\fR (since Linux 5.4)"
577 msgstr ""
578
579 #. commit 3695eae5fee0605f316fbaad0b9e3de791d7dfaf
580 #. type: Plain text
581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
582 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
583 msgid ""
584 "Wait for the child referred to by the PID file descriptor specified in "
585 "I<id>. (See B<pidfd_open>(2) for further information on PID file "
586 "descriptors.)"
587 msgstr ""
588
589 #. type: TP
590 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
591 #: opensuse-tumbleweed
592 #, no-wrap
593 msgid "I<idtype> == \\f[B]P_PGID\\fR"
594 msgstr ""
595
596 #. commit 821cc7b0b205c0df64cce59aacc330af251fa8f7
597 #. type: Plain text
598 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
599 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
600 msgid ""
601 "Wait for any child whose process group ID matches I<id>. Since Linux 5.4, "
602 "if I<id> is zero, then wait for any child that is in the same process group "
603 "as the caller's process group at the time of the call."
604 msgstr ""
605
606 #. type: TP
607 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
608 #: opensuse-tumbleweed
609 #, no-wrap
610 msgid "I<idtype> == \\f[B]P_ALL\\fR"
611 msgstr ""
612
613 #. type: Plain text
614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
616 msgid "Wait for any child; I<id> is ignored."
617 msgstr ""
618
619 #. type: Plain text
620 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
621 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
622 msgid ""
623 "The child state changes to wait for are specified by ORing one or more of "
624 "the following flags in I<options>:"
625 msgstr ""
626
627 #. type: TP
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 #, no-wrap
631 msgid "B<WEXITED>"
632 msgstr "B<WEXITED>"
633
634 #. type: Plain text
635 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
636 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
637 msgid "Wait for children that have terminated."
638 msgstr ""
639
640 #. type: TP
641 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
642 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
643 #, no-wrap
644 msgid "B<WSTOPPED>"
645 msgstr "B<WSTOPPED>"
646
647 #. type: Plain text
648 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
649 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
650 msgid "Wait for children that have been stopped by delivery of a signal."
651 msgstr ""
652
653 #. type: TP
654 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
655 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
656 #, no-wrap
657 msgid "B<WCONTINUED>"
658 msgstr "B<WCONTINUED>"
659
660 #. type: Plain text
661 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
662 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
663 msgid ""
664 "Wait for (previously stopped) children that have been resumed by delivery of "
665 "B<SIGCONT>."
666 msgstr ""
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 "The following flags may additionally be ORed in I<options>:"
672 msgstr ""
673
674 #. type: Plain text
675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
677 msgid "As for B<waitpid>()."
678 msgstr ""
679
680 #. type: TP
681 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
682 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
683 #, no-wrap
684 msgid "B<WNOWAIT>"
685 msgstr "B<WNOWAIT>"
686
687 #. type: Plain text
688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
689 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
690 msgid ""
691 "Leave the child in a waitable state; a later wait call can be used to again "
692 "retrieve the child status information."
693 msgstr ""
694
695 #. type: Plain text
696 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
697 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
698 msgid ""
699 "Upon successful return, B<waitid>() fills in the following fields of the "
700 "I<siginfo_t> structure pointed to by I<infop>:"
701 msgstr ""
702
703 #. type: TP
704 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
705 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
706 #, no-wrap
707 msgid "I<si_pid>"
708 msgstr "I<si_pid>"
709
710 #. type: Plain text
711 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
712 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
713 msgid "The process ID of the child."
714 msgstr ""
715
716 #. type: TP
717 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
718 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
719 #, no-wrap
720 msgid "I<si_uid>"
721 msgstr "I<si_uid>"
722
723 #. type: Plain text
724 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
725 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
726 msgid ""
727 "The real user ID of the child. (This field is not set on most other "
728 "implementations.)"
729 msgstr ""
730
731 #. type: TP
732 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
733 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
734 #, no-wrap
735 msgid "I<si_signo>"
736 msgstr "I<si_signo>"
737
738 #. type: Plain text
739 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
740 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
741 msgid "Always set to B<SIGCHLD>."
742 msgstr ""
743
744 #. type: TP
745 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
746 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
747 #, no-wrap
748 msgid "I<si_status>"
749 msgstr "I<si_status>"
750
751 #. type: Plain text
752 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
753 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
754 msgid ""
755 "Either the exit status of the child, as given to B<_exit>(2) (or "
756 "B<exit>(3)), or the signal that caused the child to terminate, stop, or "
757 "continue. The I<si_code> field can be used to determine how to interpret "
758 "this field."
759 msgstr ""
760
761 #. type: TP
762 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
763 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
764 #, no-wrap
765 msgid "I<si_code>"
766 msgstr "I<si_code>"
767
768 #. type: Plain text
769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
771 msgid ""
772 "Set to one of: B<CLD_EXITED> (child called B<_exit>(2)); B<CLD_KILLED> "
773 "(child killed by signal); B<CLD_DUMPED> (child killed by signal, and dumped "
774 "core); B<CLD_STOPPED> (child stopped by signal); B<CLD_TRAPPED> (traced "
775 "child has trapped); or B<CLD_CONTINUED> (child continued by B<SIGCONT>)."
776 msgstr ""
777
778 #. type: Plain text
779 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
780 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
781 msgid ""
782 "If B<WNOHANG> was specified in I<options> and there were no children in a "
783 "waitable state, then B<waitid>() returns 0 immediately and the state of the "
784 "I<siginfo_t> structure pointed to by I<infop> depends on the "
785 "implementation. To (portably) distinguish this case from that where a child "
786 "was in a waitable state, zero out the I<si_pid> field before the call and "
787 "check for a nonzero value in this field after the call returns."
788 msgstr ""
789
790 #. POSIX.1-2001 leaves this possibility unspecified; most
791 #. implementations (including Linux) zero out the structure
792 #. in this case, but at least one implementation (AIX 5.1)
793 #. does not -- MTK Nov 04
794 #. type: Plain text
795 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
796 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
797 msgid ""
798 "POSIX.1-2008 Technical Corrigendum 1 (2013) adds the requirement that when "
799 "B<WNOHANG> is specified in I<options> and there were no children in a "
800 "waitable state, then B<waitid>() should zero out the I<si_pid> and "
801 "I<si_signo> fields of the structure. On Linux and other implementations "
802 "that adhere to this requirement, it is not necessary to zero out the "
803 "I<si_pid> field before calling B<waitid>(). However, not all "
804 "implementations follow the POSIX.1 specification on this point."
805 msgstr ""
806
807 #. type: SH
808 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
809 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
810 #, no-wrap
811 msgid "RETURN VALUE"
812 msgstr "VALOR DEVUELTO"
813
814 #. type: Plain text
815 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
816 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
817 msgid ""
818 "B<wait>(): on success, returns the process ID of the terminated child; on "
819 "failure, -1 is returned."
820 msgstr ""
821
822 #. type: Plain text
823 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
824 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
825 msgid ""
826 "B<waitpid>(): on success, returns the process ID of the child whose state "
827 "has changed; if B<WNOHANG> was specified and one or more child(ren) "
828 "specified by I<pid> exist, but have not yet changed state, then 0 is "
829 "returned. On failure, -1 is returned."
830 msgstr ""
831
832 #. FIXME As reported by Vegard Nossum, if infop is NULL, then waitid()
833 #. returns the PID of the child. Either this is a bug, or it is intended
834 #. behavior that needs to be documented. See my Jan 2009 LKML mail
835 #. "waitid() return value strangeness when infop is NULL".
836 #. type: Plain text
837 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
838 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
839 msgid ""
840 "B<waitid>(): returns 0 on success or if B<WNOHANG> was specified and no "
841 "child(ren) specified by I<id> has yet changed state; on failure, -1 is "
842 "returned."
843 msgstr ""
844
845 #. type: Plain text
846 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
847 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
848 msgid "On failure, each of these calls sets I<errno> to indicate the error."
849 msgstr ""
850
851 #. type: SH
852 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
853 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
854 #, no-wrap
855 msgid "ERRORS"
856 msgstr "ERRORES"
857
858 #. type: TP
859 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
860 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
861 #, no-wrap
862 msgid "B<EAGAIN>"
863 msgstr "B<EAGAIN>"
864
865 #. type: Plain text
866 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
867 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
868 msgid ""
869 "The PID file descriptor specified in I<id> is nonblocking and the process "
870 "that it refers to has not terminated."
871 msgstr ""
872
873 #. type: TP
874 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
875 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
876 #, no-wrap
877 msgid "B<ECHILD>"
878 msgstr "B<ECHILD>"
879
880 #. type: Plain text
881 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
882 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
883 msgid ""
884 "(for B<wait>()) The calling process does not have any unwaited-for children."
885 msgstr ""
886
887 #. type: Plain text
888 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
889 #: opensuse-tumbleweed
890 #, fuzzy
891 #| msgid ""
892 #| "if the process specified in I<pid> does not exist or is not a child of "
893 #| "the calling process. (This can happen for one's own child if the action "
894 #| "for SIGCHLD is set to SIG_IGN. See also the LINUX NOTES section about "
895 #| "threads.)"
896 msgid ""
897 "(for B<waitpid>() or B<waitid>()) The process specified by I<pid> "
898 "(B<waitpid>()) or I<idtype> and I<id> (B<waitid>()) does not exist or is "
899 "not a child of the calling process. (This can happen for one's own child if "
900 "the action for B<SIGCHLD> is set to B<SIG_IGN>. See also the I<Linux\\ "
901 "Notes> section about threads.)"
902 msgstr ""
903 "si el proceso especificado en I<pid> no termina o no es hijo del proceso "
904 "llamante. (Esto puede ocurrir para nuestros propios hijos si se asigna "
905 "SIG_IGN como acción de SIGCHLD. Vea también la sección NOTAS DE LINUX sobre "
906 "hilos.)"
907
908 #. type: TP
909 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
910 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
911 #, no-wrap
912 msgid "B<EINTR>"
913 msgstr "B<EINTR>"
914
915 #. type: Plain text
916 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
917 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
918 #, fuzzy
919 #| msgid ""
920 #| "if B<WNOHANG> was not set and an unblocked signal or a B<SIGCHLD> was "
921 #| "caught."
922 msgid ""
923 "B<WNOHANG> was not set and an unblocked signal or a B<SIGCHLD> was caught; "
924 "see B<signal>(7)."
925 msgstr ""
926 "si no se activó B<WNOHANG> y si no se ha capturado una señal no bloqueada o "
927 "B<SIGCHLD>."
928
929 #. type: TP
930 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
931 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
932 #, no-wrap
933 msgid "B<EINVAL>"
934 msgstr "B<EINVAL>"
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 #, fuzzy
940 #| msgid "if the I<options> argument was invalid."
941 msgid "The I<options> argument was invalid."
942 msgstr "si el argumento I<options> no fue valido."
943
944 #. type: TP
945 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
946 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
947 #, no-wrap
948 msgid "B<ESRCH>"
949 msgstr "B<ESRCH>"
950
951 #. type: Plain text
952 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
953 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
954 msgid "(for B<wait>() or B<waitpid>()) I<pid> is equal to B<INT_MIN>."
955 msgstr ""
956
957 #. type: SH
958 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
959 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
960 #, no-wrap
961 msgid "VERSIONS"
962 msgstr "VERSIONES"
963
964 #. type: SS
965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
967 #, no-wrap
968 msgid "C library/kernel differences"
969 msgstr "Diferencias núcleo / biblioteca C"
970
971 #. type: Plain text
972 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
973 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
974 msgid ""
975 "B<wait>() is actually a library function that (in glibc) is implemented as "
976 "a call to B<wait4>(2)."
977 msgstr ""
978
979 #. e.g., i386 has the system call, but not x86-64
980 #. type: Plain text
981 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
982 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
983 msgid ""
984 "On some architectures, there is no B<waitpid>() system call; instead, this "
985 "interface is implemented via a C library wrapper function that calls "
986 "B<wait4>(2)."
987 msgstr ""
988
989 #. type: Plain text
990 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
991 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
992 msgid ""
993 "The raw B<waitid>() system call takes a fifth argument, of type I<struct "
994 "rusage\\ *>. If this argument is non-NULL, then it is used to return "
995 "resource usage information about the child, in the same manner as "
996 "B<wait4>(2). See B<getrusage>(2) for details."
997 msgstr ""
998
999 #. type: SH
1000 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1001 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1002 #, no-wrap
1003 msgid "STANDARDS"
1004 msgstr "ESTÁNDARES"
1005
1006 #. type: Plain text
1007 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1008 #: opensuse-tumbleweed
1009 msgid "POSIX.1-2024."
1010 msgstr "POSIX.1-2024."
1011
1012 #. type: SH
1013 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1014 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1015 #, no-wrap
1016 msgid "HISTORY"
1017 msgstr "HISTORIAL"
1018
1019 #. type: Plain text
1020 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1021 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1022 msgid "SVr4, 4.3BSD, POSIX.1-2001."
1023 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
1024
1025 #. type: SH
1026 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1027 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1028 #, no-wrap
1029 msgid "NOTES"
1030 msgstr "NOTAS"
1031
1032 #. type: Plain text
1033 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1034 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1035 msgid ""
1036 "A child that terminates, but has not been waited for becomes a \"zombie\". "
1037 "The kernel maintains a minimal set of information about the zombie process "
1038 "(PID, termination status, resource usage information) in order to allow the "
1039 "parent to later perform a wait to obtain information about the child. As "
1040 "long as a zombie is not removed from the system via a wait, it will consume "
1041 "a slot in the kernel process table, and if this table fills, it will not be "
1042 "possible to create further processes. If a parent process terminates, then "
1043 "its \"zombie\" children (if any) are adopted by B<init>(1), (or by the "
1044 "nearest \"subreaper\" process as defined through the use of the B<prctl>(2) "
1045 "B<PR_SET_CHILD_SUBREAPER> operation); B<init>(1) automatically performs a "
1046 "wait to remove the zombies."
1047 msgstr ""
1048
1049 #. type: Plain text
1050 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1051 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1052 msgid ""
1053 "POSIX.1-2001 specifies that if the disposition of B<SIGCHLD> is set to "
1054 "B<SIG_IGN> or the B<SA_NOCLDWAIT> flag is set for B<SIGCHLD> (see "
1055 "B<sigaction>(2)), then children that terminate do not become zombies and a "
1056 "call to B<wait>() or B<waitpid>() will block until all children have "
1057 "terminated, and then fail with I<errno> set to B<ECHILD>. (The original "
1058 "POSIX standard left the behavior of setting B<SIGCHLD> to B<SIG_IGN> "
1059 "unspecified. Note that even though the default disposition of B<SIGCHLD> is "
1060 "\"ignore\", explicitly setting the disposition to B<SIG_IGN> results in "
1061 "different treatment of zombie process children.)"
1062 msgstr ""
1063
1064 #. type: Plain text
1065 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1066 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1067 #, fuzzy
1068 #| msgid ""
1069 #| "The original POSIX standard left the behaviour of setting SIGCHLD to "
1070 #| "SIG_IGN unspecified. Later standards, including SUSv2 and POSIX "
1071 #| "1003.1-2001 specify the behaviour just described as an XSI-compliance "
1072 #| "option. Linux does not conform to the second of the two points just "
1073 #| "described: if a B<wait>() or B<waitpid>() call is made while SIGCHLD is "
1074 #| "being ignored, the call behaves just as though SIGCHLD were not being "
1075 #| "igored, that is, the call blocks until the next child terminates and then "
1076 #| "returns the PID and status of that child."
1077 msgid ""
1078 "Linux 2.6 conforms to the POSIX requirements. However, Linux 2.4 (and "
1079 "earlier) does not: if a B<wait>() or B<waitpid>() call is made while "
1080 "B<SIGCHLD> is being ignored, the call behaves just as though B<SIGCHLD> were "
1081 "not being ignored, that is, the call blocks until the next child terminates "
1082 "and then returns the process ID and status of that child."
1083 msgstr ""
1084 "El estándar POSIX original estableció como indefinido el comportamiento de "
1085 "tratar SIGCHLD con SIG_IGN. Estándares posteriores, incluyendo SUSv2 y "
1086 "POSIX 1003.1-2001 especifican este comportamiento describiéndolo tan solo "
1087 "como una opción conforme con XSI. Linux no es conforme con el segundo de "
1088 "los dos puntos recién descritos: si se hace una llamada a B<wait>() o "
1089 "B<waitpid>() mientras SIGCHLD está siendo ignorada, la llamada se comporta "
1090 "como si SIGCHLD no estuviera siendo ignorada, es decir, se bloquea hasta que "
1091 "el siguiente hijo termina y luego devuelve el PID y el estado de ese hijo."
1092
1093 #. type: SS
1094 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1095 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1096 #, no-wrap
1097 msgid "Linux notes"
1098 msgstr "Notas de Linux"
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 "In the Linux kernel, a kernel-scheduled thread is not a distinct construct "
1105 "from a process. Instead, a thread is simply a process that is created using "
1106 "the Linux-unique B<clone>(2) system call; other routines such as the "
1107 "portable B<pthread_create>(3) call are implemented using B<clone>(2). "
1108 "Before Linux 2.4, a thread was just a special case of a process, and as a "
1109 "consequence one thread could not wait on the children of another thread, "
1110 "even when the latter belongs to the same thread group. However, POSIX "
1111 "prescribes such functionality, and since Linux 2.4 a thread can, and by "
1112 "default will, wait on children of other threads in the same thread group."
1113 msgstr ""
1114 "En el núcleo de Linux, un hijo planificado por el núcleo no es una "
1115 "construcción distinta a un proceso. En su lugar, un hilo es simplemente un "
1116 "proceso que es creado usando la llamada al sistema única en Linux "
1117 "B<clone>(2) ; otras rutinas como la llamada portable B<pthread_create>(3) "
1118 "son implementadas usando B<clone>(2). Antes de la versión 2.4. de Linux, un "
1119 "hilo era un caso especial de un proceso, y como consecuencia, un hilo no "
1120 "podía esperar al hijo de otro hilo, incluso cuando este último pertenecía al "
1121 "mismo grupo de hilos. Sin embargo, POSIX recomienda tal funcionalidad, y "
1122 "desde la versión 2.4. de Linux un hilo puede, y por defecto lo hará, esperar "
1123 "a hijos de otros hilos en el mismo grupo de hilos."
1124
1125 #. commit 91c4e8ea8f05916df0c8a6f383508ac7c9e10dba
1126 #. type: Plain text
1127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1129 #, fuzzy
1130 #| msgid ""
1131 #| "The following Linux-specific I<options> are for use with children created "
1132 #| "using B<clone>(2)."
1133 msgid ""
1134 "The following Linux-specific I<options> are for use with children created "
1135 "using B<clone>(2); they can also, since Linux 4.7, be used with B<waitid>():"
1136 msgstr ""
1137 "Las siguientes opciones específicas de Linux codificadas en I<options> se "
1138 "pueden utilizar con hijos creados usando B<clone>(2)."
1139
1140 #. type: TP
1141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1143 #, no-wrap
1144 msgid "B<__WCLONE>"
1145 msgstr "B<__WCLONE>"
1146
1147 #. since 0.99pl10
1148 #. type: Plain text
1149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1151 msgid ""
1152 "Wait for \"clone\" children only. If omitted, then wait for \"non-clone\" "
1153 "children only. (A \"clone\" child is one which delivers no signal, or a "
1154 "signal other than B<SIGCHLD> to its parent upon termination.) This option "
1155 "is ignored if B<__WALL> is also specified."
1156 msgstr ""
1157 "Espera por hijos \"clone\" solamente. Si se omite espera sólo por hijos \"no "
1158 "clone\". (Un hijo \"clone\" es el que al terminar no comunica ninguna señal, "
1159 "o una señal distinta de B<SIGCHLD> a su padre.) Esta opción es ignorada si "
1160 "se especifica también B<__WALL>."
1161
1162 #. type: TP
1163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1165 #, no-wrap
1166 msgid "B<__WALL> (since Linux 2.4)"
1167 msgstr "B<__WALL> (desde Linux 2.4)"
1168
1169 #. since patch-2.3.48
1170 #. type: Plain text
1171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1173 msgid "Wait for all children, regardless of type (\"clone\" or \"non-clone\")."
1174 msgstr ""
1175 "Espera por todos los hijos, sin importar su tipo (\"clone\" o \"no clone\")."
1176
1177 #. type: TP
1178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1180 #, no-wrap
1181 msgid "B<__WNOTHREAD> (since Linux 2.4)"
1182 msgstr "B<__WNOTHREAD> (desde Linux 2.4)"
1183
1184 #. since patch-2.4.0-test8
1185 #. type: Plain text
1186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1188 msgid ""
1189 "Do not wait for children of other threads in the same thread group. This "
1190 "was the default before Linux 2.4."
1191 msgstr ""
1192 "No espera por hijos de otros hilos en el mismo grupo de hilos. Era la opción "
1193 "por defecto antes de la versión 2.4. de Linux."
1194
1195 #. commit bf959931ddb88c4e4366e96dd22e68fa0db9527c
1196 #. prevents cases where an unreapable zombie is created if
1197 #. /sbin/init doesn't use __WALL.
1198 #. type: Plain text
1199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1201 msgid ""
1202 "Since Linux 4.7, the B<__WALL> flag is automatically implied if the child is "
1203 "being ptraced."
1204 msgstr ""
1205
1206 #. type: SH
1207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1209 #, no-wrap
1210 msgid "BUGS"
1211 msgstr "ERRORES"
1212
1213 #. type: Plain text
1214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1216 msgid ""
1217 "According to POSIX.1-2008, an application calling B<waitid>() must ensure "
1218 "that I<infop> points to a I<siginfo_t> structure (i.e., that it is a non-"
1219 "null pointer). On Linux, if I<infop> is NULL, B<waitid>() succeeds, and "
1220 "returns the process ID of the waited-for child. Applications should avoid "
1221 "relying on this inconsistent, nonstandard, and unnecessary feature."
1222 msgstr ""
1223
1224 #. type: SH
1225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1227 #, no-wrap
1228 msgid "EXAMPLES"
1229 msgstr "EJEMPLOS"
1230
1231 #. fork.2 refers to this example program.
1232 #. type: Plain text
1233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1235 msgid ""
1236 "The following program demonstrates the use of B<fork>(2) and B<waitpid>(). "
1237 "The program creates a child process. If no command-line argument is "
1238 "supplied to the program, then the child suspends its execution using "
1239 "B<pause>(2), to allow the user to send signals to the child. Otherwise, if "
1240 "a command-line argument is supplied, then the child exits immediately, using "
1241 "the integer supplied on the command line as the exit status. The parent "
1242 "process executes a loop that monitors the child using B<waitpid>(), and uses "
1243 "the W*() macros described above to analyze the wait status value."
1244 msgstr ""
1245
1246 #. type: Plain text
1247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1249 msgid "The following shell session demonstrates the use of the program:"
1250 msgstr ""
1251
1252 #. type: Plain text
1253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1255 #, no-wrap
1256 msgid ""
1257 "$B< ./a.out &>\n"
1258 "Child PID is 32360\n"
1259 "[1] 32359\n"
1260 "$B< kill -STOP 32360>\n"
1261 "stopped by signal 19\n"
1262 "$B< kill -CONT 32360>\n"
1263 "continued\n"
1264 "$B< kill -TERM 32360>\n"
1265 "killed by signal 15\n"
1266 "[1]+ Done ./a.out\n"
1267 "$\n"
1268 msgstr ""
1269
1270 #. type: SS
1271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1273 #, no-wrap
1274 msgid "Program source"
1275 msgstr "Código fuente"
1276
1277 #. type: Plain text
1278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1280 #, no-wrap
1281 msgid ""
1282 "#include E<lt>stdint.hE<gt>\n"
1283 "#include E<lt>stdio.hE<gt>\n"
1284 "#include E<lt>stdlib.hE<gt>\n"
1285 "#include E<lt>sys/types.hE<gt>\n"
1286 "#include E<lt>sys/wait.hE<gt>\n"
1287 "#include E<lt>unistd.hE<gt>\n"
1288 "\\&\n"
1289 "int\n"
1290 "main(int argc, char *argv[])\n"
1291 "{\n"
1292 " int wstatus;\n"
1293 " pid_t cpid, w;\n"
1294 "\\&\n"
1295 " cpid = fork();\n"
1296 " if (cpid == -1) {\n"
1297 " perror(\"fork\");\n"
1298 " exit(EXIT_FAILURE);\n"
1299 " }\n"
1300 "\\&\n"
1301 " if (cpid == 0) { /* Code executed by child */\n"
1302 " printf(\"Child PID is %jd\\[rs]n\", (intmax_t) getpid());\n"
1303 " if (argc == 1)\n"
1304 " pause(); /* Wait for signals */\n"
1305 " _exit(atoi(argv[1]));\n"
1306 "\\&\n"
1307 " } else { /* Code executed by parent */\n"
1308 " do {\n"
1309 " w = waitpid(cpid, &wstatus, WUNTRACED | WCONTINUED);\n"
1310 " if (w == -1) {\n"
1311 " perror(\"waitpid\");\n"
1312 " exit(EXIT_FAILURE);\n"
1313 " }\n"
1314 "\\&\n"
1315 " if (WIFEXITED(wstatus)) {\n"
1316 " printf(\"exited, status=%d\\[rs]n\", WEXITSTATUS(wstatus));\n"
1317 " } else if (WIFSIGNALED(wstatus)) {\n"
1318 " printf(\"killed by signal %d\\[rs]n\", WTERMSIG(wstatus));\n"
1319 " } else if (WIFSTOPPED(wstatus)) {\n"
1320 " printf(\"stopped by signal %d\\[rs]n\", WSTOPSIG(wstatus));\n"
1321 " } else if (WIFCONTINUED(wstatus)) {\n"
1322 " printf(\"continued\\[rs]n\");\n"
1323 " }\n"
1324 " } while (!WIFEXITED(wstatus) && !WIFSIGNALED(wstatus));\n"
1325 " exit(EXIT_SUCCESS);\n"
1326 " }\n"
1327 "}\n"
1328 msgstr ""
1329
1330 #. SRC END
1331 #. type: SH
1332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1334 #, no-wrap
1335 msgid "SEE ALSO"
1336 msgstr "VÉASE TAMBIÉN"
1337
1338 #. type: Plain text
1339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1341 msgid ""
1342 "B<_exit>(2), B<clone>(2), B<fork>(2), B<kill>(2), B<ptrace>(2), "
1343 "B<sigaction>(2), B<signal>(2), B<wait4>(2), B<pthread_create>(3), "
1344 "B<core>(5), B<credentials>(7), B<signal>(7)"
1345 msgstr ""
1346 "B<_exit>(2), B<clone>(2), B<fork>(2), B<kill>(2), B<ptrace>(2), "
1347 "B<sigaction>(2), B<signal>(2), B<wait4>(2), B<pthread_create>(3), "
1348 "B<core>(5), B<credentials>(7), B<signal>(7)"
1349
1350 #. type: TH
1351 #: debian-trixie
1352 #, no-wrap
1353 msgid "2024-06-15"
1354 msgstr "15 Junio 2024"
1355
1356 #. type: TH
1357 #: debian-trixie
1358 #, no-wrap
1359 msgid "Linux man-pages 6.9.1"
1360 msgstr "Páginas de Manual de Linux 6.9.1"
1361
1362 #. type: Plain text
1363 #: debian-trixie
1364 msgid "Standard C library (I<libc>, I<-lc>)"
1365 msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)"
1366
1367 #. type: Plain text
1368 #: debian-trixie
1369 #, no-wrap
1370 msgid ""
1371 "B<int waitid(idtype_t >I<idtype>B<, id_t >I<id>B<, siginfo_t *>I<infop>B<, int >I<options>B<);>\n"
1372 " /* This is the glibc and POSIX interface; see\n"
1373 " NOTES for information on the raw system call. */\n"
1374 msgstr ""
1375
1376 #. type: TP
1377 #: debian-trixie fedora-44 fedora-rawhide
1378 #, no-wrap
1379 msgid "B<WCOREDUMP(>I<wstatus>B<)>"
1380 msgstr "B<WCOREDUMP(>I<wstatus>B<)>"
1381
1382 #. type: Plain text
1383 #: debian-trixie fedora-44 fedora-rawhide
1384 msgid ""
1385 "This macro is not specified in POSIX.1-2001 and is not available on some "
1386 "UNIX implementations (e.g., AIX, SunOS). Therefore, enclose its use inside "
1387 "I<#ifdef WCOREDUMP ... #endif>."
1388 msgstr ""
1389
1390 #. type: TP
1391 #: debian-trixie fedora-44 fedora-rawhide
1392 #, no-wrap
1393 msgid "B<WIFSTOPPED(>I<wstatus>B<)>"
1394 msgstr "B<WIFSTOPPED(>I<wstatus>B<)>"
1395
1396 #. type: TP
1397 #: debian-trixie fedora-44 fedora-rawhide
1398 #, no-wrap
1399 msgid "I<idtype> == B<P_PID>"
1400 msgstr ""
1401
1402 #. type: TP
1403 #: debian-trixie fedora-44 fedora-rawhide
1404 #, no-wrap
1405 msgid "I<idtype> == B<P_PIDFD> (since Linux 5.4)"
1406 msgstr ""
1407
1408 #. type: TP
1409 #: debian-trixie fedora-44 fedora-rawhide
1410 #, no-wrap
1411 msgid "I<idtype> == B<P_PGID>"
1412 msgstr ""
1413
1414 #. type: TP
1415 #: debian-trixie fedora-44 fedora-rawhide
1416 #, no-wrap
1417 msgid "I<idtype> == B<P_ALL>"
1418 msgstr ""
1419
1420 #. type: Plain text
1421 #: debian-trixie fedora-44 fedora-rawhide
1422 #, fuzzy
1423 #| msgid ""
1424 #| "if the process specified in I<pid> does not exist or is not a child of "
1425 #| "the calling process. (This can happen for one's own child if the action "
1426 #| "for SIGCHLD is set to SIG_IGN. See also the LINUX NOTES section about "
1427 #| "threads.)"
1428 msgid ""
1429 "(for B<waitpid>() or B<waitid>()) The process specified by I<pid> "
1430 "(B<waitpid>()) or I<idtype> and I<id> (B<waitid>()) does not exist or is "
1431 "not a child of the calling process. (This can happen for one's own child if "
1432 "the action for B<SIGCHLD> is set to B<SIG_IGN>. See also the I<Linux Notes> "
1433 "section about threads.)"
1434 msgstr ""
1435 "si el proceso especificado en I<pid> no termina o no es hijo del proceso "
1436 "llamante. (Esto puede ocurrir para nuestros propios hijos si se asigna "
1437 "SIG_IGN como acción de SIGCHLD. Vea también la sección NOTAS DE LINUX sobre "
1438 "hilos.)"
1439
1440 #. type: Plain text
1441 #: debian-trixie fedora-44 fedora-rawhide
1442 msgid "POSIX.1-2008."
1443 msgstr "POSIX.1-2008."
1444
1445 #. type: TH
1446 #: fedora-44 fedora-rawhide
1447 #, no-wrap
1448 msgid "2024-07-23"
1449 msgstr "23 ​​Julio 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 "B<int waitid(idtype_t >I<idtype>B<, id_t >I<id>B<, siginfo_t *>I<infop>B<, int >I<options>B<);>\n"
1462 " /* This is the glibc and POSIX interface; see\n"
1463 " VERSIONS for information on the raw system call. */\n"
1464 msgstr ""
1465
1466 #. type: TH
1467 #: mageia-cauldron
1468 #, no-wrap
1469 msgid "Linux man-pages 6.17"
1470 msgstr "Páginas de Manual de Linux 6.17"
1471
1472 #. type: TH
1473 #: opensuse-leap-16-1 opensuse-tumbleweed
1474 #, no-wrap
1475 msgid "Linux man-pages (unreleased)"
1476 msgstr "Páginas de Manual de Linux (no publicadas)"