Debian Codegraph @

po/es/man2/getpid.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 # Nicolás Lichtmaier <[email protected]>, 1998.
5 # Juan Piernas <[email protected]>, 1998.
6 # Marcos Fouces <[email protected]>, 2023-2025.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n\n"
10 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
11 "PO-Revision-Date: 2025-08-09 23:57+0200\n"
12 "Last-Translator: Marcos Fouces <[email protected]>\n"
13 "Language-Team: Spanish <[email protected]>\n"
14 "Language: es\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=2; plural=(n != 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 #, no-wrap
24 msgid "getpid"
25 msgstr "getpid"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 Febrero 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, fuzzy, no-wrap
37 #| msgid "Linux man-pages 6.17"
38 msgid "Linux man-pages 6.18"
39 msgstr "Páginas de Manual de Linux 6.17"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "NOMBRE"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "getpid, getppid - get process identification"
52 msgstr "getpid, getppid - obtiene el identificador de proceso"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "BIBLIOTECA"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "SINOPSIS"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>unistd.hE<gt>>\n"
79 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<pid_t getpid(void);>\n"
87 "B<pid_t getppid(void);>\n"
88 msgstr ""
89 "B<pid_t getpid(void);>\n"
90 "B<pid_t getppid(void);>\n"
91
92 #. type: SH
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid "DESCRIPTION"
97 msgstr "DESCRIPCIÓN"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 msgid ""
103 "B<getpid>() returns the process ID (PID) of the calling process. (This is "
104 "often used by routines that generate unique temporary filenames.)"
105 msgstr ""
106 "B<getpid> devuelve el identificador de proceso (PID) del proceso actual. "
107 "Esto suele ser usado por rutinas que generan nombres únicos de archivos "
108 "temporales."
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 msgid ""
114 "B<getppid>() returns the process ID of the parent of the calling process. "
115 "This will be either the ID of the process that created this process using "
116 "B<fork>(), or, if that process has already terminated, the ID of the process "
117 "to which this process has been reparented (either B<init>(1) or a "
118 "\"subreaper\" process defined via the B<prctl>(2) B<PR_SET_CHILD_SUBREAPER> "
119 "operation)."
120 msgstr ""
121 "B<getppid>() devuelve el ID de proceso del padre del proceso que realiza la "
122 "llamada. Este será el ID del proceso que creó este proceso mediante "
123 "B<fork>() o bien, si dicho proceso ya ha finalizado, el ID del proceso al "
124 "que se ha reubicado ya sea B<init>(1) o un proceso «subreaper» definido "
125 "mediante la operación B<PR_SET_CHILD_SUBREAPER> de B<prctl>(2)."
126
127 #. type: SH
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, no-wrap
131 msgid "ERRORS"
132 msgstr "ERRORES"
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 msgid "These functions are always successful."
138 msgstr "Estas funciones siempre terminan sin error."
139
140 #. type: SH
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 #, no-wrap
144 msgid "VERSIONS"
145 msgstr "VERSIONES"
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 msgid ""
151 "On Alpha, instead of a pair of B<getpid>() and B<getppid>() system calls, "
152 "a single B<getxpid>() system call is provided, which returns a pair of PID "
153 "and parent PID. The glibc B<getpid>() and B<getppid>() wrapper functions "
154 "transparently deal with this. See B<syscall>(2) for details regarding "
155 "register mapping."
156 msgstr ""
157 "En Alpha, en lugar de un par de llamadas al sistema B<getpid>() y "
158 "B<getppid>(), se proporciona una única llamada al sistema B<getxpid>(), que "
159 "devuelve un par de PID y un PID padre. Las funciones contenedoras "
160 "B<getpid>() y B<getppid>() de glibc gestionan esto de forma transparente. "
161 "Consulte B<syscall>(2) para más información sobre la asignación de registros."
162
163 #. type: SH
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 #, no-wrap
167 msgid "STANDARDS"
168 msgstr "ESTÁNDARES"
169
170 #. type: Plain text
171 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
172 #: opensuse-tumbleweed
173 msgid "POSIX.1-2024."
174 msgstr "POSIX.1-2024."
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 "HISTORY"
181 msgstr "HISTORIAL"
182
183 #. type: Plain text
184 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
185 #: opensuse-tumbleweed
186 msgid "4.3BSD, SVr4, POSIX.1-1988."
187 msgstr "4.3BSD, SVr4, POSIX.1-1988."
188
189 #. type: SS
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 #, no-wrap
193 msgid "C library/kernel differences"
194 msgstr "Diferencias núcleo / biblioteca C"
195
196 #. The following program demonstrates this "feature":
197 #. #define _GNU_SOURCE
198 #. #include <sys/syscall.h>
199 #. #include <sys/wait.h>
200 #. #include <stdint.h>
201 #. #include <stdio.h>
202 #. #include <stdlib.h>
203 #. #include <unistd.h>
204 #. int
205 #. main(int argc, char *argv[])
206 #. {
207 #. /* The following statement fills the getpid() cache */
208 #. printf("parent PID = %ld
209 #. ", (intmax_t) getpid());
210 #. if (syscall(SYS_fork) == 0) {
211 #. if (getpid() != syscall(SYS_getpid))
212 #. printf("child getpid() mismatch: getpid()=%jd; "
213 #. "syscall(SYS_getpid)=%ld
214 #. ",
215 #. (intmax_t) getpid(), (long) syscall(SYS_getpid));
216 #. exit(EXIT_SUCCESS);
217 #. }
218 #. wait(NULL);
219 #. }
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 msgid ""
224 "From glibc 2.3.4 up to and including glibc 2.24, the glibc wrapper function "
225 "for B<getpid>() cached PIDs, with the goal of avoiding additional system "
226 "calls when a process calls B<getpid>() repeatedly. Normally this caching "
227 "was invisible, but its correct operation relied on support in the wrapper "
228 "functions for B<fork>(2), B<vfork>(2), and B<clone>(2): if an application "
229 "bypassed the glibc wrappers for these system calls by using B<syscall>(2), "
230 "then a call to B<getpid>() in the child would return the wrong value (to be "
231 "precise: it would return the PID of the parent process). In addition, there "
232 "were cases where B<getpid>() could return the wrong value even when "
233 "invoking B<clone>(2) via the glibc wrapper function. (For a discussion of "
234 "one such case, see BUGS in B<clone>(2).) Furthermore, the complexity of the "
235 "caching code had been the source of a few bugs within glibc over the years."
236 msgstr ""
237 "Desde glibc 2.3.4 hasta glibc 2.24 inclusive, la función contenedora de "
238 "glibc para B<getpid>() almacenaba en caché los PID, con el objetivo de "
239 "evitar llamadas al sistema adicionales cuando un proceso invocaba "
240 "B<getpid>() repetidamente. Normalmente, este almacenamiento en caché era "
241 "invisible, pero su correcto funcionamiento dependía de la compatibilidad con "
242 "las funciones contenedoras de B<fork>(2), B<vfork>(2) y B<clone>(2): si una "
243 "aplicación omitía las funciones contenedoras de glibc para estas llamadas al "
244 "sistema mediante B<syscall>(2), una llamada a B<getpid>() en el proceso hijo "
245 "devolvería un valor incorrecto (más exactamente: devolvería el PID del "
246 "proceso padre). Además, existían casos en los que B<getpid>() podía devolver "
247 "un valor incorrecto incluso al invocar B<clone>(2) mediante la función "
248 "contenedora de glibc. Puede consultarse una explicación de un caso de este "
249 "tipo en el apartado ERRORES en B<clone>(2). Además, la complejidad del "
250 "código de caché había sido la fuente de algunos errores en glibc a lo largo "
251 "de los años."
252
253 #. commit c579f48edba88380635ab98cb612030e3ed8691e
254 #. https://sourceware.org/glibc/wiki/Release/2.25#pid_cache_removal
255 #. FIXME .
256 #. Review progress of https://bugzilla.redhat.com/show_bug.cgi?id=1469757
257 #. type: Plain text
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 msgid ""
261 "Because of the aforementioned problems, since glibc 2.25, the PID cache is "
262 "removed: calls to B<getpid>() always invoke the actual system call, rather "
263 "than returning a cached value."
264 msgstr ""
265 "Debido a los problemas mencionados, desde la versión 2.25 de glibc se ha "
266 "eliminado la caché PID: las llamadas a B<getpid>() siempre invocan la "
267 "llamada al sistema real, en lugar de devolver un valor almacenado en caché."
268
269 #. type: SH
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 #, no-wrap
273 msgid "NOTES"
274 msgstr "NOTAS"
275
276 #. type: Plain text
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 msgid ""
280 "If the caller's parent is in a different PID namespace (see "
281 "B<pid_namespaces>(7)), B<getppid>() returns 0."
282 msgstr ""
283 "Si el antecesor del invocante está en un espacio de nombres diferente al PID "
284 "(consulte B<pid_namespaces>(7)), B<getppid>() tendrá un estado de salida de "
285 "0."
286
287 #. type: Plain text
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 msgid ""
291 "From a kernel perspective, the PID (which is shared by all of the threads in "
292 "a multithreaded process) is sometimes also known as the thread group ID "
293 "(TGID). This contrasts with the kernel thread ID (TID), which is unique for "
294 "each thread. For further details, see B<gettid>(2) and the discussion of "
295 "the B<CLONE_THREAD> flag in B<clone>(2)."
296 msgstr ""
297 "Desde la perspectiva del núcleo, el PID (que comparten todos los hilos de un "
298 "proceso multihilo) también se conoce como ID de grupo de hilos (TGID). Esto "
299 "contrasta con el ID de hilo del núcleo (TID), que es único para cada hilo. "
300 "Consulte B<gettid>(2) y la explicación del indicador B<CLONE_THREAD> en "
301 "B<clone>(2)."
302
303 #. type: SH
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "SEE ALSO"
308 msgstr "VÉASE TAMBIÉN"
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 msgid ""
314 "B<clone>(2), B<fork>(2), B<gettid>(2), B<kill>(2), B<exec>(3), "
315 "B<mkstemp>(3), B<tempnam>(3), B<tmpfile>(3), B<tmpnam>(3), "
316 "B<credentials>(7), B<pid_namespaces>(7)"
317 msgstr ""
318 "B<clone>(2), B<fork>(2), B<gettid>(2), B<kill>(2), B<exec>(3), "
319 "B<mkstemp>(3), B<tempnam>(3), B<tmpfile>(3), B<tmpnam>(3), "
320 "B<credentials>(7), B<pid_namespaces>(7)"
321
322 #. type: TH
323 #: debian-trixie
324 #, no-wrap
325 msgid "2024-05-02"
326 msgstr "2 Mayo 2024"
327
328 #. type: TH
329 #: debian-trixie
330 #, no-wrap
331 msgid "Linux man-pages 6.9.1"
332 msgstr "Páginas de Manual de Linux 6.9.1"
333
334 #. type: Plain text
335 #: debian-trixie
336 msgid "Standard C library (I<libc>, I<-lc>)"
337 msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)"
338
339 #. type: Plain text
340 #: debian-trixie fedora-44 fedora-rawhide
341 msgid "POSIX.1-2008."
342 msgstr "POSIX.1-2008."
343
344 #. type: Plain text
345 #: debian-trixie fedora-44 fedora-rawhide
346 msgid "POSIX.1-2001, 4.3BSD, SVr4."
347 msgstr "POSIX.1-2001, 4.3BSD, SVr4."
348
349 #. type: TH
350 #: fedora-44 fedora-rawhide
351 #, no-wrap
352 msgid "2024-07-23"
353 msgstr "23 ​​Julio 2024"
354
355 #. type: TH
356 #: fedora-44 fedora-rawhide
357 #, no-wrap
358 msgid "Linux man-pages 6.13"
359 msgstr "Páginas de Manual de Linux 6.13"
360
361 #. type: TH
362 #: mageia-cauldron
363 #, no-wrap
364 msgid "Linux man-pages 6.17"
365 msgstr "Páginas de Manual de Linux 6.17"
366
367 #. type: TH
368 #: opensuse-leap-16-1 opensuse-tumbleweed
369 #, no-wrap
370 msgid "Linux man-pages (unreleased)"
371 msgstr "Páginas de Manual de Linux (no publicadas)"