| 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. |
| 16 |
# Denis Barbier <[email protected]>, 2006, 2010. |
| 17 |
# David Prévot <[email protected]>, 2010-2014. |
| 18 |
# Jean-Pierre Giraud <[email protected]>, 2023-2026. |
| 19 |
msgid "" |
| 20 |
msgstr "" |
| 21 |
"Project-Id-Version: manpages-l10n 4.30\n" |
| 22 |
"POT-Creation-Date: 2026-06-05 06:19+0200\n" |
| 23 |
"PO-Revision-Date: 2026-04-03 19:26+0200\n" |
| 24 |
"Last-Translator: Jean-Pierre Giraud <[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 25.04.0\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 "backtrace" |
| 38 |
msgstr "backtrace" |
| 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 "" |
| 64 |
"backtrace, backtrace_symbols, backtrace_symbols_fd - support for application " |
| 65 |
"self-debugging" |
| 66 |
msgstr "" |
| 67 |
"backtrace, backtrace_symbols, backtrace_symbols_fd - Outils d'auto-débogage " |
| 68 |
"d'applications" |
| 69 |
|
| 70 |
#. type: SH |
| 71 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 72 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 73 |
#, no-wrap |
| 74 |
msgid "LIBRARY" |
| 75 |
msgstr "BIBLIOTHÈQUE" |
| 76 |
|
| 77 |
#. type: Plain text |
| 78 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 79 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 80 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 81 |
msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)" |
| 82 |
|
| 83 |
#. type: SH |
| 84 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 85 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 86 |
#, no-wrap |
| 87 |
msgid "SYNOPSIS" |
| 88 |
msgstr "SYNOPSIS" |
| 89 |
|
| 90 |
#. type: Plain text |
| 91 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 92 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 93 |
#, no-wrap |
| 94 |
msgid "B<#include E<lt>execinfo.hE<gt>>\n" |
| 95 |
msgstr "B<#include E<lt>execinfo.hE<gt>>\n" |
| 96 |
|
| 97 |
#. type: Plain text |
| 98 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 99 |
#: opensuse-tumbleweed |
| 100 |
#, no-wrap |
| 101 |
msgid "" |
| 102 |
"B<int backtrace(>int size;\n" |
| 103 |
"B< void *>I<buffer>B<[>I<size>B<], int >I<size>B<);>\n" |
| 104 |
msgstr "" |
| 105 |
"B<int backtrace(>int size;\n" |
| 106 |
"B< void *>I<buffer>B<I>I<size>B<], int >I<size>B<);>\n" |
| 107 |
|
| 108 |
#. type: Plain text |
| 109 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 110 |
#: opensuse-tumbleweed |
| 111 |
#, no-wrap |
| 112 |
msgid "" |
| 113 |
"B<char **backtrace_symbols(>int size;\n" |
| 114 |
"B< void *const >I<buffer>B<[>I<size>B<], int >I<size>B<);>\n" |
| 115 |
"B<void backtrace_symbols_fd(>int size;\n" |
| 116 |
"B< void *const >I<buffer>B<[>I<size>B<], int >I<size>B<, int >I<fd>B<);>\n" |
| 117 |
msgstr "" |
| 118 |
"B<char **backtrace_symbols(>int size;\n" |
| 119 |
"B< void *const >I<buffer>B<[>I<size>B<], int >I<size>B<);>\n" |
| 120 |
"B<void backtrace_symbols_fd(>int size;\n" |
| 121 |
"B< void *const >I<buffer>B<[>I<size>B<], int >I<size>B<, int >I<fd>B<);>\n" |
| 122 |
|
| 123 |
#. type: SH |
| 124 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 125 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 126 |
#, no-wrap |
| 127 |
msgid "DESCRIPTION" |
| 128 |
msgstr "DESCRIPTION" |
| 129 |
|
| 130 |
#. type: Plain text |
| 131 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 132 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 133 |
msgid "" |
| 134 |
"B<backtrace>() returns a backtrace for the calling program, in the array " |
| 135 |
"pointed to by I<buffer>. A backtrace is the series of currently active " |
| 136 |
"function calls for the program. Each item in the array pointed to by " |
| 137 |
"I<buffer> is of type I<void\\ *>, and is the return address from the " |
| 138 |
"corresponding stack frame. The I<size> argument specifies the maximum " |
| 139 |
"number of addresses that can be stored in I<buffer>. If the backtrace is " |
| 140 |
"larger than I<size>, then the addresses corresponding to the I<size> most " |
| 141 |
"recent function calls are returned; to obtain the complete backtrace, make " |
| 142 |
"sure that I<buffer> and I<size> are large enough." |
| 143 |
msgstr "" |
| 144 |
"B<backtrace>() renvoie une trace des appels du programme dans un tableau " |
| 145 |
"pointé par I<buffer>. Une trace est une série d'appels de fonction " |
| 146 |
"actuellement actifs d'un programme. Chaque élément du tableau pointé par " |
| 147 |
"I<buffer> est de type I<void\\ *>, et correspond à l'adresse de retour du " |
| 148 |
"bloc de pile (stack frame) correspondant. Le paramètre I<size> spécifie le " |
| 149 |
"nombre maximal d'adresses qui peut être enregistré dans I<buffer>. Si la " |
| 150 |
"trace est plus grande que I<size>, alors les adresses correspondant aux " |
| 151 |
"I<size> plus récents appels de fonction sont renvoyées. Pour obtenir une " |
| 152 |
"trace complète, assurez-vous que I<buffer> et I<size> soient assez grands." |
| 153 |
|
| 154 |
#. type: Plain text |
| 155 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 156 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 157 |
msgid "" |
| 158 |
"Given the set of addresses returned by B<backtrace>() in I<buffer>, " |
| 159 |
"B<backtrace_symbols>() translates the addresses into an array of strings " |
| 160 |
"that describe the addresses symbolically. The I<size> argument specifies " |
| 161 |
"the number of addresses in I<buffer>. The symbolic representation of each " |
| 162 |
"address consists of the function name (if this can be determined), a " |
| 163 |
"hexadecimal offset into the function, and the actual return address (in " |
| 164 |
"hexadecimal). The address of the array of string pointers is returned as " |
| 165 |
"the function result of B<backtrace_symbols>(). This array is B<malloc>(3)ed " |
| 166 |
"by B<backtrace_symbols>(), and must be freed by the caller. (The strings " |
| 167 |
"pointed to by the array of pointers need not and should not be freed.)" |
| 168 |
msgstr "" |
| 169 |
"À partir des adresses renvoyées par B<backtrace>() dans le I<buffer>, " |
| 170 |
"B<backtrace_symbols>() traduit les adresses en un tableau de chaînes qui " |
| 171 |
"associe des symboles à ces adresses. Le paramètre I<size> indique le nombre " |
| 172 |
"d'adresses dans le I<buffer>. La représentation symbolique de chaque adresse " |
| 173 |
"consiste en un nom de fonction (s'il peut être déterminé), un décalage " |
| 174 |
"hexadécimal à l'intérieur de la fonction et l'adresse (hexadécimale) de " |
| 175 |
"renvoi. L'adresse du tableau de pointeurs de chaînes est renvoyé comme " |
| 176 |
"résultat de la fonction B<backtrace_symbols>(). Ce tableau est alloué avec " |
| 177 |
"B<malloc>(3) par B<backtrace_symbols>() et doit être libéré par l'appelant. " |
| 178 |
"Les chaînes pointées par le tableau de pointeurs n'ont pas et ne devraient " |
| 179 |
"pas être libérées." |
| 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 |
"B<backtrace_symbols_fd>() takes the same I<buffer> and I<size> arguments as " |
| 186 |
"B<backtrace_symbols>(), but instead of returning an array of strings to the " |
| 187 |
"caller, it writes the strings, one per line, to the file descriptor I<fd>. " |
| 188 |
"B<backtrace_symbols_fd>() does not call B<malloc>(3), and so can be " |
| 189 |
"employed in situations where the latter function might fail, but see NOTES." |
| 190 |
msgstr "" |
| 191 |
"B<backtrace_symbols_fd>() prend les mêmes paramètres I<buffer> et I<size> " |
| 192 |
"que B<backtrace_symbols>(), mais au lieu de renvoyer un tableau de chaînes à " |
| 193 |
"l'appelant, elle écrit les chaînes, une par ligne, dans le descripteur de " |
| 194 |
"fichier I<fd>. B<backtrace_symbols_fd>() n'appelle pas B<malloc>(3) et peut " |
| 195 |
"donc être utilisée dans des conditions où cette dernière fonction risque " |
| 196 |
"d'échouer, mais consultez NOTES." |
| 197 |
|
| 198 |
#. type: SH |
| 199 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 200 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 201 |
#, no-wrap |
| 202 |
msgid "RETURN VALUE" |
| 203 |
msgstr "VALEUR RENVOYÉE" |
| 204 |
|
| 205 |
#. type: Plain text |
| 206 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 207 |
#: opensuse-tumbleweed |
| 208 |
msgid "" |
| 209 |
"B<backtrace>() returns the number of addresses returned in I<buffer>, which " |
| 210 |
"is not greater than I<size>. If the return value is less than I<size>, then " |
| 211 |
"the full backtrace was stored; if it is equal to I<size>, then it may have " |
| 212 |
"been truncated, in which case, the addresses of the oldest stack frames are " |
| 213 |
"not returned." |
| 214 |
msgstr "" |
| 215 |
"B<backtrace>() fournit le nombre d'adresses renvoyées dans le I<buffer>, qui " |
| 216 |
"ne sera pas supérieur à I<size>. Si la valeur de retour est inférieure à " |
| 217 |
"I<size>, alors toute la trace a pu être sauvée\\ ; si elle est égale à " |
| 218 |
"I<size>, alors il se peut qu'elle ait été tronquée et les adresses des blocs " |
| 219 |
"de pile les plus anciens ne sont pas renvoyées." |
| 220 |
|
| 221 |
#. type: Plain text |
| 222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 224 |
msgid "" |
| 225 |
"On success, B<backtrace_symbols>() returns a pointer to the array " |
| 226 |
"B<malloc>(3)ed by the call; on error, NULL is returned." |
| 227 |
msgstr "" |
| 228 |
"En cas de succès, B<backtrace_symbols>() renvoie un pointeur vers le tableau " |
| 229 |
"alloué avec B<malloc>(3). En cas d'erreur NULL est renvoyé." |
| 230 |
|
| 231 |
#. type: SH |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
#, no-wrap |
| 235 |
msgid "ATTRIBUTES" |
| 236 |
msgstr "ATTRIBUTS" |
| 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 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 243 |
msgstr "" |
| 244 |
"Pour une explication des termes utilisés dans cette section, consulter " |
| 245 |
"B<attributes>(7)." |
| 246 |
|
| 247 |
#. type: tbl table |
| 248 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 249 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 250 |
#, no-wrap |
| 251 |
msgid "Interface" |
| 252 |
msgstr "Interface" |
| 253 |
|
| 254 |
#. type: tbl table |
| 255 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 256 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 257 |
#, no-wrap |
| 258 |
msgid "Attribute" |
| 259 |
msgstr "Attribut" |
| 260 |
|
| 261 |
#. type: tbl table |
| 262 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 263 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 264 |
#, no-wrap |
| 265 |
msgid "Value" |
| 266 |
msgstr "Valeur" |
| 267 |
|
| 268 |
#. type: tbl table |
| 269 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 270 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 271 |
#, no-wrap |
| 272 |
msgid ".na\n" |
| 273 |
msgstr ".na\n" |
| 274 |
|
| 275 |
#. type: tbl table |
| 276 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 277 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 278 |
#, no-wrap |
| 279 |
msgid ".nh\n" |
| 280 |
msgstr ".nh\n" |
| 281 |
|
| 282 |
#. type: tbl table |
| 283 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 284 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 285 |
#, no-wrap |
| 286 |
msgid "" |
| 287 |
"B<backtrace>(),\n" |
| 288 |
"B<backtrace_symbols>(),\n" |
| 289 |
"B<backtrace_symbols_fd>()" |
| 290 |
msgstr "" |
| 291 |
"B<backtrace>(),\n" |
| 292 |
"B<backtrace_symbols>(),\n" |
| 293 |
"B<backtrace_symbols_fd>()" |
| 294 |
|
| 295 |
#. type: tbl table |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
#, no-wrap |
| 299 |
msgid "Thread safety" |
| 300 |
msgstr "Sécurité des threads" |
| 301 |
|
| 302 |
#. type: tbl table |
| 303 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 304 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 305 |
#, no-wrap |
| 306 |
msgid "MT-Safe" |
| 307 |
msgstr "MT-Safe" |
| 308 |
|
| 309 |
#. type: SH |
| 310 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 311 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 312 |
#, no-wrap |
| 313 |
msgid "STANDARDS" |
| 314 |
msgstr "NORMES" |
| 315 |
|
| 316 |
#. type: Plain text |
| 317 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 318 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 319 |
msgid "GNU." |
| 320 |
msgstr "GNU." |
| 321 |
|
| 322 |
#. type: SH |
| 323 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 324 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 325 |
#, no-wrap |
| 326 |
msgid "HISTORY" |
| 327 |
msgstr "HISTORIQUE" |
| 328 |
|
| 329 |
#. type: Plain text |
| 330 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 331 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 332 |
msgid "glibc 2.1." |
| 333 |
msgstr "glibc 2.1." |
| 334 |
|
| 335 |
#. type: SH |
| 336 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 337 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 338 |
#, no-wrap |
| 339 |
msgid "NOTES" |
| 340 |
msgstr "NOTES" |
| 341 |
|
| 342 |
#. type: Plain text |
| 343 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 344 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 345 |
msgid "" |
| 346 |
"These functions make some assumptions about how a function's return address " |
| 347 |
"is stored on the stack. Note the following:" |
| 348 |
msgstr "" |
| 349 |
"Ces fonctions font des suppositions sur la façon dont l'adresse renvoyée " |
| 350 |
"d'une fonction est sauvegardée dans la pile. Prenez note des points " |
| 351 |
"suivants\\ :" |
| 352 |
|
| 353 |
#. type: IP |
| 354 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 355 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 356 |
#, no-wrap |
| 357 |
msgid "\\[bu]" |
| 358 |
msgstr "-" |
| 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 |
"Omission of the frame pointers (as implied by any of B<gcc>(1)'s nonzero " |
| 365 |
"optimization levels) may cause these assumptions to be violated." |
| 366 |
msgstr "" |
| 367 |
"L'omission du pointeur de bloc (comme le fait B<gcc>(1) avec les niveaux " |
| 368 |
"d'optimisation différents de zéro) peut être incompatible avec ces " |
| 369 |
"suppositions." |
| 370 |
|
| 371 |
#. type: Plain text |
| 372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 374 |
msgid "Inlined functions do not have stack frames." |
| 375 |
msgstr "Les fonctions incorporées («\\ inline\\ ») n’ont pas de blocs de pile." |
| 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 "Tail-call optimization causes one stack frame to replace another." |
| 381 |
msgstr "" |
| 382 |
"Avec les optimisations de type sous-routine finale (tail-call) font qu’un " |
| 383 |
"bloc de pile en remplace un autre." |
| 384 |
|
| 385 |
#. type: Plain text |
| 386 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 387 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 388 |
msgid "" |
| 389 |
"B<backtrace>() and B<backtrace_symbols_fd>() don't call B<malloc>() " |
| 390 |
"explicitly, but they are part of I<libgcc>, which gets loaded dynamically " |
| 391 |
"when first used. Dynamic loading usually triggers a call to B<malloc>(3). " |
| 392 |
"If you need certain calls to these two functions to not allocate memory (in " |
| 393 |
"signal handlers, for example), you need to make sure I<libgcc> is loaded " |
| 394 |
"beforehand." |
| 395 |
msgstr "" |
| 396 |
"B<backtrace>() et B<backtrace_symbols_fd>() n'appellent pas B<malloc>() " |
| 397 |
"explicitement, mais elles font partie de la I<libgcc> qui est chargée " |
| 398 |
"dynamiquement à sa première utilisation. Le chargement dynamique déclenche " |
| 399 |
"habituellement un appel à B<malloc>(3). Si vous avez besoin que certains " |
| 400 |
"appels à ces deux fonctions n'allouent pas de mémoire (dans les " |
| 401 |
"gestionnaires de signal, par exemple) vous devez vous assurer que la " |
| 402 |
"I<libgcc> est chargée au préalable." |
| 403 |
|
| 404 |
#. type: Plain text |
| 405 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 406 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 407 |
msgid "" |
| 408 |
"The symbol names may be unavailable without the use of special linker " |
| 409 |
"options. For systems using the GNU linker, it is necessary to use the I<-" |
| 410 |
"rdynamic> linker option. Note that names of \"static\" functions are not " |
| 411 |
"exposed, and won't be available in the backtrace." |
| 412 |
msgstr "" |
| 413 |
"Le nom des symboles peut ne pas être disponible si certaines options de " |
| 414 |
"l'éditeur de liens n'ont pas été utilisées. Pour les systèmes qui utilisent " |
| 415 |
"l'éditeur de liens GNU, il faut utiliser l'option I<-rdynamic>. Notez que " |
| 416 |
"les noms des fonctions statiques (avec le mot clef «\\ static\\ ») ne sont " |
| 417 |
"pas exposés, et ne seront pas disponibles pour la trace." |
| 418 |
|
| 419 |
#. type: SH |
| 420 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 421 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 422 |
#, no-wrap |
| 423 |
msgid "EXAMPLES" |
| 424 |
msgstr "EXEMPLES" |
| 425 |
|
| 426 |
#. type: Plain text |
| 427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 429 |
msgid "" |
| 430 |
"The program below demonstrates the use of B<backtrace>() and " |
| 431 |
"B<backtrace_symbols>(). The following shell session shows what we might see " |
| 432 |
"when running the program:" |
| 433 |
msgstr "" |
| 434 |
"Le programme ci-dessous explique l'utilisation de B<backtrace>() et " |
| 435 |
"B<backtrace_symbols>(). Les sessions d'interpréteur de commandes montrent ce " |
| 436 |
"que produira l'exécution du programme\\ :" |
| 437 |
|
| 438 |
#. type: Plain text |
| 439 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 440 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 441 |
#, no-wrap |
| 442 |
msgid "" |
| 443 |
"$B< cc -rdynamic prog.c -o prog>\n" |
| 444 |
"$B< ./prog 3>\n" |
| 445 |
"backtrace() returned 8 addresses\n" |
| 446 |
"\\&./prog(myfunc3+0x5c) [0x80487f0]\n" |
| 447 |
"\\&./prog [0x8048871]\n" |
| 448 |
"\\&./prog(myfunc+0x21) [0x8048894]\n" |
| 449 |
"\\&./prog(myfunc+0x1a) [0x804888d]\n" |
| 450 |
"\\&./prog(myfunc+0x1a) [0x804888d]\n" |
| 451 |
"\\&./prog(main+0x65) [0x80488fb]\n" |
| 452 |
"\\&/lib/libc.so.6(__libc_start_main+0xdc) [0xb7e38f9c]\n" |
| 453 |
"\\&./prog [0x8048711]\n" |
| 454 |
msgstr "" |
| 455 |
"$B< cc -rdynamic prog.c -o prog>\n" |
| 456 |
"$B< ./prog 3>\n" |
| 457 |
"backtrace() returned 8 addresses\n" |
| 458 |
"\\&./prog(myfunc3+0x5c) [0x80487f0]\n" |
| 459 |
"\\&./prog [0x8048871]\n" |
| 460 |
"\\&./prog(myfunc+0x21) [0x8048894]\n" |
| 461 |
"\\&./prog(myfunc+0x1a) [0x804888d]\n" |
| 462 |
"\\&./prog(myfunc+0x1a) [0x804888d]\n" |
| 463 |
"\\&./prog(main+0x65) [0x80488fb]\n" |
| 464 |
"\\&/lib/libc.so.6(__libc_start_main+0xdc) [0xb7e38f9c]\n" |
| 465 |
"\\&./prog [0x8048711]\n" |
| 466 |
|
| 467 |
#. type: SS |
| 468 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 469 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 470 |
#, no-wrap |
| 471 |
msgid "Program source" |
| 472 |
msgstr "Source du programme" |
| 473 |
|
| 474 |
#. type: Plain text |
| 475 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 476 |
#: opensuse-tumbleweed |
| 477 |
#, no-wrap |
| 478 |
msgid "" |
| 479 |
"#include E<lt>execinfo.hE<gt>\n" |
| 480 |
"#include E<lt>stdio.hE<gt>\n" |
| 481 |
"#include E<lt>stdlib.hE<gt>\n" |
| 482 |
"#include E<lt>unistd.hE<gt>\n" |
| 483 |
"\\&\n" |
| 484 |
"#define BT_BUF_SIZE 100\n" |
| 485 |
"\\&\n" |
| 486 |
"void\n" |
| 487 |
"myfunc3(void)\n" |
| 488 |
"{\n" |
| 489 |
" int nptrs;\n" |
| 490 |
" void *buffer[BT_BUF_SIZE];\n" |
| 491 |
" char **strings;\n" |
| 492 |
"\\&\n" |
| 493 |
" nptrs = backtrace(buffer, BT_BUF_SIZE);\n" |
| 494 |
" printf(\"backtrace() returned %d addresses\\[rs]n\", nptrs);\n" |
| 495 |
"\\&\n" |
| 496 |
" /* The call backtrace_symbols_fd(buffer, nptrs, STDOUT_FILENO)\n" |
| 497 |
" would produce similar output to the following: */\n" |
| 498 |
"\\&\n" |
| 499 |
" strings = backtrace_symbols(buffer, nptrs);\n" |
| 500 |
" if (strings == NULL) {\n" |
| 501 |
" perror(\"backtrace_symbols\");\n" |
| 502 |
" exit(EXIT_FAILURE);\n" |
| 503 |
" }\n" |
| 504 |
"\\&\n" |
| 505 |
" for (size_t j = 0; j E<lt> nptrs; j++)\n" |
| 506 |
" printf(\"%s\\[rs]n\", strings[j]);\n" |
| 507 |
"\\&\n" |
| 508 |
" free(strings);\n" |
| 509 |
"}\n" |
| 510 |
"\\&\n" |
| 511 |
"static void /* \"static\" means don\\[aq]t export the symbol. */\n" |
| 512 |
"myfunc2(void)\n" |
| 513 |
"{\n" |
| 514 |
" myfunc3();\n" |
| 515 |
"}\n" |
| 516 |
"\\&\n" |
| 517 |
"void\n" |
| 518 |
"myfunc(int ncalls)\n" |
| 519 |
"{\n" |
| 520 |
" if (ncalls E<gt> 1)\n" |
| 521 |
" myfunc(ncalls - 1);\n" |
| 522 |
" else\n" |
| 523 |
" myfunc2();\n" |
| 524 |
"}\n" |
| 525 |
"\\&\n" |
| 526 |
"int\n" |
| 527 |
"main(int argc, char *argv[])\n" |
| 528 |
"{\n" |
| 529 |
" if (argc != 2) {\n" |
| 530 |
" fprintf(stderr, \"%s num-calls\\[rs]n\", argv[0]);\n" |
| 531 |
" exit(EXIT_FAILURE);\n" |
| 532 |
" }\n" |
| 533 |
"\\&\n" |
| 534 |
" myfunc(atoi(argv[1]));\n" |
| 535 |
" exit(EXIT_SUCCESS);\n" |
| 536 |
"}\n" |
| 537 |
msgstr "" |
| 538 |
"#include E<lt>execinfo.hE<gt>\n" |
| 539 |
"#include E<lt>stdio.hE<gt>\n" |
| 540 |
"#include E<lt>stdlib.hE<gt>\n" |
| 541 |
"#include E<lt>unistd.hE<gt>\n" |
| 542 |
"\\&\n" |
| 543 |
"#define BT_BUF_SIZE 100\n" |
| 544 |
"\\&\n" |
| 545 |
"void\n" |
| 546 |
"myfunc3(void)\n" |
| 547 |
"{\n" |
| 548 |
" int nptrs;\n" |
| 549 |
" void *buffer[BT_BUF_SIZE];\n" |
| 550 |
" char **strings;\n" |
| 551 |
"\\&\n" |
| 552 |
" nptrs = backtrace(buffer, BT_BUF_SIZE);\n" |
| 553 |
" printf(\"backtrace() returned %d addresses\\[rs]n\", nptrs);\n" |
| 554 |
"\\&\n" |
| 555 |
" /* L’appel backtrace_symbols_fd(buffer, nptrs, STDOUT_FILENO)\n" |
| 556 |
" produirait une sortie semblable à ce qui suit : */\n" |
| 557 |
"\\&\n" |
| 558 |
" strings = backtrace_symbols(buffer, nptrs);\n" |
| 559 |
" if (strings == NULL) {\n" |
| 560 |
" perror(\"backtrace_symbols\");\n" |
| 561 |
" exit(EXIT_FAILURE);\n" |
| 562 |
" }\n" |
| 563 |
"\\&\n" |
| 564 |
" for (size_t j = 0; j E<lt> nptrs; j++)\n" |
| 565 |
" printf(\"%s\\[rs]n\", strings[j]);\n" |
| 566 |
"\\&\n" |
| 567 |
" free(strings);\n" |
| 568 |
"}\n" |
| 569 |
"\\&\n" |
| 570 |
"static void /* « static » signifie ne pas exporter le symbole. */\n" |
| 571 |
"myfunc2(void)\n" |
| 572 |
"{\n" |
| 573 |
" myfunc3();\n" |
| 574 |
"}\n" |
| 575 |
"\\&\n" |
| 576 |
"void\n" |
| 577 |
"myfunc(int ncalls)\n" |
| 578 |
"{\n" |
| 579 |
" if (ncalls E<gt> 1)\n" |
| 580 |
" myfunc(ncalls - 1);\n" |
| 581 |
" else\n" |
| 582 |
" myfunc2();\n" |
| 583 |
"}\n" |
| 584 |
"\\&\n" |
| 585 |
"int\n" |
| 586 |
"main(int argc, char *argv[])\n" |
| 587 |
"{\n" |
| 588 |
" if (argc != 2) {\n" |
| 589 |
" fprintf(stderr, \"%s num-calls\\[rs]n\", argv[0]);\n" |
| 590 |
" exit(EXIT_FAILURE);\n" |
| 591 |
" }\n" |
| 592 |
"\\&\n" |
| 593 |
" myfunc(atoi(argv[1]));\n" |
| 594 |
" exit(EXIT_SUCCESS);\n" |
| 595 |
"}\n" |
| 596 |
|
| 597 |
#. SRC END |
| 598 |
#. type: SH |
| 599 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 600 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 601 |
#, no-wrap |
| 602 |
msgid "SEE ALSO" |
| 603 |
msgstr "VOIR AUSSI" |
| 604 |
|
| 605 |
#. type: Plain text |
| 606 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 607 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 608 |
msgid "" |
| 609 |
"B<addr2line>(1), B<gcc>(1), B<gdb>(1), B<ld>(1), B<dlopen>(3), B<malloc>(3)" |
| 610 |
msgstr "" |
| 611 |
"B<addr2line>(1), B<gcc>(1), B<gdb>(1), B<ld>(1), B<dlopen>(3), B<malloc>(3)" |
| 612 |
|
| 613 |
#. type: TH |
| 614 |
#: debian-trixie |
| 615 |
#, no-wrap |
| 616 |
msgid "2024-06-15" |
| 617 |
msgstr "15 juin 2024" |
| 618 |
|
| 619 |
#. type: TH |
| 620 |
#: debian-trixie |
| 621 |
#, no-wrap |
| 622 |
msgid "Linux man-pages 6.9.1" |
| 623 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 624 |
|
| 625 |
#. type: Plain text |
| 626 |
#: debian-trixie |
| 627 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 628 |
msgstr "Bibliothèque C standard (I<libc>, I<-lc>)" |
| 629 |
|
| 630 |
#. type: Plain text |
| 631 |
#: debian-trixie fedora-44 fedora-rawhide |
| 632 |
#, no-wrap |
| 633 |
msgid "B<int backtrace(void *>I<buffer>B<[.>I<size>B<], int >I<size>B<);>\n" |
| 634 |
msgstr "B<int backtrace(void *>I<buffer>B<[.>I<size>B<], int >I<size>B<);>\n" |
| 635 |
|
| 636 |
#. type: Plain text |
| 637 |
#: debian-trixie fedora-44 fedora-rawhide |
| 638 |
#, no-wrap |
| 639 |
msgid "" |
| 640 |
"B<char **backtrace_symbols(void *const >I<buffer>B<[.>I<size>B<], int >I<size>B<);>\n" |
| 641 |
"B<void backtrace_symbols_fd(void *const >I<buffer>B<[.>I<size>B<], int >I<size>B<, int >I<fd>B<);>\n" |
| 642 |
msgstr "" |
| 643 |
"B<char **backtrace_symbols(void *const >I<buffer>B<[.>I<size>B<], int >I<size>B<);>\n" |
| 644 |
"B<void backtrace_symbols_fd(void *const >I<buffer>B<[.>I<size>B<], int >I<size>B<, int >I<fd>B<);>\n" |
| 645 |
|
| 646 |
#. type: Plain text |
| 647 |
#: debian-trixie fedora-44 fedora-rawhide |
| 648 |
msgid "" |
| 649 |
"B<backtrace>() returns the number of addresses returned in I<buffer>, which " |
| 650 |
"is not greater than I<size>. If the return value is less than I<size>, then " |
| 651 |
"the full backtrace was stored; if it is equal to I<size>, then it may have " |
| 652 |
"been truncated, in which case the addresses of the oldest stack frames are " |
| 653 |
"not returned." |
| 654 |
msgstr "" |
| 655 |
"B<backtrace>() fournit le nombre d'adresses renvoyées dans le I<buffer>, qui " |
| 656 |
"ne sera pas supérieur à I<size>. Si la valeur de retour est inférieure à " |
| 657 |
"I<size>, alors toute la trace a pu être sauvée\\ ; si elle est égale à " |
| 658 |
"I<size>, alors il se peut qu'elle ait été tronquée et les adresses des blocs " |
| 659 |
"de pile les plus anciens ne sont pas renvoyées." |
| 660 |
|
| 661 |
#. type: Plain text |
| 662 |
#: debian-trixie fedora-44 fedora-rawhide |
| 663 |
#, no-wrap |
| 664 |
msgid "" |
| 665 |
"#include E<lt>execinfo.hE<gt>\n" |
| 666 |
"#include E<lt>stdio.hE<gt>\n" |
| 667 |
"#include E<lt>stdlib.hE<gt>\n" |
| 668 |
"#include E<lt>unistd.hE<gt>\n" |
| 669 |
"\\&\n" |
| 670 |
"#define BT_BUF_SIZE 100\n" |
| 671 |
"\\&\n" |
| 672 |
"void\n" |
| 673 |
"myfunc3(void)\n" |
| 674 |
"{\n" |
| 675 |
" int nptrs;\n" |
| 676 |
" void *buffer[BT_BUF_SIZE];\n" |
| 677 |
" char **strings;\n" |
| 678 |
"\\&\n" |
| 679 |
" nptrs = backtrace(buffer, BT_BUF_SIZE);\n" |
| 680 |
" printf(\"backtrace() returned %d addresses\\[rs]n\", nptrs);\n" |
| 681 |
"\\&\n" |
| 682 |
" /* The call backtrace_symbols_fd(buffer, nptrs, STDOUT_FILENO)\n" |
| 683 |
" would produce similar output to the following: */\n" |
| 684 |
"\\&\n" |
| 685 |
" strings = backtrace_symbols(buffer, nptrs);\n" |
| 686 |
" if (strings == NULL) {\n" |
| 687 |
" perror(\"backtrace_symbols\");\n" |
| 688 |
" exit(EXIT_FAILURE);\n" |
| 689 |
" }\n" |
| 690 |
"\\&\n" |
| 691 |
" for (size_t j = 0; j E<lt> nptrs; j++)\n" |
| 692 |
" printf(\"%s\\[rs]n\", strings[j]);\n" |
| 693 |
"\\&\n" |
| 694 |
" free(strings);\n" |
| 695 |
"}\n" |
| 696 |
"\\&\n" |
| 697 |
"static void /* \"static\" means don\\[aq]t export the symbol... */\n" |
| 698 |
"myfunc2(void)\n" |
| 699 |
"{\n" |
| 700 |
" myfunc3();\n" |
| 701 |
"}\n" |
| 702 |
"\\&\n" |
| 703 |
"void\n" |
| 704 |
"myfunc(int ncalls)\n" |
| 705 |
"{\n" |
| 706 |
" if (ncalls E<gt> 1)\n" |
| 707 |
" myfunc(ncalls - 1);\n" |
| 708 |
" else\n" |
| 709 |
" myfunc2();\n" |
| 710 |
"}\n" |
| 711 |
"\\&\n" |
| 712 |
"int\n" |
| 713 |
"main(int argc, char *argv[])\n" |
| 714 |
"{\n" |
| 715 |
" if (argc != 2) {\n" |
| 716 |
" fprintf(stderr, \"%s num-calls\\[rs]n\", argv[0]);\n" |
| 717 |
" exit(EXIT_FAILURE);\n" |
| 718 |
" }\n" |
| 719 |
"\\&\n" |
| 720 |
" myfunc(atoi(argv[1]));\n" |
| 721 |
" exit(EXIT_SUCCESS);\n" |
| 722 |
"}\n" |
| 723 |
msgstr "" |
| 724 |
"#include E<lt>execinfo.hE<gt>\n" |
| 725 |
"#include E<lt>stdio.hE<gt>\n" |
| 726 |
"#include E<lt>stdlib.hE<gt>\n" |
| 727 |
"#include E<lt>unistd.hE<gt>\n" |
| 728 |
"\\&\n" |
| 729 |
"#define BT_BUF_SIZE 100\n" |
| 730 |
"\\&\n" |
| 731 |
"void\n" |
| 732 |
"myfunc3(void)\n" |
| 733 |
"{\n" |
| 734 |
" int nptrs;\n" |
| 735 |
" void *buffer[BT_BUF_SIZE];\n" |
| 736 |
" char **strings;\n" |
| 737 |
"\\&\n" |
| 738 |
" nptrs = backtrace(buffer, BT_BUF_SIZE);\n" |
| 739 |
" printf(\"backtrace() returned %d addresses\\[rs]n\", nptrs);\n" |
| 740 |
"\\&\n" |
| 741 |
" /* L’appel backtrace_symbols_fd(buffer, nptrs, STDOUT_FILENO)\n" |
| 742 |
" produirait une sortie semblable à ce qui suit : */\n" |
| 743 |
"\\&\n" |
| 744 |
" strings = backtrace_symbols(buffer, nptrs);\n" |
| 745 |
" if (strings == NULL) {\n" |
| 746 |
" perror(\"backtrace_symbols\");\n" |
| 747 |
" exit(EXIT_FAILURE);\n" |
| 748 |
" }\n" |
| 749 |
"\\&\n" |
| 750 |
" for (size_t j = 0; j E<lt> nptrs; j++)\n" |
| 751 |
" printf(\"%s\\[rs]n\", strings[j]);\n" |
| 752 |
"\\&\n" |
| 753 |
" free(strings);\n" |
| 754 |
"}\n" |
| 755 |
"\\&\n" |
| 756 |
"static void /* « static » signifie ne pas exporter le symbole... */\n" |
| 757 |
"myfunc2(void)\n" |
| 758 |
"{\n" |
| 759 |
" myfunc3();\n" |
| 760 |
"}\n" |
| 761 |
"\\&\n" |
| 762 |
"void\n" |
| 763 |
"myfunc(int ncalls)\n" |
| 764 |
"{\n" |
| 765 |
" if (ncalls E<gt> 1)\n" |
| 766 |
" myfunc(ncalls - 1);\n" |
| 767 |
" else\n" |
| 768 |
" myfunc2();\n" |
| 769 |
"}\n" |
| 770 |
"\\&\n" |
| 771 |
"int\n" |
| 772 |
"main(int argc, char *argv[])\n" |
| 773 |
"{\n" |
| 774 |
" if (argc != 2) {\n" |
| 775 |
" fprintf(stderr, \"%s num-calls\\[rs]n\", argv[0]);\n" |
| 776 |
" exit(EXIT_FAILURE);\n" |
| 777 |
" }\n" |
| 778 |
"\\&\n" |
| 779 |
" myfunc(atoi(argv[1]));\n" |
| 780 |
" exit(EXIT_SUCCESS);\n" |
| 781 |
"}\n" |
| 782 |
|
| 783 |
#. type: TH |
| 784 |
#: fedora-44 fedora-rawhide |
| 785 |
#, no-wrap |
| 786 |
msgid "2024-07-23" |
| 787 |
msgstr "23 juillet 2024" |
| 788 |
|
| 789 |
#. type: TH |
| 790 |
#: fedora-44 fedora-rawhide |
| 791 |
#, no-wrap |
| 792 |
msgid "Linux man-pages 6.13" |
| 793 |
msgstr "Pages du manuel de Linux 6.13" |
| 794 |
|
| 795 |
#. type: TH |
| 796 |
#: mageia-cauldron |
| 797 |
#, no-wrap |
| 798 |
msgid "Linux man-pages 6.17" |
| 799 |
msgstr "Pages du manuel de Linux 6.17" |
| 800 |
|
| 801 |
#. type: TH |
| 802 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 803 |
#, no-wrap |
| 804 |
msgid "Linux man-pages (unreleased)" |
| 805 |
msgstr "Pages du manuel de Linux (non publiées)" |