| 1 |
# French translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003. |
| 5 |
# Stéphan Rafin <[email protected]>, 2002. |
| 6 |
# Thierry Vignaud <[email protected]>, 1999, 2002. |
| 7 |
# François Micaux, 2002. |
| 8 |
# Alain Portal <[email protected]>, 2003-2008. |
| 9 |
# Jean-Philippe Guérard <[email protected]>, 2005-2006. |
| 10 |
# Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007. |
| 11 |
# Julien Cristau <[email protected]>, 2006-2007. |
| 12 |
# Thomas Huriaux <[email protected]>, 2006-2008. |
| 13 |
# Nicolas François <[email protected]>, 2006-2008. |
| 14 |
# Florentin Duneau <[email protected]>, 2006-2010. |
| 15 |
# Simon Paillard <[email protected]>, 2006, 2013, 2014. |
| 16 |
# Denis Barbier <[email protected]>, 2006, 2010, 2011. |
| 17 |
# David Prévot <[email protected]>, 2010, 2012-2014. |
| 18 |
# Jean-Pierre Giraud <[email protected]>, 2024. |
| 19 |
msgid "" |
| 20 |
msgstr "" |
| 21 |
"Project-Id-Version: manpages-l10n 4.25.0\n" |
| 22 |
"POT-Creation-Date: 2026-06-05 06:45+0200\n" |
| 23 |
"PO-Revision-Date: 2024-12-31 19:16+0100\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 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 "sysctl" |
| 38 |
msgstr "sysctl" |
| 39 |
|
| 40 |
#. type: TH |
| 41 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 42 |
#: opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "2026-02-10" |
| 45 |
msgstr "10 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 "sysctl - read/write system parameters" |
| 64 |
msgstr "sysctl - Lire/écrire les paramètres système" |
| 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 "SYNOPSIS" |
| 71 |
msgstr "SYNOPSIS" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "" |
| 78 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 79 |
"B<#include E<lt>linux/sysctl.hE<gt>>\n" |
| 80 |
msgstr "" |
| 81 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 82 |
"B<#include E<lt>linux/sysctl.hE<gt>>\n" |
| 83 |
|
| 84 |
#. type: Plain text |
| 85 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 86 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 87 |
#, no-wrap |
| 88 |
msgid "B<[[deprecated]] int _sysctl(struct __sysctl_args *>I<args>B<);>\n" |
| 89 |
msgstr "B<[[obsolète]] int _sysctl(struct __sysctl_args *>I<args>B<);>\n" |
| 90 |
|
| 91 |
#. type: SH |
| 92 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 93 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 94 |
#, no-wrap |
| 95 |
msgid "DESCRIPTION" |
| 96 |
msgstr "DESCRIPTION" |
| 97 |
|
| 98 |
#. type: Plain text |
| 99 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 100 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 101 |
msgid "B<This system call no longer exists on current kernels!> See NOTES." |
| 102 |
msgstr "" |
| 103 |
"B<Cet appel système n'existe plus dans les noyaux actuels !> Consultez NOTES." |
| 104 |
|
| 105 |
#. type: Plain text |
| 106 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 107 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 108 |
msgid "" |
| 109 |
"The B<_sysctl>() call reads and/or writes kernel parameters. For example, " |
| 110 |
"the hostname, or the maximum number of open files. The argument has the form" |
| 111 |
msgstr "" |
| 112 |
"L'appel système B<_sysctl>() lit et/ou écrit les paramètres du noyau. Par " |
| 113 |
"exemple, le nom d'hôte ou le nombre maximal de fichiers ouverts. L'argument " |
| 114 |
"a la forme" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 118 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
#, no-wrap |
| 120 |
msgid "" |
| 121 |
"struct __sysctl_args {\n" |
| 122 |
" int *name; /* integer vector describing variable */\n" |
| 123 |
" int nlen; /* number of elements of this vector */\n" |
| 124 |
" void *oldval; /* 0 or address where to store old value */\n" |
| 125 |
" size_t *oldlenp; /* available room for old value,\n" |
| 126 |
" overwritten by actual size of old value */\n" |
| 127 |
" void *newval; /* 0 or address of new value */\n" |
| 128 |
" size_t newlen; /* size of new value */\n" |
| 129 |
"};\n" |
| 130 |
msgstr "" |
| 131 |
"struct __sysctl_args {\n" |
| 132 |
" int *name; /* tableau d'entiers décrivant la variable */\n" |
| 133 |
" int nlen; /* nombre d'éléments de ce tableau */\n" |
| 134 |
" void *oldval; /* 0 ou adresse où stocker l'ancienne valeur */\n" |
| 135 |
" size_t *oldlenp; /* espace disponible pour l'ancienne valeur,\n" |
| 136 |
" remplacé par la taille réelle de cette valeur */\n" |
| 137 |
" void *newval; /* 0 ou adresse de la nouvelle valeur */\n" |
| 138 |
" size_t newlen; /* taille de la nouvelle valeur */\n" |
| 139 |
"};\n" |
| 140 |
|
| 141 |
#. type: Plain text |
| 142 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 143 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 144 |
msgid "" |
| 145 |
"This call does a search in a tree structure, possibly resembling a directory " |
| 146 |
"tree under I</proc/sys>, and if the requested item is found calls some " |
| 147 |
"appropriate routine to read or modify the value." |
| 148 |
msgstr "" |
| 149 |
"Cet appel effectue une recherche dans la structure arborescente, sans doute " |
| 150 |
"de type arbre de répertoires sous I</proc/sys>, puis, si les valeurs " |
| 151 |
"réclamées y sont trouvées, appelle les routines appropriées pour lire ou " |
| 152 |
"modifier les valeurs." |
| 153 |
|
| 154 |
#. type: SH |
| 155 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 156 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 157 |
#, no-wrap |
| 158 |
msgid "RETURN VALUE" |
| 159 |
msgstr "VALEUR RENVOYÉE" |
| 160 |
|
| 161 |
#. type: Plain text |
| 162 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 163 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 164 |
msgid "" |
| 165 |
"Upon successful completion, B<_sysctl>() returns 0. Otherwise, a value of " |
| 166 |
"-1 is returned and I<errno> is set to indicate the error." |
| 167 |
msgstr "" |
| 168 |
"B<_sysctl>() renvoie B<0> s'il réussit. Autrement, une valeur de B<-1> est " |
| 169 |
"renvoyée et I<errno> est défini pour indiquer l'erreur." |
| 170 |
|
| 171 |
#. type: SH |
| 172 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 173 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 174 |
#, no-wrap |
| 175 |
msgid "ERRORS" |
| 176 |
msgstr "ERREURS" |
| 177 |
|
| 178 |
#. type: TP |
| 179 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 180 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 181 |
#, no-wrap |
| 182 |
msgid "B<EACCES>" |
| 183 |
msgstr "B<EACCES>" |
| 184 |
|
| 185 |
#. type: TQ |
| 186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 188 |
#, no-wrap |
| 189 |
msgid "B<EPERM>" |
| 190 |
msgstr "B<EPERM>" |
| 191 |
|
| 192 |
#. type: Plain text |
| 193 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 194 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 195 |
msgid "" |
| 196 |
"No search permission for one of the encountered \"directories\", or no read " |
| 197 |
"permission where I<oldval> was nonzero, or no write permission where " |
| 198 |
"I<newval> was nonzero." |
| 199 |
msgstr "" |
| 200 |
"Pas de droit de parcours sur l'un des «\\ répertoires\\ » rencontrés, ou pas " |
| 201 |
"de permission de lecture où I<oldval> était non nul, ou encore pas de " |
| 202 |
"permission d'écriture où I<newval> était non nul." |
| 203 |
|
| 204 |
#. type: TP |
| 205 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 206 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 207 |
#, no-wrap |
| 208 |
msgid "B<EFAULT>" |
| 209 |
msgstr "B<EFAULT>" |
| 210 |
|
| 211 |
#. type: Plain text |
| 212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 214 |
msgid "" |
| 215 |
"The invocation asked for the previous value by setting I<oldval> non-NULL, " |
| 216 |
"but allowed zero room in I<oldlenp>." |
| 217 |
msgstr "" |
| 218 |
"Demande de lecture de la valeur précédente en fournissant I<oldval> non " |
| 219 |
"NULL, mais pas de place allouée dans I<oldlenp>." |
| 220 |
|
| 221 |
#. type: TP |
| 222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 224 |
#, no-wrap |
| 225 |
msgid "B<ENOTDIR>" |
| 226 |
msgstr "B<ENOTDIR>" |
| 227 |
|
| 228 |
#. type: Plain text |
| 229 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 230 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 231 |
msgid "I<name> was not found." |
| 232 |
msgstr "I<name> non trouvé." |
| 233 |
|
| 234 |
#. type: SH |
| 235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 237 |
#, no-wrap |
| 238 |
msgid "STANDARDS" |
| 239 |
msgstr "NORMES" |
| 240 |
|
| 241 |
#. type: Plain text |
| 242 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 243 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 244 |
msgid "Linux." |
| 245 |
msgstr "Linux." |
| 246 |
|
| 247 |
#. type: SH |
| 248 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 249 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 250 |
#, no-wrap |
| 251 |
msgid "HISTORY" |
| 252 |
msgstr "HISTORIQUE" |
| 253 |
|
| 254 |
#. type: Plain text |
| 255 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 256 |
#: opensuse-tumbleweed |
| 257 |
#, fuzzy |
| 258 |
#| msgid "Linux 1.3.57. Removed in Linux 5.5, glibc 2.32." |
| 259 |
msgid "4.4BSD, Linux 1.3.57. Removed in Linux 5.5, glibc 2.32." |
| 260 |
msgstr "Linux 1.3.57. Supprimé dans Linux 5.5, glibc 2.32." |
| 261 |
|
| 262 |
#. type: Plain text |
| 263 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 264 |
#: opensuse-tumbleweed |
| 265 |
#, fuzzy |
| 266 |
#| msgid "" |
| 267 |
#| "It originated in 4.4BSD. Only Linux has the I</proc/sys> mirror, and the " |
| 268 |
#| "object naming schemes differ between Linux and 4.4BSD, but the " |
| 269 |
#| "declaration of the B<sysctl>() function is the same in both." |
| 270 |
msgid "" |
| 271 |
"Only Linux has the I</proc/sys> mirror, and the object naming schemes differ " |
| 272 |
"between Linux and 4.4BSD, but the declaration of the B<sysctl>() function " |
| 273 |
"is the same in both." |
| 274 |
msgstr "" |
| 275 |
"Il existait dans 4.4BSD. Seul Linux dispose du miroir I</proc/sys> et les " |
| 276 |
"conventions de noms d'objets diffèrent entre Linux et 4.4BSD, mais les " |
| 277 |
"déclarations de la fonction B<sysctl>() sont identiques sur les deux " |
| 278 |
"systèmes." |
| 279 |
|
| 280 |
#. type: SH |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
#, no-wrap |
| 284 |
msgid "NOTES" |
| 285 |
msgstr "NOTES" |
| 286 |
|
| 287 |
#. type: Plain text |
| 288 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 289 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 290 |
msgid "" |
| 291 |
"Use of this system call was long discouraged: since Linux 2.6.24, uses of " |
| 292 |
"this system call result in warnings in the kernel log, and in Linux 5.5, the " |
| 293 |
"system call was finally removed. Use the I</proc/sys> interface instead." |
| 294 |
msgstr "" |
| 295 |
"L'utilisation de cet appel système est déconseillée depuis longtemps : " |
| 296 |
"depuis Linux 2.6.24, son utilisation provoque des avertissements dans le " |
| 297 |
"journal du noyau, et depuis Linux 5.5, il a finalement été supprimé. " |
| 298 |
"Utilisez plutôt l'interface I</proc/sys>." |
| 299 |
|
| 300 |
#. type: Plain text |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
msgid "" |
| 304 |
"Note that on older kernels where this system call still exists, it is " |
| 305 |
"available only if the kernel was configured with the " |
| 306 |
"B<CONFIG_SYSCTL_SYSCALL> option. Furthermore, glibc does not provide a " |
| 307 |
"wrapper for this system call, necessitating the use of B<syscall>(2)." |
| 308 |
msgstr "" |
| 309 |
"Veuillez noter que sur les anciens noyaux où cet appel système existe " |
| 310 |
"encore, il n'est disponible que si le noyau a été configuré avec l'option " |
| 311 |
"B<CONFIG_SYSCTL_SYSCALL>. En outre, la glibc ne founit pas de fonction " |
| 312 |
"d'enveloppe pour cet appel système, imposant l'utilisation de B<syscall>(2)." |
| 313 |
|
| 314 |
#. type: SH |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
#, no-wrap |
| 318 |
msgid "BUGS" |
| 319 |
msgstr "BOGUES" |
| 320 |
|
| 321 |
#. type: Plain text |
| 322 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 323 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 324 |
msgid "" |
| 325 |
"The object names vary between kernel versions, making this system call " |
| 326 |
"worthless for applications." |
| 327 |
msgstr "" |
| 328 |
"Les noms des objets peuvent varier d'une version à l'autre du noyau, ce qui " |
| 329 |
"rend cet appel système sans intérêt pour les applications." |
| 330 |
|
| 331 |
#. type: Plain text |
| 332 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 333 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 334 |
msgid "Not all available objects are properly documented." |
| 335 |
msgstr "Tous les objets disponibles ne sont pas correctement documentés." |
| 336 |
|
| 337 |
#. type: Plain text |
| 338 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 339 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 340 |
msgid "" |
| 341 |
"It is not yet possible to change operating system by writing to I</proc/sys/" |
| 342 |
"kernel/ostype>." |
| 343 |
msgstr "" |
| 344 |
"Il n'est pas possible de changer de système d'exploitation en écrivant dans " |
| 345 |
"I</proc/sys/kernel/ostype>." |
| 346 |
|
| 347 |
#. type: SH |
| 348 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 349 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 350 |
#, no-wrap |
| 351 |
msgid "EXAMPLES" |
| 352 |
msgstr "EXEMPLES" |
| 353 |
|
| 354 |
#. type: Plain text |
| 355 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 356 |
#: opensuse-tumbleweed |
| 357 |
#, fuzzy, no-wrap |
| 358 |
#| msgid "" |
| 359 |
#| "#define _GNU_SOURCE\n" |
| 360 |
#| "#include E<lt>stdio.hE<gt>\n" |
| 361 |
#| "#include E<lt>stdlib.hE<gt>\n" |
| 362 |
#| "#include E<lt>string.hE<gt>\n" |
| 363 |
#| "#include E<lt>sys/syscall.hE<gt>\n" |
| 364 |
#| "#include E<lt>unistd.hE<gt>\n" |
| 365 |
#| "\\&\n" |
| 366 |
#| "#include E<lt>linux/sysctl.hE<gt>\n" |
| 367 |
#| "\\&\n" |
| 368 |
#| "#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))\n" |
| 369 |
#| "\\&\n" |
| 370 |
#| "int _sysctl(struct __sysctl_args *args);\n" |
| 371 |
#| "\\&\n" |
| 372 |
#| "#define OSNAMESZ 100\n" |
| 373 |
#| "\\&\n" |
| 374 |
#| "int\n" |
| 375 |
#| "main(void)\n" |
| 376 |
#| "{\n" |
| 377 |
#| " int name[] = { CTL_KERN, KERN_OSTYPE };\n" |
| 378 |
#| " char osname[OSNAMESZ];\n" |
| 379 |
#| " size_t osnamelth;\n" |
| 380 |
#| " struct __sysctl_args args;\n" |
| 381 |
#| "\\&\n" |
| 382 |
#| " memset(&args, 0, sizeof(args));\n" |
| 383 |
#| " args.name = name;\n" |
| 384 |
#| " args.nlen = ARRAY_SIZE(name);\n" |
| 385 |
#| " args.oldval = osname;\n" |
| 386 |
#| " args.oldlenp = &osnamelth;\n" |
| 387 |
#| "\\&\n" |
| 388 |
#| " osnamelth = sizeof(osname);\n" |
| 389 |
#| "\\&\n" |
| 390 |
#| " if (syscall(SYS__sysctl, &args) == -1) {\n" |
| 391 |
#| " perror(\"_sysctl\");\n" |
| 392 |
#| " exit(EXIT_FAILURE);\n" |
| 393 |
#| " }\n" |
| 394 |
#| " printf(\"This machine is running %*s\\[rs]n\", (int) osnamelth, osname);\n" |
| 395 |
#| " exit(EXIT_SUCCESS);\n" |
| 396 |
#| "}\n" |
| 397 |
msgid "" |
| 398 |
"#define _GNU_SOURCE\n" |
| 399 |
"#include E<lt>stdcountof.hE<gt>\n" |
| 400 |
"#include E<lt>stdio.hE<gt>\n" |
| 401 |
"#include E<lt>stdlib.hE<gt>\n" |
| 402 |
"#include E<lt>string.hE<gt>\n" |
| 403 |
"#include E<lt>sys/syscall.hE<gt>\n" |
| 404 |
"#include E<lt>unistd.hE<gt>\n" |
| 405 |
"\\&\n" |
| 406 |
"#include E<lt>linux/sysctl.hE<gt>\n" |
| 407 |
"\\&\n" |
| 408 |
"int _sysctl(struct __sysctl_args *args);\n" |
| 409 |
"\\&\n" |
| 410 |
"#define OSNAMESZ 100\n" |
| 411 |
"\\&\n" |
| 412 |
"int\n" |
| 413 |
"main(void)\n" |
| 414 |
"{\n" |
| 415 |
" int name[] = { CTL_KERN, KERN_OSTYPE };\n" |
| 416 |
" char osname[OSNAMESZ];\n" |
| 417 |
" size_t osnamelth;\n" |
| 418 |
" struct __sysctl_args args;\n" |
| 419 |
"\\&\n" |
| 420 |
" memset(&args, 0, sizeof(args));\n" |
| 421 |
" args.name = name;\n" |
| 422 |
" args.nlen = countof(name);\n" |
| 423 |
" args.oldval = osname;\n" |
| 424 |
" args.oldlenp = &osnamelth;\n" |
| 425 |
"\\&\n" |
| 426 |
" osnamelth = sizeof(osname);\n" |
| 427 |
"\\&\n" |
| 428 |
" if (syscall(SYS__sysctl, &args) == -1) {\n" |
| 429 |
" perror(\"_sysctl\");\n" |
| 430 |
" exit(EXIT_FAILURE);\n" |
| 431 |
" }\n" |
| 432 |
" printf(\"This machine is running %*s\\[rs]n\", (int) osnamelth, osname);\n" |
| 433 |
" exit(EXIT_SUCCESS);\n" |
| 434 |
"}\n" |
| 435 |
msgstr "" |
| 436 |
"#define _GNU_SOURCE\n" |
| 437 |
"#include E<lt>stdio.hE<gt>\n" |
| 438 |
"#include E<lt>stdlib.hE<gt>\n" |
| 439 |
"#include E<lt>string.hE<gt>\n" |
| 440 |
"#include E<lt>sys/syscall.hE<gt>\n" |
| 441 |
"#include E<lt>unistd.hE<gt>\n" |
| 442 |
"\\&\n" |
| 443 |
"#include E<lt>linux/sysctl.hE<gt>\n" |
| 444 |
"\\&\n" |
| 445 |
"#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))\n" |
| 446 |
"\\&\n" |
| 447 |
"int _sysctl(struct __sysctl_args *args);\n" |
| 448 |
"\\&\n" |
| 449 |
"#define OSNAMESZ 100\n" |
| 450 |
"\\&\n" |
| 451 |
"int\n" |
| 452 |
"main(void)\n" |
| 453 |
"{\n" |
| 454 |
" int name[] = { CTL_KERN, KERN_OSTYPE };\n" |
| 455 |
" char osname[OSNAMESZ];\n" |
| 456 |
" size_t osnamelth;\n" |
| 457 |
" struct __sysctl_args args;\n" |
| 458 |
"\\&\n" |
| 459 |
" memset(&args, 0, sizeof(args));\n" |
| 460 |
" args.name = name;\n" |
| 461 |
" args.nlen = ARRAY_SIZE(name);\n" |
| 462 |
" args.oldval = osname;\n" |
| 463 |
" args.oldlenp = &osnamelth;\n" |
| 464 |
"\\&\n" |
| 465 |
" osnamelth = sizeof(osname);\n" |
| 466 |
"\\&\n" |
| 467 |
" if (syscall(SYS__sysctl, &args) == -1) {\n" |
| 468 |
" perror(\"_sysctl\");\n" |
| 469 |
" exit(EXIT_FAILURE);\n" |
| 470 |
" }\n" |
| 471 |
" printf(\"Cette machine fonctionne avec %*s\\[rs]n\", (int) osnamelth, osname);\n" |
| 472 |
" exit(EXIT_SUCCESS);\n" |
| 473 |
"}\n" |
| 474 |
|
| 475 |
#. SRC END |
| 476 |
#. type: SH |
| 477 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 478 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 479 |
#, no-wrap |
| 480 |
msgid "SEE ALSO" |
| 481 |
msgstr "VOIR AUSSI" |
| 482 |
|
| 483 |
#. type: Plain text |
| 484 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 485 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 486 |
msgid "B<proc>(5)" |
| 487 |
msgstr "B<proc>(5)" |
| 488 |
|
| 489 |
#. type: TH |
| 490 |
#: debian-trixie |
| 491 |
#, no-wrap |
| 492 |
msgid "2024-06-15" |
| 493 |
msgstr "15 juin 2024" |
| 494 |
|
| 495 |
#. type: TH |
| 496 |
#: debian-trixie |
| 497 |
#, no-wrap |
| 498 |
msgid "Linux man-pages 6.9.1" |
| 499 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 500 |
|
| 501 |
#. type: Plain text |
| 502 |
#: debian-trixie |
| 503 |
#, no-wrap |
| 504 |
msgid "" |
| 505 |
"struct __sysctl_args {\n" |
| 506 |
" int *name; /* integer vector describing variable */\n" |
| 507 |
" int nlen; /* length of this vector */\n" |
| 508 |
" void *oldval; /* 0 or address where to store old value */\n" |
| 509 |
" size_t *oldlenp; /* available room for old value,\n" |
| 510 |
" overwritten by actual size of old value */\n" |
| 511 |
" void *newval; /* 0 or address of new value */\n" |
| 512 |
" size_t newlen; /* size of new value */\n" |
| 513 |
"};\n" |
| 514 |
msgstr "" |
| 515 |
"struct __sysctl_args {\n" |
| 516 |
" int *name; /* tableau d'entiers décrivant la variable */\n" |
| 517 |
" int nlen; /* longueur de ce tableau */\n" |
| 518 |
" void *oldval; /* 0 ou adresse où stocker l'ancienne valeur */\n" |
| 519 |
" size_t *oldlenp; /* espace disponible pour l'ancienne valeur,\n" |
| 520 |
" remplacé par la taille réelle de cette valeur */\n" |
| 521 |
" void *newval; /* 0 ou adresse de la nouvelle valeur */\n" |
| 522 |
" size_t newlen; /* taille de la nouvelle valeur */\n" |
| 523 |
"};\n" |
| 524 |
|
| 525 |
#. type: Plain text |
| 526 |
#: debian-trixie fedora-44 fedora-rawhide |
| 527 |
msgid "Linux 1.3.57. Removed in Linux 5.5, glibc 2.32." |
| 528 |
msgstr "Linux 1.3.57. Supprimé dans Linux 5.5, glibc 2.32." |
| 529 |
|
| 530 |
#. type: Plain text |
| 531 |
#: debian-trixie fedora-44 fedora-rawhide |
| 532 |
msgid "" |
| 533 |
"It originated in 4.4BSD. Only Linux has the I</proc/sys> mirror, and the " |
| 534 |
"object naming schemes differ between Linux and 4.4BSD, but the declaration " |
| 535 |
"of the B<sysctl>() function is the same in both." |
| 536 |
msgstr "" |
| 537 |
"Il existait dans 4.4BSD. Seul Linux dispose du miroir I</proc/sys> et les " |
| 538 |
"conventions de noms d'objets diffèrent entre Linux et 4.4BSD, mais les " |
| 539 |
"déclarations de la fonction B<sysctl>() sont identiques sur les deux " |
| 540 |
"systèmes." |
| 541 |
|
| 542 |
#. type: Plain text |
| 543 |
#: debian-trixie fedora-44 fedora-rawhide |
| 544 |
#, no-wrap |
| 545 |
msgid "" |
| 546 |
"#define _GNU_SOURCE\n" |
| 547 |
"#include E<lt>stdio.hE<gt>\n" |
| 548 |
"#include E<lt>stdlib.hE<gt>\n" |
| 549 |
"#include E<lt>string.hE<gt>\n" |
| 550 |
"#include E<lt>sys/syscall.hE<gt>\n" |
| 551 |
"#include E<lt>unistd.hE<gt>\n" |
| 552 |
"\\&\n" |
| 553 |
"#include E<lt>linux/sysctl.hE<gt>\n" |
| 554 |
"\\&\n" |
| 555 |
"#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))\n" |
| 556 |
"\\&\n" |
| 557 |
"int _sysctl(struct __sysctl_args *args);\n" |
| 558 |
"\\&\n" |
| 559 |
"#define OSNAMESZ 100\n" |
| 560 |
"\\&\n" |
| 561 |
"int\n" |
| 562 |
"main(void)\n" |
| 563 |
"{\n" |
| 564 |
" int name[] = { CTL_KERN, KERN_OSTYPE };\n" |
| 565 |
" char osname[OSNAMESZ];\n" |
| 566 |
" size_t osnamelth;\n" |
| 567 |
" struct __sysctl_args args;\n" |
| 568 |
"\\&\n" |
| 569 |
" memset(&args, 0, sizeof(args));\n" |
| 570 |
" args.name = name;\n" |
| 571 |
" args.nlen = ARRAY_SIZE(name);\n" |
| 572 |
" args.oldval = osname;\n" |
| 573 |
" args.oldlenp = &osnamelth;\n" |
| 574 |
"\\&\n" |
| 575 |
" osnamelth = sizeof(osname);\n" |
| 576 |
"\\&\n" |
| 577 |
" if (syscall(SYS__sysctl, &args) == -1) {\n" |
| 578 |
" perror(\"_sysctl\");\n" |
| 579 |
" exit(EXIT_FAILURE);\n" |
| 580 |
" }\n" |
| 581 |
" printf(\"This machine is running %*s\\[rs]n\", (int) osnamelth, osname);\n" |
| 582 |
" exit(EXIT_SUCCESS);\n" |
| 583 |
"}\n" |
| 584 |
msgstr "" |
| 585 |
"#define _GNU_SOURCE\n" |
| 586 |
"#include E<lt>stdio.hE<gt>\n" |
| 587 |
"#include E<lt>stdlib.hE<gt>\n" |
| 588 |
"#include E<lt>string.hE<gt>\n" |
| 589 |
"#include E<lt>sys/syscall.hE<gt>\n" |
| 590 |
"#include E<lt>unistd.hE<gt>\n" |
| 591 |
"\\&\n" |
| 592 |
"#include E<lt>linux/sysctl.hE<gt>\n" |
| 593 |
"\\&\n" |
| 594 |
"#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))\n" |
| 595 |
"\\&\n" |
| 596 |
"int _sysctl(struct __sysctl_args *args);\n" |
| 597 |
"\\&\n" |
| 598 |
"#define OSNAMESZ 100\n" |
| 599 |
"\\&\n" |
| 600 |
"int\n" |
| 601 |
"main(void)\n" |
| 602 |
"{\n" |
| 603 |
" int name[] = { CTL_KERN, KERN_OSTYPE };\n" |
| 604 |
" char osname[OSNAMESZ];\n" |
| 605 |
" size_t osnamelth;\n" |
| 606 |
" struct __sysctl_args args;\n" |
| 607 |
"\\&\n" |
| 608 |
" memset(&args, 0, sizeof(args));\n" |
| 609 |
" args.name = name;\n" |
| 610 |
" args.nlen = ARRAY_SIZE(name);\n" |
| 611 |
" args.oldval = osname;\n" |
| 612 |
" args.oldlenp = &osnamelth;\n" |
| 613 |
"\\&\n" |
| 614 |
" osnamelth = sizeof(osname);\n" |
| 615 |
"\\&\n" |
| 616 |
" if (syscall(SYS__sysctl, &args) == -1) {\n" |
| 617 |
" perror(\"_sysctl\");\n" |
| 618 |
" exit(EXIT_FAILURE);\n" |
| 619 |
" }\n" |
| 620 |
" printf(\"Cette machine fonctionne avec %*s\\[rs]n\", (int) osnamelth, osname);\n" |
| 621 |
" exit(EXIT_SUCCESS);\n" |
| 622 |
"}\n" |
| 623 |
|
| 624 |
#. type: TH |
| 625 |
#: fedora-44 fedora-rawhide |
| 626 |
#, no-wrap |
| 627 |
msgid "2024-11-17" |
| 628 |
msgstr "17 novembre 2024" |
| 629 |
|
| 630 |
#. type: TH |
| 631 |
#: fedora-44 fedora-rawhide |
| 632 |
#, no-wrap |
| 633 |
msgid "Linux man-pages 6.13" |
| 634 |
msgstr "Pages du manuel de Linux 6.13" |
| 635 |
|
| 636 |
#. type: TH |
| 637 |
#: mageia-cauldron |
| 638 |
#, no-wrap |
| 639 |
msgid "Linux man-pages 6.17" |
| 640 |
msgstr "Pages du manuel de Linux 6.17" |
| 641 |
|
| 642 |
#. type: TH |
| 643 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 644 |
#, no-wrap |
| 645 |
msgid "Linux man-pages (unreleased)" |
| 646 |
msgstr "Pages du manuel de Linux (non publiées)" |