Debian Codegraph @

po/fr/man2/getpid.2.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003.
5 # Stéphan Rafin <[email protected]>, 2002.
6 # Thierry Vignaud <[email protected]>, 1999, 2002.
7 # François Micaux, 2002.
8 # Alain Portal <[email protected]>, 2003-2008.
9 # Jean-Philippe Guérard <[email protected]>, 2005-2006.
10 # Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007.
11 # Julien Cristau <[email protected]>, 2006-2007.
12 # Thomas Huriaux <[email protected]>, 2006-2008.
13 # Nicolas François <[email protected]>, 2006-2008.
14 # Florentin Duneau <[email protected]>, 2006-2010.
15 # Simon Paillard <[email protected]>, 2006, 2013.
16 # Denis Barbier <[email protected]>, 2006, 2010.
17 # David Prévot <[email protected]>, 2010, 2012, 2013.
18 # Cédric Boutillier <[email protected]>, 2011, 2012.
19 # Frédéric Hantrais <[email protected]>, 2013, 2014.
20 # Jean-Philippe MENGUAL <[email protected]>, 2020-2024.
21 msgid ""
22 msgstr ""
23 "Project-Id-Version: manpages-l10n\n"
24 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
25 "PO-Revision-Date: 2024-01-29 11:42+0100\n"
26 "Last-Translator: Jean-Philippe MENGUAL <[email protected]>\n"
27 "Language-Team: French <[email protected]>\n"
28 "Language: fr\n"
29 "MIME-Version: 1.0\n"
30 "Content-Type: text/plain; charset=UTF-8\n"
31 "Content-Transfer-Encoding: 8bit\n"
32 "Plural-Forms: nplurals=2; plural=n > 1;\n"
33 "X-Generator: Lokalize 22.12.3\n"
34
35 #. type: TH
36 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
37 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
38 #, no-wrap
39 msgid "getpid"
40 msgstr "getpid"
41
42 #. type: TH
43 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
44 #: opensuse-tumbleweed
45 #, no-wrap
46 msgid "2026-02-08"
47 msgstr "8 février 2026"
48
49 #. type: TH
50 #: archlinux debian-unstable
51 #, no-wrap
52 msgid "Linux man-pages 6.18"
53 msgstr "Pages du manuel de Linux 6.18"
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "NAME"
60 msgstr "NOM"
61
62 #. type: Plain text
63 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
64 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "getpid, getppid - get process identification"
66 msgstr "getpid, getppid - Obtenir l'identifiant d'un processus"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "LIBRARY"
73 msgstr "BIBLIOTHÈQUE"
74
75 #. type: Plain text
76 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
77 #: opensuse-leap-16-1 opensuse-tumbleweed
78 msgid "Standard C library (I<libc>,\\ I<-lc>)"
79 msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)"
80
81 #. type: SH
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid "SYNOPSIS"
86 msgstr "SYNOPSIS"
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, no-wrap
92 msgid "B<#include E<lt>unistd.hE<gt>>\n"
93 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 #, no-wrap
99 msgid ""
100 "B<pid_t getpid(void);>\n"
101 "B<pid_t getppid(void);>\n"
102 msgstr ""
103 "B<pid_t getpid(void);>\n"
104 "B<pid_t getppid(void);>\n"
105
106 #. type: SH
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 #, no-wrap
110 msgid "DESCRIPTION"
111 msgstr "DESCRIPTION"
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid ""
117 "B<getpid>() returns the process ID (PID) of the calling process. (This is "
118 "often used by routines that generate unique temporary filenames.)"
119 msgstr ""
120 "B<getpid>() renvoie l'identifiant du processus appelant (cela est souvent "
121 "utilisé par des routines qui génèrent des noms de fichier temporaire "
122 "uniques)."
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid ""
128 "B<getppid>() returns the process ID of the parent of the calling process. "
129 "This will be either the ID of the process that created this process using "
130 "B<fork>(), or, if that process has already terminated, the ID of the process "
131 "to which this process has been reparented (either B<init>(1) or a "
132 "\"subreaper\" process defined via the B<prctl>(2) B<PR_SET_CHILD_SUBREAPER> "
133 "operation)."
134 msgstr ""
135 "B<getppid>() renvoie l'ID du processus parent de celui appelant. Il s'agira "
136 "soit de l'ID du processus qui a créé ce processus en utilisant B<fork>(), "
137 "soit, si ce processus s'est déjà terminé, de l'ID du processus auquel il a "
138 "été réaffilié (B<init>(1) ou un processus « subreaper » défini avec "
139 "l'opération B<PR_SET_CHILD_SUBREAPER> de B<prctl>(2))."
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 "ERRORS"
146 msgstr "ERREURS"
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 "These functions are always successful."
152 msgstr "Ces fonctions réussissent toujours."
153
154 #. type: SH
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 #, no-wrap
158 msgid "VERSIONS"
159 msgstr "VERSIONS"
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 "On Alpha, instead of a pair of B<getpid>() and B<getppid>() system calls, "
166 "a single B<getxpid>() system call is provided, which returns a pair of PID "
167 "and parent PID. The glibc B<getpid>() and B<getppid>() wrapper functions "
168 "transparently deal with this. See B<syscall>(2) for details regarding "
169 "register mapping."
170 msgstr ""
171 "Sur Alpha, au lieu d'une paire d'appels système B<getpid>() et B<getppid>(), "
172 "un seul appel B<getxpid>() est fourni, qui renvoie une paire PID et PID "
173 "parent. Les fonctions enveloppes B<getpid>() et B<getppid>() de la glibc "
174 "gèrent cela de manière transparente. Voir B<syscall>(2) pour des détails sur "
175 "les tableaux de registre."
176
177 #. type: SH
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 #, no-wrap
181 msgid "STANDARDS"
182 msgstr "NORMES"
183
184 #. type: Plain text
185 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
186 #: opensuse-tumbleweed
187 msgid "POSIX.1-2024."
188 msgstr "POSIX.1-2024."
189
190 #. type: SH
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 #, no-wrap
194 msgid "HISTORY"
195 msgstr "HISTORIQUE"
196
197 #. type: Plain text
198 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
199 #: opensuse-tumbleweed
200 msgid "4.3BSD, SVr4, POSIX.1-1988."
201 msgstr "4.3BSD, SVr4, POSIX.1-1988."
202
203 #. type: SS
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 #, no-wrap
207 msgid "C library/kernel differences"
208 msgstr "Différences entre bibliothèque C et noyau"
209
210 #
211 #
212 #
213 #
214 #. The following program demonstrates this "feature":
215 #. #define _GNU_SOURCE
216 #. #include <sys/syscall.h>
217 #. #include <sys/wait.h>
218 #. #include <stdint.h>
219 #. #include <stdio.h>
220 #. #include <stdlib.h>
221 #. #include <unistd.h>
222 #. int
223 #. main(int argc, char *argv[])
224 #. {
225 #. /* The following statement fills the getpid() cache */
226 #. printf("parent PID = %ld
227 #. ", (intmax_t) getpid());
228 #. if (syscall(SYS_fork) == 0) {
229 #. if (getpid() != syscall(SYS_getpid))
230 #. printf("child getpid() mismatch: getpid()=%jd; "
231 #. "syscall(SYS_getpid)=%ld
232 #. ",
233 #. (intmax_t) getpid(), (long) syscall(SYS_getpid));
234 #. exit(EXIT_SUCCESS);
235 #. }
236 #. wait(NULL);
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 ""
242 "From glibc 2.3.4 up to and including glibc 2.24, the glibc wrapper function "
243 "for B<getpid>() cached PIDs, with the goal of avoiding additional system "
244 "calls when a process calls B<getpid>() repeatedly. Normally this caching "
245 "was invisible, but its correct operation relied on support in the wrapper "
246 "functions for B<fork>(2), B<vfork>(2), and B<clone>(2): if an application "
247 "bypassed the glibc wrappers for these system calls by using B<syscall>(2), "
248 "then a call to B<getpid>() in the child would return the wrong value (to be "
249 "precise: it would return the PID of the parent process). In addition, there "
250 "were cases where B<getpid>() could return the wrong value even when "
251 "invoking B<clone>(2) via the glibc wrapper function. (For a discussion of "
252 "one such case, see BUGS in B<clone>(2).) Furthermore, the complexity of the "
253 "caching code had been the source of a few bugs within glibc over the years."
254 msgstr ""
255 "De la glibc 2.3.4 jusqu'à la glibc 2.24 incluse, la fonction enveloppe de la "
256 "glibc pour B<getpid>() faisait un cache des PID, de façon à éviter des "
257 "appels système supplémentaires quand un processus appelle B<getpid>() de "
258 "façon répétée. Normalement, cette mise en cache n'était pas visible, mais "
259 "son fonctionnement correct reposait sur la gestion du cache dans les "
260 "fonctions enveloppes pour B<fork>(2), B<vfork>(2) et B<clone>(2) : si une "
261 "application se passait des enveloppes de la glibc pour ces appels système en "
262 "appelant B<syscall>(2), alors un appel à B<getpid>() dans l'enfant renvoyait "
263 "la mauvaise valeur (pour être précis : il renvoyait le PID du processus "
264 "parent). En outre, il y avait des cas où B<getpid>() renvoyait la mauvaise "
265 "valeur même avec un appel B<clone>(2) par la fonction enveloppe de la glibc "
266 "(voir BOGUES de B<clone>(2) pour un point sur ce cas). De plus, la "
267 "complexité du code de mise en cache était devenue, au fil des années, la "
268 "source de quelques bogues dans la glibc."
269
270 #. commit c579f48edba88380635ab98cb612030e3ed8691e
271 #. https://sourceware.org/glibc/wiki/Release/2.25#pid_cache_removal
272 #. FIXME .
273 #. Review progress of https://bugzilla.redhat.com/show_bug.cgi?id=1469757
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid ""
278 "Because of the aforementioned problems, since glibc 2.25, the PID cache is "
279 "removed: calls to B<getpid>() always invoke the actual system call, rather "
280 "than returning a cached value."
281 msgstr ""
282 "Du fait des problèmes susmentionnés, depuis la glibc version 2.25, le cache "
283 "du PID est retiré : les appels à B<getpid>() appellent toujours le vrai "
284 "appel système au lieu de renvoyer une valeur mise en cache."
285
286 #. type: SH
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "NOTES"
291 msgstr "NOTES"
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 msgid ""
297 "If the caller's parent is in a different PID namespace (see "
298 "B<pid_namespaces>(7)), B<getppid>() returns 0."
299 msgstr ""
300 "Si le parent de l'appelant est dans un espace de noms de PID différent (voir "
301 "B<pid_namespaces>(7)), B<getppid>() renvoie B<0>."
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid ""
307 "From a kernel perspective, the PID (which is shared by all of the threads in "
308 "a multithreaded process) is sometimes also known as the thread group ID "
309 "(TGID). This contrasts with the kernel thread ID (TID), which is unique for "
310 "each thread. For further details, see B<gettid>(2) and the discussion of "
311 "the B<CLONE_THREAD> flag in B<clone>(2)."
312 msgstr ""
313 "Du point de vue du noyau, le PID (qui est partagé par tous les threads dans "
314 "un processus multithreads) est parfois connu sous l'ID du groupe du thread "
315 "(TGID). Cela contraste avec l'ID du thread (TID) du noyau qui est unique "
316 "pour chaque thread. Pour plus de détails, voir B<gettid>(2) ou le point sur "
317 "l'attribut B<CLONE_THREAD> dans B<clone>(2)."
318
319 #. type: SH
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, no-wrap
323 msgid "SEE ALSO"
324 msgstr "VOIR AUSSI"
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 msgid ""
330 "B<clone>(2), B<fork>(2), B<gettid>(2), B<kill>(2), B<exec>(3), "
331 "B<mkstemp>(3), B<tempnam>(3), B<tmpfile>(3), B<tmpnam>(3), "
332 "B<credentials>(7), B<pid_namespaces>(7)"
333 msgstr ""
334 "B<clone>(2), B<fork>(2), B<gettid>(2), B<kill>(2), B<exec>(3), "
335 "B<mkstemp>(3), B<tempnam>(3), B<tmpfile>(3), B<tmpnam>(3), "
336 "B<credentials>(7), B<pid_namespaces>(7)"
337
338 #. type: TH
339 #: debian-trixie
340 #, no-wrap
341 msgid "2024-05-02"
342 msgstr "2 mai 2024"
343
344 #. type: TH
345 #: debian-trixie
346 #, no-wrap
347 msgid "Linux man-pages 6.9.1"
348 msgstr "Pages du manuel de Linux 6.9.1"
349
350 #. type: Plain text
351 #: debian-trixie
352 msgid "Standard C library (I<libc>, I<-lc>)"
353 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
354
355 #. type: Plain text
356 #: debian-trixie fedora-44 fedora-rawhide
357 msgid "POSIX.1-2008."
358 msgstr "POSIX.1-2008."
359
360 #. type: Plain text
361 #: debian-trixie fedora-44 fedora-rawhide
362 msgid "POSIX.1-2001, 4.3BSD, SVr4."
363 msgstr "POSIX.1-2001, 4.3BSD, SVr4."
364
365 #. type: TH
366 #: fedora-44 fedora-rawhide
367 #, no-wrap
368 msgid "2024-07-23"
369 msgstr "23 juillet 2024"
370
371 #. type: TH
372 #: fedora-44 fedora-rawhide
373 #, no-wrap
374 msgid "Linux man-pages 6.13"
375 msgstr "Pages du manuel de Linux 6.13"
376
377 #. type: TH
378 #: mageia-cauldron
379 #, no-wrap
380 msgid "Linux man-pages 6.17"
381 msgstr "Pages du manuel de Linux 6.17"
382
383 #. type: TH
384 #: opensuse-leap-16-1 opensuse-tumbleweed
385 #, no-wrap
386 msgid "Linux man-pages (unreleased)"
387 msgstr "Pages du manuel de Linux (non publiées)"