Debian Codegraph @

po/fr/man3/mallopt.3.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, 2012-2014.
16 # Denis Barbier <[email protected]>, 2006,2010.
17 # David Prévot <[email protected]>, 2010-2014.
18 # Grégoire Scano <[email protected]>, 2020.
19 msgid ""
20 msgstr ""
21 "Project-Id-Version: manpages-l10n 4.22.0\n"
22 "POT-Creation-Date: 2026-06-05 06:30+0200\n"
23 "PO-Revision-Date: 2024-05-07 17:43+0200\n"
24 "Last-Translator: Grégoire Scano <[email protected]>\n"
25 "Language-Team: French <[email protected]>\n"
26 "Language: fr\n"
27 "MIME-Version: 1.0\n"
28 "Content-Type: text/plain; charset=UTF-8\n"
29 "Content-Transfer-Encoding: 8bit\n"
30 "Plural-Forms: nplurals=2; plural=n > 1;\n"
31 "X-Generator: Lokalize 22.12.3\n"
32
33 #. type: TH
34 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
35 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
36 #, no-wrap
37 msgid "mallopt"
38 msgstr "mallopt"
39
40 #. type: TH
41 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
42 #: opensuse-tumbleweed
43 #, no-wrap
44 msgid "2026-02-08"
45 msgstr "8 février 2026"
46
47 #. type: TH
48 #: archlinux debian-unstable
49 #, no-wrap
50 msgid "Linux man-pages 6.18"
51 msgstr "Pages du manuel de Linux 6.18"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "NAME"
58 msgstr "NOM"
59
60 #. type: Plain text
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "mallopt - set memory allocation parameters"
64 msgstr "mallopt - Définir les paramètres d'allocation de mémoire"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "LIBRARY"
71 msgstr "BIBLIOTHÈQUE"
72
73 #. type: Plain text
74 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
75 #: opensuse-leap-16-1 opensuse-tumbleweed
76 msgid "Standard C library (I<libc>,\\ I<-lc>)"
77 msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)"
78
79 #. type: SH
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "SYNOPSIS"
84 msgstr "SYNOPSIS"
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "B<#include E<lt>malloc.hE<gt>>\n"
91 msgstr "B<#include E<lt>malloc.hE<gt>>\n"
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid "B<int mallopt(int >I<param>B<, int >I<value>B<);>\n"
98 msgstr "B<int mallopt(int >I<param>B<, int >I<value>B<);>\n"
99
100 #. type: SH
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 #, no-wrap
104 msgid "DESCRIPTION"
105 msgstr "DESCRIPTION"
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 msgid ""
111 "The B<mallopt>() function adjusts parameters that control the behavior of "
112 "the memory-allocation functions (see B<malloc>(3)). The I<param> argument "
113 "specifies the parameter to be modified, and I<value> specifies the new value "
114 "for that parameter."
115 msgstr ""
116 "La fonction B<mallopt>() ajuste les paramètres qui contrôlent le "
117 "comportement des fonctions liées à l'allocation de mémoire (voir "
118 "B<malloc>(3)). Le paramètre I<param> indique le paramètre à modifier, et "
119 "I<value> indique la nouvelle valeur pour ce paramètre."
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 msgid "The following values can be specified for I<param>:"
125 msgstr "Les valeurs suivantes peuvent être assignées à I<param> :"
126
127 #. type: TP
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, no-wrap
131 msgid "B<M_ARENA_MAX>"
132 msgstr "B<M_ARENA_MAX>"
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 ""
138 "If this parameter has a nonzero value, it defines a hard limit on the "
139 "maximum number of arenas that can be created. An arena represents a pool of "
140 "memory that can be used by B<malloc>(3) (and similar) calls to service "
141 "allocation requests. Arenas are thread safe and therefore may have multiple "
142 "concurrent memory requests. The trade-off is between the number of threads "
143 "and the number of arenas. The more arenas you have, the lower the per-"
144 "thread contention, but the higher the memory usage."
145 msgstr ""
146 "Si ce paramètre à une valeur non nulle, il définit une limite dure sur le "
147 "nombre maximal d'arènes qui peuvent être créées. Une arène représente une "
148 "réserve de mémoire qui peut être utilisée par des appels à B<malloc>(3) (et "
149 "fonctions similaires) pour répondre à des requêtes d'allocation. Les arènes "
150 "sont sécurisées vis-à-vis des fils d'exécution et peuvent répondre à de "
151 "multiples requêtes concurrentes. Un compromis est à trouver entre le nombre "
152 "de fils d'exécution et le nombre d'arènes. Plus il y a d'arènes et plus la "
153 "compétition par fil d'exécution est basse au détriment d'une consommation "
154 "mémoire plus élevée."
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 msgid ""
160 "The default value of this parameter is 0, meaning that the limit on the "
161 "number of arenas is determined according to the setting of B<M_ARENA_TEST>."
162 msgstr ""
163 "La valeur par défaut de ce paramètre est I<0>, ce qui signifie que la limite "
164 "du nombre d'arènes est déterminée conformément à la valeur de "
165 "B<M_ARENA_TEST>."
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 msgid ""
171 "This parameter has been available since glibc 2.10 via B<--enable-"
172 "experimental-malloc>, and since glibc 2.15 by default. In some versions of "
173 "the allocator there was no limit on the number of created arenas (e.g., "
174 "CentOS 5, RHEL 5)."
175 msgstr ""
176 "Ce paramètre est disponible depuis la glibc 2.10 à l’aide de B<--enable-"
177 "experimental-malloc>, et par défaut depuis la glibc 2.15. Dans certaines "
178 "versions de l’allocateur il n'y avait pas de limite sur le nombre d'arènes "
179 "créées (sur CentOS 5 et RHEL 5 par exemple)."
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 msgid ""
185 "When employing newer glibc versions, applications may in some cases exhibit "
186 "high contention when accessing arenas. In these cases, it may be beneficial "
187 "to increase B<M_ARENA_MAX> to match the number of threads. This is similar "
188 "in behavior to strategies taken by tcmalloc and jemalloc (e.g., per-thread "
189 "allocation pools)."
190 msgstr ""
191 "Lors de l'utilisation de versions plus récentes de la glibc, les "
192 "applications peuvent dans certains cas faire preuve d’une grande compétition "
193 "lors de l'accès aux arènes. Dans ces cas, il peut être bénéfique d'augmenter "
194 "B<M_ARENA_MAX> pour la faire correspondre au nombre de fils d'exécution. Il "
195 "s'agit d'un comportement similaire aux stratégies appliquées par tcmalloc et "
196 "jemalloc (à des réserves d'allocation par fil d'exécution par exemple)."
197
198 #. type: TP
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 #, no-wrap
202 msgid "B<M_ARENA_TEST>"
203 msgstr "B<M_ARENA_TEST>"
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 msgid ""
209 "This parameter specifies a value, in number of arenas created, at which "
210 "point the system configuration will be examined to determine a hard limit on "
211 "the number of created arenas. (See B<M_ARENA_MAX> for the definition of an "
212 "arena.)"
213 msgstr ""
214 "Ce paramètre définit, en nombre d'arènes créées, la valeur pour laquelle la "
215 "configuration du système sera examinée afin de déterminer une limite dure "
216 "sur le nombre d'arènes créées. Consultez B<M_ARENA_MAX> pour la définition "
217 "d'une arène."
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 msgid ""
223 "The computation of the arena hard limit is implementation-defined and is "
224 "usually calculated as a multiple of the number of available CPUs. Once the "
225 "hard limit is computed, the result is final and constrains the total number "
226 "of arenas."
227 msgstr ""
228 "Le calcul de la limite dure du nombre d'arènes est définit par "
229 "l'implémentation et est généralement un multiple du nombre de CPU "
230 "disponibles. Le résultat est définitif une fois la limite dure calculée, et "
231 "il contraint le nombre total d'arènes."
232
233 #. type: Plain text
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 msgid ""
237 "The default value for the B<M_ARENA_TEST> parameter is 2 on systems where "
238 "I<sizeof(long)> is 4; otherwise the default value is 8."
239 msgstr ""
240 "La valeur par défaut du paramètre B<M_ARENA_TEST> est 2 sur les systèmes où "
241 "I<sizeof(long)> vaut 4 ; autrement, la valeur par défaut est 8."
242
243 #. type: Plain text
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 msgid ""
247 "This parameter has been available since glibc 2.10 via B<--enable-"
248 "experimental-malloc>, and since glibc 2.15 by default."
249 msgstr ""
250 "Ce paramètre est disponible depuis la glibc 2.10 à l’aide de B<--enable-"
251 "experimental-malloc>, et par défaut depuis la glibc 2.15."
252
253 #. type: Plain text
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 msgid ""
257 "The value of B<M_ARENA_TEST> is not used when B<M_ARENA_MAX> has a nonzero "
258 "value."
259 msgstr ""
260 "La valeur de B<M_ARENA_TEST> n'est pas utilisée lorsque B<M_ARENA_MAX> a une "
261 "valeur non nulle."
262
263 #. type: TP
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 #, no-wrap
267 msgid "B<M_CHECK_ACTION>"
268 msgstr "B<M_CHECK_ACTION>"
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 msgid ""
274 "Setting this parameter controls how glibc responds when various kinds of "
275 "programming errors are detected (e.g., freeing the same pointer twice). The "
276 "3 least significant bits (2, 1, and 0) of the value assigned to this "
277 "parameter determine the glibc behavior, as follows:"
278 msgstr ""
279 "Ce paramètre contrôle le comportement de la glibc lorsque des erreurs de "
280 "programmation sont détectées (par exemple, lors qu'un pointeur est libéré "
281 "plusieurs fois). Les 3 bits de poids faible (bits 2, 1 et 0) de cette valeur "
282 "ont les significations suivantes :"
283
284 #. type: TP
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 #, no-wrap
288 msgid "Bit 0"
289 msgstr "Bit 0"
290
291 #. type: Plain text
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 msgid ""
295 "If this bit is set, then print a one-line message on I<stderr> that provides "
296 "details about the error. The message starts with the string \"***\\ glibc "
297 "detected\\ ***\", followed by the program name, the name of the memory-"
298 "allocation function in which the error was detected, a brief description of "
299 "the error, and the memory address where the error was detected."
300 msgstr ""
301 "Lorsque ce bit est positionné, un message d'une ligne détaillant l'erreur "
302 "est affiché sur I<stderr>. Le message commence par la chaîne \"***\\ glibc "
303 "detected\\ ***\", suivi par le nom du programme, le nom de la fonction de "
304 "l'allocation mémoire qui a détecté l'erreur, une brève description de "
305 "l'erreur, puis l'adresse mémoire où l'erreur a été détectée."
306
307 #. type: TP
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 #, no-wrap
311 msgid "Bit 1"
312 msgstr "Bit 1"
313
314 #. type: Plain text
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 msgid ""
318 "If this bit is set, then, after printing any error message specified by bit "
319 "0, the program is terminated by calling B<abort>(3). Since glibc 2.4, if "
320 "bit 0 is also set, then, between printing the error message and aborting, "
321 "the program also prints a stack trace in the manner of B<backtrace>(3), and "
322 "prints the process's memory mapping in the style of I</proc/>pidI</maps> "
323 "(see B<proc>(5))."
324 msgstr ""
325 "Lorsque ce bit est positionné, après avoir affiché un message d'erreur "
326 "configuré par le bit 0, le programme est terminé en appelant B<abort>(3). "
327 "Depuis la glibc 2.4, si le bit 0 est également positionné, alors le "
328 "programme affiche également — entre l'affichage d'un message d'erreur et "
329 "l'abandon du programme — l'état de la pile à la manière de B<backtrace>(3) "
330 "et les projections en mémoire du processus à la manière de I</proc/>pidI</"
331 "maps> (voir B<proc>(5))."
332
333 #. type: TP
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 #, no-wrap
337 msgid "Bit 2 (since glibc 2.4)"
338 msgstr "Bit 2 (depuis la glibc 2.4)"
339
340 #. type: Plain text
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 msgid ""
344 "This bit has an effect only if bit 0 is also set. If this bit is set, then "
345 "the one-line message describing the error is simplified to contain just the "
346 "name of the function where the error was detected and the brief description "
347 "of the error."
348 msgstr ""
349 "Ce bit a un effet uniquement si le bit 0 est également positionné. Lorsqu'il "
350 "est positionné, alors le message d'erreur d'une ligne décrivant l'erreur est "
351 "simplifié et contient uniquement le nom de la fonction où l'erreur a été "
352 "détectée ainsi qu'une brève description de l'erreur."
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 msgid "The remaining bits in I<value> are ignored."
358 msgstr "Les autres bits de I<value> sont ignorés."
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 msgid ""
364 "Combining the above details, the following numeric values are meaningful for "
365 "B<M_CHECK_ACTION>:"
366 msgstr ""
367 "La combinaison des bits décrits ci-dessus permet de configurer "
368 "B<M_CHECK_ACTION> avec les valeurs suivantes :"
369
370 #. type: TP
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 #, no-wrap
374 msgid "B<0>"
375 msgstr "B<0>"
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 msgid "Ignore error conditions; continue execution (with undefined results)."
381 msgstr "Ignorer les erreurs et continuer l'exécution (sans résultats définis)."
382
383 #. type: TP
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 #, no-wrap
387 msgid "B<1>"
388 msgstr "B<1>"
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 msgid "Print a detailed error message and continue execution."
394 msgstr "Afficher un message d'erreur détaillé et continuer l'exécution."
395
396 #. type: TP
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 #, no-wrap
400 msgid "B<2>"
401 msgstr "B<2>"
402
403 #. type: Plain text
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 msgid "Abort the program."
407 msgstr "Interrompre le programme."
408
409 #. type: TP
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 #, no-wrap
413 msgid "B<3>"
414 msgstr "B<3>"
415
416 #. type: Plain text
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 msgid ""
420 "Print detailed error message, stack trace, and memory mappings, and abort "
421 "the program."
422 msgstr ""
423 "Afficher un message d'erreur détaillé, l'état de la pile et des projections "
424 "en mémoire, puis interrompre le programme."
425
426 #. type: TP
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 #, no-wrap
430 msgid "B<5>"
431 msgstr "B<5>"
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 msgid "Print a simple error message and continue execution."
437 msgstr "Afficher un message d'erreur simple et continuer l'exécution."
438
439 #. type: TP
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 #, no-wrap
443 msgid "B<7>"
444 msgstr "B<7>"
445
446 #. type: Plain text
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 msgid ""
450 "Print simple error message, stack trace, and memory mappings, and abort the "
451 "program."
452 msgstr ""
453 "Afficher un message d'erreur simple, l'état de la pile et des projections en "
454 "mémoire, puis interrompre le programme."
455
456 #. type: Plain text
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 msgid ""
460 "Since glibc 2.3.4, the default value for the B<M_CHECK_ACTION> parameter is "
461 "3. In glibc 2.3.3 and earlier, the default value is 1."
462 msgstr ""
463 "Depuis la glibc 2.3.4, B<M_CHECK_ACTION> a pour valeur par défaut 3. Dans la "
464 "glibc 2.3.3 et antérieures, la valeur par défaut est 1)."
465
466 #. type: Plain text
467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
469 msgid ""
470 "Using a nonzero B<M_CHECK_ACTION> value can be useful because otherwise a "
471 "crash may happen much later, and the true cause of the problem is then very "
472 "hard to track down."
473 msgstr ""
474 "Il est recommandé d'utiliser une valeur B<M_CHECK_ACTION> non nulle, car "
475 "sinon l'arrêt impromptu du programme risque d'être différé, ce qui rend très "
476 "difficile de retrouver l'origine du problème."
477
478 #. type: TP
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 #, no-wrap
482 msgid "B<M_MMAP_MAX>"
483 msgstr "B<M_MMAP_MAX>"
484
485 #. The following text adapted from comments in the glibc source:
486 #. type: Plain text
487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
489 msgid ""
490 "This parameter specifies the maximum number of allocation requests that may "
491 "be simultaneously serviced using B<mmap>(2). This parameter exists because "
492 "some systems have a limited number of internal tables for use by B<mmap>(2), "
493 "and using more than a few of them may degrade performance."
494 msgstr ""
495 "Ce paramètre indique le nombre maximal de requêtes d'allocation qui peuvent "
496 "être servies simultanément avec B<mmap>(2). Il permet de préserver les "
497 "performances de certains systèmes qui ont un nombre limité de tables "
498 "internes à disposition de B<mmap>(2)."
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 msgid ""
504 "The default value is 65,536, a value which has no special significance and "
505 "which serves only as a safeguard. Setting this parameter to 0 disables the "
506 "use of B<mmap>(2) for servicing large allocation requests."
507 msgstr ""
508 "La valeur par défaut est 65 536, valeur qui n'a pas de sens particulier mais "
509 "sert seulement de protection. Configurer ce paramètre à 0 désactive "
510 "l'utilisation de B<mmap>(2) pour servir de grandes requêtes d'allocation."
511
512 #. type: TP
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 #, no-wrap
516 msgid "B<M_MMAP_THRESHOLD>"
517 msgstr "B<M_MMAP_THRESHOLD>"
518
519 #. type: Plain text
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 msgid ""
523 "For allocations greater than or equal to the limit specified (in bytes) by "
524 "B<M_MMAP_THRESHOLD> that can't be satisfied from the free list, the memory-"
525 "allocation functions employ B<mmap>(2) instead of increasing the program "
526 "break using B<sbrk>(2)."
527 msgstr ""
528 "Lorsqu'une requête d'allocation supérieure ou égale au seuil "
529 "B<M_MMAP_THRESHOLD> (en octets) ne peut être satisfaite depuis la liste de "
530 "blocs libres, les fonctions d'allocation de mémoire utilisent B<mmap>(2) "
531 "plutôt que d'augmenter la taille du segment de données avec B<sbrk>(2)."
532
533 # note: comment traduire "at the top end"
534 #. type: Plain text
535 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
536 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
537 msgid ""
538 "Allocating memory using B<mmap>(2) has the significant advantage that the "
539 "allocated memory blocks can always be independently released back to the "
540 "system. (By contrast, the heap can be trimmed only if memory is freed at "
541 "the top end.) On the other hand, there are some disadvantages to the use of "
542 "B<mmap>(2): deallocated space is not placed on the free list for reuse by "
543 "later allocations; memory may be wasted because B<mmap>(2) allocations must "
544 "be page-aligned; and the kernel must perform the expensive task of zeroing "
545 "out memory allocated via B<mmap>(2). Balancing these factors leads to a "
546 "default setting of 128*1024 for the B<M_MMAP_THRESHOLD> parameter."
547 msgstr ""
548 "Allouer de la mémoire avec B<mmap>(2) permet toujours aux blocs de mémoire "
549 "alloués d'être rendus de manière indépendante au système. Cela représente un "
550 "avantage significatif comparé au tas qui ne peut être désalloué que si la "
551 "mémoire est libérée par le haut. D'autre part, il y a certains inconvénients "
552 "à utiliser B<mmap>(2) : l'espace désalloué n'est pas considéré comme libéré, "
553 "l'empêchant d'être réutilisé pour de futures allocations ; de la mémoire "
554 "peut être gaspillée car les allocations à l’aide de B<mmap>(2) doivent être "
555 "alignées sur une taille de page ; et le noyau doit effectuer la tâche "
556 "coûteuse de remise à zéro de la mémoire allouée par B<mmap>(2). Trouver un "
557 "compromis entre ces effets mène à une valeur du paramètre "
558 "B<M_MMAP_THRESHOLD> par défaut à 128*1024."
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 msgid ""
564 "The lower limit for this parameter is 0. The upper limit is "
565 "B<DEFAULT_MMAP_THRESHOLD_MAX>: 512*1024 on 32-bit systems or "
566 "I<4*1024*1024*sizeof(long)> on 64-bit systems."
567 msgstr ""
568 "La limite basse de ce paramètre est 0. La limite haute est "
569 "B<DEFAULT_MMAP_THRESHOLD_MAX> : c'est-à-dire 512*1024 sur les systèmes "
570 "32 bits ou I<4*1024*1024*sizeof(long)> sur les systèmes 64 bits."
571
572 #. type: Plain text
573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
575 msgid ""
576 "I<Note>: Nowadays, glibc uses a dynamic mmap threshold by default. The "
577 "initial value of the threshold is 128*1024, but when blocks larger than the "
578 "current threshold and less than or equal to B<DEFAULT_MMAP_THRESHOLD_MAX> "
579 "are freed, the threshold is adjusted upward to the size of the freed block. "
580 "When dynamic mmap thresholding is in effect, the threshold for trimming the "
581 "heap is also dynamically adjusted to be twice the dynamic mmap threshold. "
582 "Dynamic adjustment of the mmap threshold is disabled if any of the "
583 "B<M_TRIM_THRESHOLD>, B<M_TOP_PAD>, B<M_MMAP_THRESHOLD>, or B<M_MMAP_MAX> "
584 "parameters is set."
585 msgstr ""
586 "I<Note> : de nos jours, la glibc configure ce seuil dynamiquement. La valeur "
587 "initiale est 128*1024, mais lorsque sont libérés des blocs de taille "
588 "supérieure au seuil mais inférieure ou égale à "
589 "B<DEFAULT_MMAP_THRESHOLD_MAX>, le seuil est ajusté à la taille du bloc "
590 "libéré. Quand le mécanisme de seuil dynamique est activé, le seuil de "
591 "désallocation du tas est également configuré dynamiquement à deux fois le "
592 "seuil mmap. L'ajustement dynamique du seuil mmap est désactivé dès lors "
593 "qu'un des paramètres B<M_TRIM_THRESHOLD>, B<M_TOP_PAD>, B<M_MMAP_THRESHOLD>, "
594 "ou B<M_MMAP_MAX> est configuré."
595
596 #. type: TP
597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
599 #, no-wrap
600 msgid "B<M_MXFAST> (since glibc 2.3)"
601 msgstr "B<M_MXFAST> (depuis glibc 2.3)"
602
603 #. The following text adapted from comments in the glibc sources:
604 #. type: Plain text
605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
607 msgid ""
608 "Set the upper limit for memory allocation requests that are satisfied using "
609 "\"fastbins\". (The measurement unit for this parameter is bytes.) Fastbins "
610 "are storage areas that hold deallocated blocks of memory of the same size "
611 "without merging adjacent free blocks. Subsequent reallocation of blocks of "
612 "the same size can be handled very quickly by allocating from the fastbin, "
613 "although memory fragmentation and the overall memory footprint of the "
614 "program can increase."
615 msgstr ""
616 "Définir la limite supérieure (en octets) pour les requêtes d'allocation "
617 "mémoire qui sont satisfaites en utilisant des «\\ fastbins\\ ». Les «\\ "
618 "fastbins\\ » sont des espaces de stockage qui contiennent des blocs de "
619 "mémoire désalloués de même taille, sans fusion des blocs libres adjacents. "
620 "La réallocation ultérieure de blocs de cette taille peut être effectuée très "
621 "rapidement en allouant à partir du «\\ fastbin \\», bien que d'un autre côté "
622 "la fragmentation de la mémoire et l'empreinte mémoire totale du programme "
623 "puissent augmenter."
624
625 #. type: Plain text
626 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
627 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
628 msgid ""
629 "The default value for this parameter is I<64*sizeof(size_t)/4> (i.e., 64 on "
630 "32-bit architectures). The range for this parameter is 0 to "
631 "I<80*sizeof(size_t)/4>. Setting B<M_MXFAST> to 0 disables the use of "
632 "fastbins."
633 msgstr ""
634 "La valeur par défaut de ce paramètre est I<64*sizeof(size_t)/4> (c'est-à-"
635 "dire I<64> sur les architectures 32 bits). La plage de ce paramètre va de "
636 "I<0> à I<80*sizeof(size_t)/4>. Fixer B<M_MXFAST> à I<0> désactive "
637 "l'utilisation des « fastbins »."
638
639 #. type: TP
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
642 #, no-wrap
643 msgid "B<M_PERTURB> (since glibc 2.4)"
644 msgstr "B<M_PERTURB> (depuis glibc 2.4)"
645
646 #. type: Plain text
647 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
648 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
649 msgid ""
650 "If this parameter is set to a nonzero value, then bytes of allocated memory "
651 "(other than allocations via B<calloc>(3)) are initialized to the complement "
652 "of the value in the least significant byte of I<value>, and when allocated "
653 "memory is released using B<free>(3), the freed bytes are set to the least "
654 "significant byte of I<value>. This can be useful for detecting errors where "
655 "programs incorrectly rely on allocated memory being initialized to zero, or "
656 "reuse values in memory that has already been freed."
657 msgstr ""
658 "Si ce paramètre est configuré à une valeur non nulle, tous les octets de "
659 "mémoire allouée (autrement qu'avec B<calloc>(3)) sont initialisés au "
660 "complément de la valeur de l'octet le moins significatif de I<value>. "
661 "Lorsque la mémoire allouée est libérée avec B<free>(3), les octets libérés "
662 "prennent tous la valeur de l'octet le moins significatif de I<value>. Cette "
663 "fonctionnalité permet de détecter des erreurs lorsque les programmes "
664 "supposent que la mémoire allouée a été initialisée à zéro, ou réutilisent "
665 "des valeurs depuis une zone mémoire précédemment libérée."
666
667 #. type: Plain text
668 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
669 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
670 msgid "The default value for this parameter is 0."
671 msgstr "La valeur par défaut de ce paramètre est 0."
672
673 #. type: TP
674 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
675 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
676 #, no-wrap
677 msgid "B<M_TOP_PAD>"
678 msgstr "B<M_TOP_PAD>"
679
680 # Pas d'idée de traduction pour la dernière phrase
681 #. type: Plain text
682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
684 msgid ""
685 "This parameter defines the amount of padding to employ when calling "
686 "B<sbrk>(2) to modify the program break. (The measurement unit for this "
687 "parameter is bytes.) This parameter has an effect in the following "
688 "circumstances:"
689 msgstr ""
690 "Ce paramètre définit la quantité en octets de bourrage à utiliser lors de "
691 "l'appel à B<sbrk>(2) pour modifier la taille du segment de données. Ce "
692 "paramètre a un effet dans les circonstances suivantes\\ :"
693
694 #. type: IP
695 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
696 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
697 #, no-wrap
698 msgid "\\[bu]"
699 msgstr "-"
700
701 #. type: Plain text
702 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
703 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
704 msgid ""
705 "When the program break is increased, then B<M_TOP_PAD> bytes are added to "
706 "the B<sbrk>(2) request."
707 msgstr ""
708 "Lorsque la taille du segment de données est augmentée, B<M_TOP_PAD> octets "
709 "sont ajoutés à la requête B<sbrk>(2)."
710
711 #. type: Plain text
712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
714 msgid ""
715 "When the heap is trimmed as a consequence of calling B<free>(3) (see the "
716 "discussion of B<M_TRIM_THRESHOLD>) this much free space is preserved at the "
717 "top of the heap."
718 msgstr ""
719 "Lorsque le tas est désalloué suite à l'appel B<free>(3) (voir "
720 "B<M_TRIM_THRESHOLD>), cet espace supplémentaire est préservé en haut du tas."
721
722 #. type: Plain text
723 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
724 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
725 msgid ""
726 "In either case, the amount of padding is always rounded to a system page "
727 "boundary."
728 msgstr ""
729 "Dans tous les cas, la quantité de bourrage est toujours arrondie à la taille "
730 "d'une page système."
731
732 #. type: Plain text
733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
734 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
735 msgid ""
736 "Modifying B<M_TOP_PAD> is a trade-off between increasing the number of "
737 "system calls (when the parameter is set low) and wasting unused memory at "
738 "the top of the heap (when the parameter is set high)."
739 msgstr ""
740 "La valeur B<M_TOP_PAD> résulte d'un compromis entre l'augmentation du nombre "
741 "d'appels système (avec une valeur faible) et le gaspillage de mémoire "
742 "inutilisée en haut du tas (avec une valeur élevée)."
743
744 #. DEFAULT_TOP_PAD in glibc source
745 #. type: Plain text
746 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
747 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
748 msgid "The default value for this parameter is 128*1024."
749 msgstr "La valeur par défaut de ce paramètre est 128*1024."
750
751 #. type: TP
752 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
753 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
754 #, no-wrap
755 msgid "B<M_TRIM_THRESHOLD>"
756 msgstr "B<M_TRIM_THRESHOLD>"
757
758 #. type: Plain text
759 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
760 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
761 msgid ""
762 "When the amount of contiguous free memory at the top of the heap grows "
763 "sufficiently large, B<free>(3) employs B<sbrk>(2) to release this memory "
764 "back to the system. (This can be useful in programs that continue to "
765 "execute for a long period after freeing a significant amount of memory.) "
766 "The B<M_TRIM_THRESHOLD> parameter specifies the minimum size (in bytes) that "
767 "this block of memory must reach before B<sbrk>(2) is used to trim the heap."
768 msgstr ""
769 "Lorsque la quantité de mémoire libre et contigüe en haut du tas dépasse ce "
770 "seuil, B<free>(3) utilise B<sbrk>(2) pour rendre cette mémoire au système "
771 "d'exploitation. (Cela peut être utile pour les programmes qui sont exécutés "
772 "encore longtemps après avoir libéré une quantité importante de mémoire.)Le "
773 "paramètre B<M_TRIM_THRESHOLD> indique la taille minimale (en octet) que ce "
774 "bloc de mémoire doit atteindre avant que B<sbrk>(2) ne soit utilisé "
775 "pourréduire le tas."
776
777 #. type: Plain text
778 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
779 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
780 msgid ""
781 "The default value for this parameter is 128*1024. Setting "
782 "B<M_TRIM_THRESHOLD> to -1 disables trimming completely."
783 msgstr ""
784 "La valeur par défaut de ce paramètre est 128*1024, en octets. Une valeur de "
785 "B<-1> désactive complètement la désallocation."
786
787 #
788 #
789 #
790 #. type: Plain text
791 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
792 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
793 msgid ""
794 "Modifying B<M_TRIM_THRESHOLD> is a trade-off between increasing the number "
795 "of system calls (when the parameter is set low) and wasting unused memory "
796 "at the top of the heap (when the parameter is set high)."
797 msgstr ""
798 "La valeur B<M_TRIM_THRESHOLD> résulte d'un compromis entre l'augmentation du "
799 "nombre d'appels système (avec une valeur faible) et le gaspillage de mémoire "
800 "inutilisée en haut du tas (avec une valeur élevée)."
801
802 #. type: SS
803 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
804 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
805 #, no-wrap
806 msgid "Environment variables"
807 msgstr "Variables d'environnement"
808
809 #. type: Plain text
810 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
811 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
812 msgid ""
813 "A number of environment variables can be defined to modify some of the same "
814 "parameters as are controlled by B<mallopt>(). Using these variables has the "
815 "advantage that the source code of the program need not be changed. To be "
816 "effective, these variables must be defined before the first call to a memory-"
817 "allocation function. (If the same parameters are adjusted via B<mallopt>(), "
818 "then the B<mallopt>() settings take precedence.) For security reasons, "
819 "these variables are ignored in set-user-ID and set-group-ID programs."
820 msgstr ""
821 "Un certain nombre des paramètres de B<mallopt>() peuvent être modifiés à "
822 "travers de variables d'environnement. Ces variables ont l'avantage de ne pas "
823 "nécessiter la modification du code source du programme. Pour être prises en "
824 "compte, ces variables doivent être définies avant le premier appel à une "
825 "fonction d'allocation mémoire. Les paramètres passés par la fonction "
826 "B<mallopt>() sont prioritaires devant ceux issus des variables "
827 "d'environnement. Pour des raisons de sécurité, ces variables sont ignorées "
828 "dans le cas de programmes I<setuid> ou I<setgid>."
829
830 #. type: Plain text
831 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
832 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
833 msgid ""
834 "The environment variables are as follows (note the trailing underscore at "
835 "the end of the name of some variables):"
836 msgstr ""
837 "Les variables d'environnement sont les suivantes (notez le caractère de "
838 "soulignement (« underscore ») qui les termine) :"
839
840 #. type: TP
841 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
842 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
843 #, no-wrap
844 msgid "B<MALLOC_ARENA_MAX>"
845 msgstr "B<MALLOC_ARENA_MAX>"
846
847 #. type: Plain text
848 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
849 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
850 msgid "Controls the same parameter as B<mallopt>() B<M_ARENA_MAX>."
851 msgstr "Contrôle du même paramètre que B<M_ARENA_MAX> de B<mallopt>()."
852
853 #. type: TP
854 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
855 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
856 #, no-wrap
857 msgid "B<MALLOC_ARENA_TEST>"
858 msgstr "B<MALLOC_ARENA_TEST>"
859
860 #. type: Plain text
861 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
862 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
863 msgid "Controls the same parameter as B<mallopt>() B<M_ARENA_TEST>."
864 msgstr "Contrôle du même paramètre que B<M_ARENA_TEST> de B<mallopt>()."
865
866 #. type: TP
867 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
868 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
869 #, no-wrap
870 msgid "B<MALLOC_CHECK_>"
871 msgstr "B<MALLOC_CHECK_>"
872
873 #. On glibc 2.12/x86, a simple malloc()+free() loop is about 70% slower
874 #. when MALLOC_CHECK_ was set.
875 #. type: Plain text
876 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
877 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
878 msgid ""
879 "This environment variable controls the same parameter as B<mallopt>() "
880 "B<M_CHECK_ACTION>. If this variable is set to a nonzero value, then a "
881 "special implementation of the memory-allocation functions is used. (This is "
882 "accomplished using the B<malloc_hook>(3) feature.) This implementation "
883 "performs additional error checking, but is slower than the standard set of "
884 "memory-allocation functions. (This implementation does not detect all "
885 "possible errors; memory leaks can still occur.)"
886 msgstr ""
887 "Cette variable d'environnement contrôle le même paramètre que "
888 "B<M_CHECK_ACTION> de B<mallopt>(). Si elle est configurée à une valeur non "
889 "nulle, une mise en œuvre spécifique des fonctions d'allocation mémoire est "
890 "utilisée, grâce à la fonctionnalité B<malloc_hook>(3). Cette mise en œuvre "
891 "effectue des vérifications d'erreurs supplémentaires, au prix d'un "
892 "ralentissement par rapport au jeu standard de fonctions d'allocation "
893 "mémoire. Cependant, elle ne détecte pas toutes les erreurs possibles : des "
894 "fuites mémoires peuvent encore se produire."
895
896 #. type: Plain text
897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
899 msgid ""
900 "The value assigned to this environment variable should be a single digit, "
901 "whose meaning is as described for B<M_CHECK_ACTION>. Any characters beyond "
902 "the initial digit are ignored."
903 msgstr ""
904 "La valeur de cette variable d'environnement doit être un seul chiffre, dont "
905 "le sens est comme décrit pour B<M_CHECK_ACTION>. Tout caractère au-delà du "
906 "premier chiffre est ignoré."
907
908 #. type: Plain text
909 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
910 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
911 msgid ""
912 "For security reasons, the effect of B<MALLOC_CHECK_> is disabled by default "
913 "for set-user-ID and set-group-ID programs. However, if the file I</etc/suid-"
914 "debug> exists (the content of the file is irrelevant), then B<MALLOC_CHECK_> "
915 "also has an effect for set-user-ID and set-group-ID programs."
916 msgstr ""
917 "Pour des raisons de sécurité, B<MALLOC_CHECK_> est ignoré par défaut dans le "
918 "cas de programmes I<setuid> ou I<setgid>. Cependant, si le fichier I</etc/"
919 "suid-debug> existe (peu importe son contenu), alors la valeur de "
920 "B<MALLOC_CHECK_> est prise en compte pour les programmes I<setuid> ou "
921 "I<setgid>."
922
923 #. type: TP
924 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
925 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
926 #, no-wrap
927 msgid "B<MALLOC_MMAP_MAX_>"
928 msgstr "B<MALLOC_MMAP_MAX_>"
929
930 #. type: Plain text
931 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
932 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
933 msgid "Controls the same parameter as B<mallopt>() B<M_MMAP_MAX>."
934 msgstr "Contrôle du même paramètre que B<M_MMAP_MAX> de B<mallopt>()."
935
936 #. type: TP
937 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
938 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
939 #, no-wrap
940 msgid "B<MALLOC_MMAP_THRESHOLD_>"
941 msgstr "B<MALLOC_MMAP_THRESHOLD_>"
942
943 #. type: Plain text
944 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
945 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
946 msgid "Controls the same parameter as B<mallopt>() B<M_MMAP_THRESHOLD>."
947 msgstr "Contrôle du même paramètre que B<M_MMAP_THRESHOLD> de B<mallopt>()."
948
949 #. type: TP
950 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
951 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
952 #, no-wrap
953 msgid "B<MALLOC_PERTURB_>"
954 msgstr "B<MALLOC_PERTURB_>"
955
956 #. type: Plain text
957 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
958 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
959 msgid "Controls the same parameter as B<mallopt>() B<M_PERTURB>."
960 msgstr "Contrôle du même paramètre que B<M_PERTURB> de B<mallopt>()."
961
962 #. type: TP
963 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
964 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
965 #, no-wrap
966 msgid "B<MALLOC_TRIM_THRESHOLD_>"
967 msgstr "B<MALLOC_TRIM_THRESHOLD_>"
968
969 #. type: Plain text
970 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
971 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
972 msgid "Controls the same parameter as B<mallopt>() B<M_TRIM_THRESHOLD>."
973 msgstr "Contrôle du même paramètre que B<M_TRIM_THRESHOLD> de B<mallopt>()."
974
975 #. type: TP
976 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
977 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
978 #, no-wrap
979 msgid "B<MALLOC_TOP_PAD_>"
980 msgstr "B<MALLOC_TOP_PAD_>"
981
982 #. type: Plain text
983 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
984 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
985 msgid "Controls the same parameter as B<mallopt>() B<M_TOP_PAD>."
986 msgstr "Contrôle du même paramètre que B<M_TOP_PAD> de B<mallopt>()."
987
988 #. type: SH
989 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
990 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
991 #, no-wrap
992 msgid "RETURN VALUE"
993 msgstr "VALEUR RENVOYÉE"
994
995 #. type: Plain text
996 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
997 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
998 msgid "On success, B<mallopt>() returns 1. On error, it returns 0."
999 msgstr ""
1000 "En cas de succès, B<mallopt>() renvoie B<1>. En cas d'erreur, il renvoie "
1001 "B<0>."
1002
1003 #. type: SH
1004 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1005 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1006 #, no-wrap
1007 msgid "ERRORS"
1008 msgstr "ERREURS"
1009
1010 #. type: Plain text
1011 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1012 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1013 msgid "On error, I<errno> is I<not> set."
1014 msgstr "En cas d'erreur, I<errno> n'est pas positionné."
1015
1016 #. type: SH
1017 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1018 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1019 #, no-wrap
1020 msgid "VERSIONS"
1021 msgstr "VERSIONS"
1022
1023 #. type: Plain text
1024 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1025 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1026 msgid ""
1027 "A similar function exists on many System V derivatives, but the range of "
1028 "values for I<param> varies across systems. The SVID defined options "
1029 "B<M_MXFAST>, B<M_NLBLKS>, B<M_GRAIN>, and B<M_KEEP>, but only the first of "
1030 "these is implemented in glibc."
1031 msgstr ""
1032 "Une fonction similaire existe sur de nombreux dérivés de System V, mais les "
1033 "valeurs permises de I<param> varient d'un système à l'autre. SVID définit "
1034 "les options B<M_MXFAST>, B<M_NLBLKS>, B<M_GRAIN> et B<M_KEEP>, mais seule la "
1035 "première d'entre elles est disponible dans la glibc."
1036
1037 #. type: SH
1038 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1039 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1040 #, no-wrap
1041 msgid "STANDARDS"
1042 msgstr "NORMES"
1043
1044 #. type: Plain text
1045 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1046 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1047 msgid "None."
1048 msgstr "Aucun."
1049
1050 #. type: SH
1051 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1052 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1053 #, no-wrap
1054 msgid "HISTORY"
1055 msgstr "HISTORIQUE"
1056
1057 #. type: Plain text
1058 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1059 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1060 msgid "glibc 2.0."
1061 msgstr "glibc 2.0."
1062
1063 #. type: SH
1064 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1065 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1066 #, no-wrap
1067 msgid "BUGS"
1068 msgstr "BOGUES"
1069
1070 #. type: Plain text
1071 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1072 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1073 msgid "Specifying an invalid value for I<param> does not generate an error."
1074 msgstr "Indiquer une valeur non valable pour I<param> ne génère pas d'erreur."
1075
1076 #. FIXME . This looks buggy:
1077 #. setting the M_MXFAST limit rounds up: (s + SIZE_SZ) & ~MALLOC_ALIGN_MASK)
1078 #. malloc requests are rounded up:
1079 #. (req) + SIZE_SZ + MALLOC_ALIGN_MASK) & ~MALLOC_ALIGN_MASK
1080 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12129
1081 #. type: Plain text
1082 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1083 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1084 msgid ""
1085 "A calculation error within the glibc implementation means that a call of the "
1086 "form:"
1087 msgstr ""
1088 "Une erreur de calcul dans la mise en œuvre glibc implique qu'un appel de la "
1089 "forme suivante :"
1090
1091 #. type: Plain text
1092 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1093 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1094 #, no-wrap
1095 msgid "mallopt(M_MXFAST, n)\n"
1096 msgstr "mallopt(M_MXFAST, n)\n"
1097
1098 #. Bins are multiples of 2 * sizeof(size_t) + sizeof(size_t)
1099 #. type: Plain text
1100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1102 msgid ""
1103 "does not result in fastbins being employed for all allocations of size up to "
1104 "I<n>. To ensure desired results, I<n> should be rounded up to the next "
1105 "multiple greater than or equal to I<(2k+1)*sizeof(size_t)>, where I<k> is an "
1106 "integer."
1107 msgstr ""
1108 "n'active pas les « fastbins » pour toutes les allocations d'une taille "
1109 "jusqu'à I<n>. Pour obtenir l'effet attendu, I<n> doit être arrondi à un "
1110 "multiple supérieur ou égal à I<(2k+1)*sizeof(size_t)>, où I<k> est un entier."
1111
1112 #. FIXME . https://www.sourceware.org/bugzilla/show_bug.cgi?id=12140
1113 #. type: Plain text
1114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1116 msgid ""
1117 "If B<mallopt>() is used to set B<M_PERTURB>, then, as expected, the bytes "
1118 "of allocated memory are initialized to the complement of the byte in "
1119 "I<value>, and when that memory is freed, the bytes of the region are "
1120 "initialized to the byte specified in I<value>. However, there is an off-by-"
1121 "I<sizeof(size_t)> error in the implementation: instead of initializing "
1122 "precisely the block of memory being freed by the call I<free(p)>, the block "
1123 "starting at I<p+sizeof(size_t)> is initialized."
1124 msgstr ""
1125 "Si B<mallopt>() est utilisé pour configurer B<M_PERTURB>, tous les octets de "
1126 "mémoire alloués sont initialisés au complément de I<value>, puis lorsque la "
1127 "mémoire est libérée les octets sont initialisés à I<value>. Cependant, une "
1128 "erreur de I<sizeof(size_t)> est présente dans le code mis en œuvre : au lieu "
1129 "d'initialiser précisément le bloc de mémoire libéré par l'appel I<free(p)>, "
1130 "c'est le bloc démarrant à I<p+sizeof(size_t)> qui est initialisé."
1131
1132 #. type: SH
1133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1135 #, no-wrap
1136 msgid "EXAMPLES"
1137 msgstr "EXEMPLES"
1138
1139 #. type: Plain text
1140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1142 msgid ""
1143 "The program below demonstrates the use of B<M_CHECK_ACTION>. If the program "
1144 "is supplied with an (integer) command-line argument, then that argument is "
1145 "used to set the B<M_CHECK_ACTION> parameter. The program then allocates a "
1146 "block of memory, and frees it twice (an error)."
1147 msgstr ""
1148 "Le programme ci-dessous illustre l'utilisation de B<M_CHECK_ACTION>. Si le "
1149 "programme est appelé avec un paramètre (entier), alors celui-ci est utilisé "
1150 "pour B<M_CHECK_ACTION>. Le programme alloue un bloc de mémoire, puis le "
1151 "libère deux fois, ce qui constitue une erreur."
1152
1153 #. type: Plain text
1154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1156 msgid ""
1157 "The following shell session shows what happens when we run this program "
1158 "under glibc, with the default value for B<M_CHECK_ACTION>:"
1159 msgstr ""
1160 "L'exemple de session ci-dessous montre ce qu'il se passe lorsqu'un programme "
1161 "est exécuté avec la glibc et la valeur par défaut de B<M_CHECK_ACTION> :"
1162
1163 #. type: Plain text
1164 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1165 #: opensuse-tumbleweed
1166 #, fuzzy, no-wrap
1167 #| msgid ""
1168 #| "$ B<./a.out>\n"
1169 #| "main(): returned from first free() call\n"
1170 #| "*** glibc detected *** ./a.out: double free or corruption (top): 0x09d30008 ***\n"
1171 #| "======= Backtrace: =========\n"
1172 #| "/lib/libc.so.6(+0x6c501)[0x523501]\n"
1173 #| "/lib/libc.so.6(+0x6dd70)[0x524d70]\n"
1174 #| "/lib/libc.so.6(cfree+0x6d)[0x527e5d]\n"
1175 #| "\\&./a.out[0x80485db]\n"
1176 #| "/lib/libc.so.6(__libc_start_main+0xe7)[0x4cdce7]\n"
1177 #| "\\&./a.out[0x8048471]\n"
1178 #| "======= Memory map: ========\n"
1179 #| "001e4000-001fe000 r-xp 00000000 08:06 1083555 /lib/libgcc_s.so.1\n"
1180 #| "001fe000-001ff000 r--p 00019000 08:06 1083555 /lib/libgcc_s.so.1\n"
1181 #| "[some lines omitted]\n"
1182 #| "b7814000-b7817000 rw-p 00000000 00:00 0\n"
1183 #| "bff53000-bff74000 rw-p 00000000 00:00 0 [stack]\n"
1184 #| "Aborted (core dumped)\n"
1185 msgid ""
1186 "$B< ./a.out>;\n"
1187 "main(): returned from first free() call\n"
1188 "*** glibc detected *** ./a.out: double free or corruption (top): 0x09d30008 ***\n"
1189 "======= Backtrace: =========\n"
1190 "/lib/libc.so.6(+0x6c501)[0x523501]\n"
1191 "/lib/libc.so.6(+0x6dd70)[0x524d70]\n"
1192 "/lib/libc.so.6(cfree+0x6d)[0x527e5d]\n"
1193 "\\&./a.out[0x80485db]\n"
1194 "/lib/libc.so.6(__libc_start_main+0xe7)[0x4cdce7]\n"
1195 "\\&./a.out[0x8048471]\n"
1196 "======= Memory map: ========\n"
1197 "001e4000-001fe000 r-xp 00000000 08:06 1083555 /lib/libgcc_s.so.1\n"
1198 "001fe000-001ff000 r--p 00019000 08:06 1083555 /lib/libgcc_s.so.1\n"
1199 "[some lines omitted]\n"
1200 "b7814000-b7817000 rw-p 00000000 00:00 0\n"
1201 "bff53000-bff74000 rw-p 00000000 00:00 0 [stack]\n"
1202 "Aborted (core dumped)\n"
1203 msgstr ""
1204 "$ B<./a.out>\n"
1205 "main(): fin du premier appel free()\n"
1206 "*** glibc detected *** ./a.out: double free or corruption (top): 0x09d30008 ***\n"
1207 "======= Backtrace: =========\n"
1208 "/lib/libc.so.6(+0x6c501)[0x523501]\n"
1209 "/lib/libc.so.6(+0x6dd70)[0x524d70]\n"
1210 "/lib/libc.so.6(cfree+0x6d)[0x527e5d]\n"
1211 "\\&./a.out[0x80485db]\n"
1212 "/lib/libc.so.6(__libc_start_main+0xe7)[0x4cdce7]\n"
1213 "\\&./a.out[0x8048471]\n"
1214 "======= Memory map: ========\n"
1215 "001e4000-001fe000 r-xp 00000000 08:06 1083555 /lib/libgcc_s.so.1\n"
1216 "001fe000-001ff000 r--p 00019000 08:06 1083555 /lib/libgcc_s.so.1\n"
1217 "[some lines omitted]\n"
1218 "b7814000-b7817000 rw-p 00000000 00:00 0\n"
1219 "bff53000-bff74000 rw-p 00000000 00:00 0 [stack]\n"
1220 "Abandon\n"
1221
1222 #. type: Plain text
1223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1225 msgid ""
1226 "The following runs show the results when employing other values for "
1227 "B<M_CHECK_ACTION>:"
1228 msgstr ""
1229 "L'exemple suivant montre les cas d'autres valeurs de B<M_CHECK_ACTION>:"
1230
1231 #. type: Plain text
1232 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1233 #: opensuse-tumbleweed
1234 #, fuzzy, no-wrap
1235 #| msgid ""
1236 #| "$ B<./a.out 1> # Diagnose error and continue\n"
1237 #| "main(): returned from first free() call\n"
1238 #| "*** glibc detected *** ./a.out: double free or corruption (top): 0x09cbe008 ***\n"
1239 #| "main(): returned from second free() call\n"
1240 #| "$ B<./a.out 2> # Abort without error message\n"
1241 #| "main(): returned from first free() call\n"
1242 #| "Aborted (core dumped)\n"
1243 #| "$ B<./a.out 0> # Ignore error and continue\n"
1244 #| "main(): returned from first free() call\n"
1245 #| "main(): returned from second free() call\n"
1246 msgid ""
1247 "$B< ./a.out 1>; # Diagnose error and continue\n"
1248 "main(): returned from first free() call\n"
1249 "*** glibc detected *** ./a.out: double free or corruption (top): 0x09cbe008 ***\n"
1250 "main(): returned from second free() call\n"
1251 "$B< ./a.out 2>; # Abort without error message\n"
1252 "main(): returned from first free() call\n"
1253 "Aborted (core dumped)\n"
1254 "$B< ./a.out 0>; # Ignore error and continue\n"
1255 "main(): returned from first free() call\n"
1256 "main(): returned from second free() call\n"
1257 msgstr ""
1258 "$ B<./a.out 1> # Diagnostique l'erreur et continue\n"
1259 "main(): fin du premier appel free()\n"
1260 "*** glibc detected *** ./a.out: double free or corruption (top): 0x09cbe008 ***\n"
1261 "main(): fin du second appel free()\n"
1262 "$ B<./a.out 2> # Interrompt le programme sans message d'erreur\n"
1263 "main(): fin du premier appel free()\n"
1264 "Abandon\n"
1265 "$ B<./a.out 0> # Ignore l'erreur et continue\n"
1266 "main(): fin du premier appel free()\n"
1267 "main(): fin du second appel free()\n"
1268
1269 #. type: Plain text
1270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1272 msgid ""
1273 "The next run shows how to set the same parameter using the B<MALLOC_CHECK_> "
1274 "environment variable:"
1275 msgstr ""
1276 "L'exemple suivant montre comment configurer le même paramètre avec la "
1277 "variable d'environnement B<MALLOC_CHECK_> :"
1278
1279 #. type: Plain text
1280 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1281 #: opensuse-tumbleweed
1282 #, fuzzy, no-wrap
1283 #| msgid ""
1284 #| "$ B<MALLOC_CHECK_=1 ./a.out>\n"
1285 #| "main(): returned from first free() call\n"
1286 #| "*** glibc detected *** ./a.out: free(): invalid pointer: 0x092c2008 ***\n"
1287 #| "main(): returned from second free() call\n"
1288 msgid ""
1289 "$B< MALLOC_CHECK_=1 ./a.out>;\n"
1290 "main(): returned from first free() call\n"
1291 "*** glibc detected *** ./a.out: free(): invalid pointer: 0x092c2008 ***\n"
1292 "main(): returned from second free() call\n"
1293 msgstr ""
1294 "$ B<MALLOC_CHECK_=1 ./a.out>\n"
1295 "main(): fin du premier appel free()\n"
1296 "*** glibc detected *** ./a.out: free(): invalid pointer: 0x092c2008 ***\n"
1297 "main(): fin du second appel free()\n"
1298
1299 #. type: SS
1300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1302 #, no-wrap
1303 msgid "Program source"
1304 msgstr "Source du programme"
1305
1306 #. type: Plain text
1307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1309 #, fuzzy, no-wrap
1310 #| msgid ""
1311 #| "#include E<lt>malloc.hE<gt>\n"
1312 #| "#include E<lt>stdio.hE<gt>\n"
1313 #| "#include E<lt>stdlib.hE<gt>\n"
1314 #| "\\&\n"
1315 #| "int\n"
1316 #| "main(int argc, char *argv[])\n"
1317 #| "{\n"
1318 #| " char *p;\n"
1319 #| "\\&\n"
1320 #| " if (argc E<gt> 1) {\n"
1321 #| " if (mallopt(M_CHECK_ACTION, atoi(argv[1])) != 1) {\n"
1322 #| " fprintf(stderr, \"mallopt() failed\");\n"
1323 #| " exit(EXIT_FAILURE);\n"
1324 #| " }\n"
1325 #| " }\n"
1326 #| "\\&\n"
1327 #| " p = malloc(1000);\n"
1328 #| " if (p == NULL) {\n"
1329 #| " fprintf(stderr, \"malloc() failed\");\n"
1330 #| " exit(EXIT_FAILURE);\n"
1331 #| " }\n"
1332 #| "\\&\n"
1333 #| " free(p);\n"
1334 #| " printf(\"%s(): returned from first free() call\\en\", __func__);\n"
1335 #| "\\&\n"
1336 #| " free(p);\n"
1337 #| " printf(\"%s(): returned from second free() call\\en\", __func__);\n"
1338 #| "\\&\n"
1339 #| " exit(EXIT_SUCCESS);\n"
1340 #| "}\n"
1341 msgid ""
1342 "#include E<lt>malloc.hE<gt>\n"
1343 "#include E<lt>stdio.hE<gt>\n"
1344 "#include E<lt>stdlib.hE<gt>\n"
1345 "\\&\n"
1346 "int\n"
1347 "main(int argc, char *argv[])\n"
1348 "{\n"
1349 " char *p;\n"
1350 "\\&\n"
1351 " if (argc E<gt> 1) {\n"
1352 " if (mallopt(M_CHECK_ACTION, atoi(argv[1])) != 1) {\n"
1353 " fprintf(stderr, \"mallopt() failed\");\n"
1354 " exit(EXIT_FAILURE);\n"
1355 " }\n"
1356 " }\n"
1357 "\\&\n"
1358 " p = malloc(1000);\n"
1359 " if (p == NULL) {\n"
1360 " fprintf(stderr, \"malloc() failed\");\n"
1361 " exit(EXIT_FAILURE);\n"
1362 " }\n"
1363 "\\&\n"
1364 " free(p);\n"
1365 " printf(\"%s(): returned from first free() call\\[rs]n\", __func__);\n"
1366 "\\&\n"
1367 " free(p);\n"
1368 " printf(\"%s(): returned from second free() call\\[rs]n\", __func__);\n"
1369 "\\&\n"
1370 " exit(EXIT_SUCCESS);\n"
1371 "}\n"
1372 msgstr ""
1373 "#include E<lt>malloc.hE<gt>\n"
1374 "#include E<lt>stdio.hE<gt>\n"
1375 "#include E<lt>stdlib.hE<gt>\n"
1376 "\\&\n"
1377 "int\n"
1378 "main(int argc, char *argv[])\n"
1379 "{\n"
1380 " char *p;\n"
1381 "\\&\n"
1382 " if (argc E<gt> 1) {\n"
1383 " if (mallopt(M_CHECK_ACTION, atoi(argv[1])) != 1) {\n"
1384 " fprintf(stderr, \"échec de mallopt()\");\n"
1385 " exit(EXIT_FAILURE);\n"
1386 " }\n"
1387 " }\n"
1388 "\\&\n"
1389 " p = malloc(1000);\n"
1390 " if (p == NULL) {\n"
1391 " fprintf(stderr, \"échec de malloc()\");\n"
1392 " exit(EXIT_FAILURE);\n"
1393 " }\n"
1394 "\\&\n"
1395 " free(p);\n"
1396 " printf(\"%s(): fin du premier appel free()\\en\", __func__);\n"
1397 "\\&\n"
1398 " free(p);\n"
1399 " printf(\"%s(): fin du second appel free()\\en\", __func__);\n"
1400 "\\&\n"
1401 " exit(EXIT_SUCCESS);\n"
1402 "}\n"
1403
1404 #. SRC END
1405 #. type: SH
1406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1408 #, no-wrap
1409 msgid "SEE ALSO"
1410 msgstr "VOIR AUSSI"
1411
1412 #. type: Plain text
1413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1415 msgid ""
1416 "B<mmap>(2), B<sbrk>(2), B<mallinfo>(3), B<malloc>(3), B<malloc_hook>(3), "
1417 "B<malloc_info>(3), B<malloc_stats>(3), B<malloc_trim>(3), B<mcheck>(3), "
1418 "B<mtrace>(3), B<posix_memalign>(3)"
1419 msgstr ""
1420 "B<mmap>(2), B<sbrk>(2), B<mallinfo>(3), B<malloc>(3), B<malloc_hook>(3), "
1421 "B<malloc_info>(3), B<malloc_stats>(3), B<malloc_trim>(3), B<mcheck>(3), "
1422 "B<mtrace>(3), B<posix_memalign>(3)"
1423
1424 #. type: TH
1425 #: debian-trixie
1426 #, no-wrap
1427 msgid "2024-06-15"
1428 msgstr "15 juin 2024"
1429
1430 #. type: TH
1431 #: debian-trixie
1432 #, no-wrap
1433 msgid "Linux man-pages 6.9.1"
1434 msgstr "Pages du manuel de Linux 6.9.1"
1435
1436 #. type: Plain text
1437 #: debian-trixie
1438 msgid "Standard C library (I<libc>, I<-lc>)"
1439 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
1440
1441 #. type: Plain text
1442 #: debian-trixie fedora-44 fedora-rawhide
1443 #, no-wrap
1444 msgid ""
1445 "$ B<./a.out>\n"
1446 "main(): returned from first free() call\n"
1447 "*** glibc detected *** ./a.out: double free or corruption (top): 0x09d30008 ***\n"
1448 "======= Backtrace: =========\n"
1449 "/lib/libc.so.6(+0x6c501)[0x523501]\n"
1450 "/lib/libc.so.6(+0x6dd70)[0x524d70]\n"
1451 "/lib/libc.so.6(cfree+0x6d)[0x527e5d]\n"
1452 "\\&./a.out[0x80485db]\n"
1453 "/lib/libc.so.6(__libc_start_main+0xe7)[0x4cdce7]\n"
1454 "\\&./a.out[0x8048471]\n"
1455 "======= Memory map: ========\n"
1456 "001e4000-001fe000 r-xp 00000000 08:06 1083555 /lib/libgcc_s.so.1\n"
1457 "001fe000-001ff000 r--p 00019000 08:06 1083555 /lib/libgcc_s.so.1\n"
1458 "[some lines omitted]\n"
1459 "b7814000-b7817000 rw-p 00000000 00:00 0\n"
1460 "bff53000-bff74000 rw-p 00000000 00:00 0 [stack]\n"
1461 "Aborted (core dumped)\n"
1462 msgstr ""
1463 "$ B<./a.out>\n"
1464 "main(): fin du premier appel free()\n"
1465 "*** glibc detected *** ./a.out: double free or corruption (top): 0x09d30008 ***\n"
1466 "======= Backtrace: =========\n"
1467 "/lib/libc.so.6(+0x6c501)[0x523501]\n"
1468 "/lib/libc.so.6(+0x6dd70)[0x524d70]\n"
1469 "/lib/libc.so.6(cfree+0x6d)[0x527e5d]\n"
1470 "\\&./a.out[0x80485db]\n"
1471 "/lib/libc.so.6(__libc_start_main+0xe7)[0x4cdce7]\n"
1472 "\\&./a.out[0x8048471]\n"
1473 "======= Memory map: ========\n"
1474 "001e4000-001fe000 r-xp 00000000 08:06 1083555 /lib/libgcc_s.so.1\n"
1475 "001fe000-001ff000 r--p 00019000 08:06 1083555 /lib/libgcc_s.so.1\n"
1476 "[some lines omitted]\n"
1477 "b7814000-b7817000 rw-p 00000000 00:00 0\n"
1478 "bff53000-bff74000 rw-p 00000000 00:00 0 [stack]\n"
1479 "Abandon\n"
1480
1481 #. type: Plain text
1482 #: debian-trixie fedora-44 fedora-rawhide
1483 #, no-wrap
1484 msgid ""
1485 "$ B<./a.out 1> # Diagnose error and continue\n"
1486 "main(): returned from first free() call\n"
1487 "*** glibc detected *** ./a.out: double free or corruption (top): 0x09cbe008 ***\n"
1488 "main(): returned from second free() call\n"
1489 "$ B<./a.out 2> # Abort without error message\n"
1490 "main(): returned from first free() call\n"
1491 "Aborted (core dumped)\n"
1492 "$ B<./a.out 0> # Ignore error and continue\n"
1493 "main(): returned from first free() call\n"
1494 "main(): returned from second free() call\n"
1495 msgstr ""
1496 "$ B<./a.out 1> # Diagnostique l'erreur et continue\n"
1497 "main(): fin du premier appel free()\n"
1498 "*** glibc detected *** ./a.out: double free or corruption (top): 0x09cbe008 ***\n"
1499 "main(): fin du second appel free()\n"
1500 "$ B<./a.out 2> # Interrompt le programme sans message d'erreur\n"
1501 "main(): fin du premier appel free()\n"
1502 "Abandon\n"
1503 "$ B<./a.out 0> # Ignore l'erreur et continue\n"
1504 "main(): fin du premier appel free()\n"
1505 "main(): fin du second appel free()\n"
1506
1507 #. type: Plain text
1508 #: debian-trixie fedora-44 fedora-rawhide
1509 #, no-wrap
1510 msgid ""
1511 "$ B<MALLOC_CHECK_=1 ./a.out>\n"
1512 "main(): returned from first free() call\n"
1513 "*** glibc detected *** ./a.out: free(): invalid pointer: 0x092c2008 ***\n"
1514 "main(): returned from second free() call\n"
1515 msgstr ""
1516 "$ B<MALLOC_CHECK_=1 ./a.out>\n"
1517 "main(): fin du premier appel free()\n"
1518 "*** glibc detected *** ./a.out: free(): invalid pointer: 0x092c2008 ***\n"
1519 "main(): fin du second appel free()\n"
1520
1521 #. type: TH
1522 #: fedora-44 fedora-rawhide
1523 #, no-wrap
1524 msgid "2024-07-23"
1525 msgstr "23 juillet 2024"
1526
1527 #. type: TH
1528 #: fedora-44 fedora-rawhide
1529 #, no-wrap
1530 msgid "Linux man-pages 6.13"
1531 msgstr "Pages du manuel de Linux 6.13"
1532
1533 #. type: TH
1534 #: mageia-cauldron
1535 #, no-wrap
1536 msgid "Linux man-pages 6.17"
1537 msgstr "Pages du manuel de Linux 6.17"
1538
1539 #. type: TH
1540 #: opensuse-leap-16-1 opensuse-tumbleweed
1541 #, no-wrap
1542 msgid "Linux man-pages (unreleased)"
1543 msgstr "Pages du manuel de Linux (non publiées)"