Debian Codegraph @

po/fr/archive/man9/proc_dir_entry.9.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 # Jean-Pierre Giraud <[email protected]>, 2024.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.22.0\n"
8 "POT-Creation-Date: 2024-03-23 07:49+0100\n"
9 "PO-Revision-Date: 2024-04-06 12:14+0200\n"
10 "Last-Translator: Jean-Pierre Giraud <[email protected]>\n"
11 "Language-Team: French <[email protected]>\n"
12 "Language: fr\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
17 "X-Generator: Lokalize 22.12.3\n"
18
19 #. type: TH
20 #: mageia-cauldron
21 #, no-wrap
22 msgid "proc_dir_entry"
23 msgstr "proc_dir_entry"
24
25 #. type: TH
26 #: mageia-cauldron
27 #, no-wrap
28 msgid "July 1997"
29 msgstr "Juillet 1997"
30
31 #. type: TH
32 #: mageia-cauldron
33 #, no-wrap
34 msgid "Linux 2.0.30"
35 msgstr "Linux 2.0.30."
36
37 #. type: TH
38 #: mageia-cauldron
39 #, no-wrap
40 msgid "/proc Functions"
41 msgstr "Fonctions /proc"
42
43 #. type: SH
44 #: mageia-cauldron
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NOM"
48
49 #. type: Plain text
50 #: mageia-cauldron
51 msgid ""
52 "proc_dir_entry, proc_register, proc_register_dynamic, proc_unregister - "
53 "register entries in the /proc filesystem."
54 msgstr ""
55 "proc_dir_entry, proc_register, proc_register_dynamic, proc_unregister - "
56 "Enregistrer les entrées dans le système de fichiers /proc"
57
58 #. type: SH
59 #: mageia-cauldron
60 #, no-wrap
61 msgid "SYNOPSIS"
62 msgstr "SYNOPSIS"
63
64 #. type: Plain text
65 #: mageia-cauldron
66 msgid "B<#include E<lt>linux/proc_fs.hE<gt>>"
67 msgstr "B<#include E<lt>linux/proc_fs.hE<gt>>"
68
69 #. type: TP
70 #: mageia-cauldron
71 #, no-wrap
72 msgid "B<int\\ proc_register(\\%struct\\ proc_dir_entry\\ *\\ >I<parent>B<, struct\\ proc_dir_entry\\ *\\ >I<child>B<);>"
73 msgstr "B<int\\ proc_register(\\%struct\\ proc_dir_entry\\ *\\ >I<parent>B<, struct\\ proc_dir_entry\\ *\\ >I<enfant>B<);>"
74
75 #. type: TP
76 #: mageia-cauldron
77 #, no-wrap
78 msgid "B<int\\ proc_unregister(\\%struct\\ proc_dir_entry\\ *\\ >I<parent>B<, int\\ >I<inode>B<);>"
79 msgstr "B<int\\ proc_unregister(\\%struct\\ proc_dir_entry\\ *\\ >I<parent>B<, int\\ >I<inœud>B<);>"
80
81 #. type: TP
82 #: mageia-cauldron
83 #, no-wrap
84 msgid "B<int\\ proc_register_dynamic(\\%struct\\ proc_dir_entry\\ *\\ >I<parent>B<, struct\\ proc_dir_entry\\ *\\ >I<child>B<);>"
85 msgstr "B<int\\ proc_register_dynamic(\\%struct\\ proc_dir_entry\\ *\\ >I<parent>B<, struct\\ proc_dir_entry\\ *\\ >I<enfant>B<);>"
86
87 #. type: SH
88 #: mageia-cauldron
89 #, no-wrap
90 msgid "DESCRIPTION"
91 msgstr "DESCRIPTION"
92
93 #. type: Plain text
94 #: mageia-cauldron
95 msgid ""
96 "The B<proc_register> functions add file or directory entries to the /proc "
97 "file system. They associate processing routines with each node of the /proc "
98 "tree. The structure B<proc_dir_entry> is defined as"
99 msgstr ""
100 "Les fonctions de B<proc_register> ajoutent des entrées de fichier ou de "
101 "répertoire au système de fichiers /proc. Elles associent des routines de "
102 "traitement avec chaque nœud de l'arbre hiérarchique /proc. La structure "
103 "B<proc_dir_entry> est définie ainsi :"
104
105 #. type: Plain text
106 #: mageia-cauldron
107 #, no-wrap
108 msgid ""
109 "B<struct proc_dir_entry {>\n"
110 "B<unsigned short low_ino;>\n"
111 "B<unsigned short namelen;>\n"
112 "B<const char *name;>\n"
113 "B<mode_t mode;>\n"
114 "B<nlink_t nlink;>\n"
115 "B<uid_t uid;>\n"
116 "B<gid_t gid;>\n"
117 "B<unsigned long size;>\n"
118 "B<struct inode_operations * ops;>\n"
119 "B<int (*get_info)(char *buffer, char **start,>\n"
120 "B<off_t offset, int length, int unused);>\n"
121 "B<void (*fill_inode)(struct inode *);>\n"
122 "B<struct proc_dir_entry *next, *parent, *subdir;>\n"
123 "B<void *data;>\n"
124 "B<};>\n"
125 msgstr ""
126 "B<struct proc_dir_entry {>\n"
127 "B<unsigned short low_ino;>\n"
128 "B<unsigned short namelen;>\n"
129 "B<const char *name;>\n"
130 "B<mode_t mode;>\n"
131 "B<nlink_t nlink;>\n"
132 "B<uid_t uid;>\n"
133 "B<gid_t gid;>\n"
134 "B<unsigned long size;>\n"
135 "B<struct inode_operations * ops;>\n"
136 "B<int (*get_info)(char *buffer, char **start,>\n"
137 "B<off_t offset, int length, int unused);>\n"
138 "B<void (*fill_inode)(struct inode *);>\n"
139 "B<struct proc_dir_entry *next, *parent, *subdir;>\n"
140 "B<void *data;>\n"
141 "B<};>\n"
142
143 #. type: IP
144 #: mageia-cauldron
145 #, no-wrap
146 msgid "low_ino"
147 msgstr "low_ino"
148
149 #. type: Plain text
150 #: mageia-cauldron
151 msgid ""
152 "The inode number of this directory entry. For B<proc_register> this number "
153 "should be unique within the /proc filesystem, values are defined in "
154 "I<E<lt>linux/proc_fs.hE<gt>>. For B<proc_register_dynamic> the inode number "
155 "is dynamically assigned."
156 msgstr ""
157 "Le numéro d'inœud de cette entrée de répertoire. Pour B<proc_register>, ce "
158 "numéro doit être unique dans le système de fichiers /proc. Les valeurs sont "
159 "définies dans I<E<lt>linux/proc_fs.hE<gt>>. Pour B<proc_register_dynamic> le "
160 "numéro d'inœud est assigné de façon dynamique."
161
162 #. type: IP
163 #: mageia-cauldron
164 #, no-wrap
165 msgid "namelen"
166 msgstr "namelen"
167
168 #. type: Plain text
169 #: mageia-cauldron
170 msgid "The length of the name, excluding the trailing null."
171 msgstr "La longueur du nom, excluant l'octet NULL de fin."
172
173 #. type: IP
174 #: mageia-cauldron
175 #, no-wrap
176 msgid "name"
177 msgstr "name"
178
179 #. type: Plain text
180 #: mageia-cauldron
181 msgid "The name of this node."
182 msgstr "Le nom de ce nœud."
183
184 #. type: IP
185 #: mageia-cauldron
186 #, no-wrap
187 msgid "mode"
188 msgstr "mode"
189
190 #. type: Plain text
191 #: mageia-cauldron
192 msgid "The node's type and permissions. Drawn from I<E<lt>linux/stat.hE<gt>>."
193 msgstr ""
194 "Le type et les permissions du nœud. Valeurs issues de I<E<lt>linux/"
195 "stat.hE<gt>>."
196
197 #. type: IP
198 #: mageia-cauldron
199 #, no-wrap
200 msgid "nlink"
201 msgstr "nlink"
202
203 #. type: Plain text
204 #: mageia-cauldron
205 msgid ""
206 "Number of links to the node. Initialise to 2 if mode includes S_IFDIR, 1 "
207 "otherwise."
208 msgstr ""
209 "Nombre des liens vers le nœud. Initialisé à 2 si le mode inclut S_IFDIR, "
210 "sinon 1."
211
212 #. type: IP
213 #: mageia-cauldron
214 #, no-wrap
215 msgid "uid"
216 msgstr "uid"
217
218 #. type: Plain text
219 #: mageia-cauldron
220 msgid "The uid that owns the node, normally 0."
221 msgstr "L'UID propriétaire du nœud, normalement 0.'"
222
223 #. type: IP
224 #: mageia-cauldron
225 #, no-wrap
226 msgid "gid"
227 msgstr "gid"
228
229 #. type: Plain text
230 #: mageia-cauldron
231 msgid "The gid that owns the node. normally 0."
232 msgstr "Le GID propriétaire du nœud. Normalement 0."
233
234 #. type: IP
235 #: mageia-cauldron
236 #, no-wrap
237 msgid "size"
238 msgstr "size"
239
240 #. type: Plain text
241 #: mageia-cauldron
242 msgid ""
243 "Sets the size of the node, the value will appear as the inode size in "
244 "listings and be returned by B<stat>. Unless you really need a size, set "
245 "this to zero."
246 msgstr ""
247 "Définit la taille du nœud ; la valeur apparaîtra comme taille de l'inœud "
248 "dans les listes et sera renvoyée par B<stat>. À moins que vous ayez "
249 "réellement besoin d'une taille, le définir à zéro."
250
251 #. type: IP
252 #: mageia-cauldron
253 #, no-wrap
254 msgid "ops"
255 msgstr "ops"
256
257 #. type: Plain text
258 #: mageia-cauldron
259 msgid ""
260 "Defines the set of inode operations to perform for your /proc node. For a "
261 "directory node, use I<&proc_dir_inode_operations> unless you have special "
262 "requirements. For a leaf node, set to NULL unless you have special "
263 "requirements."
264 msgstr ""
265 "Définit le jeu d'opérations d'inœud à réaliser pour votre nœud de /proc. "
266 "Pour un nœud de répertoire, utilisez I<&proc_dir_inode_operations> à moins "
267 "que vous ayez des besoins spéciaux. Pour un nœud feuille, définir à NULL à "
268 "moins que vous ayez des besoins spéciaux."
269
270 #. type: IP
271 #: mageia-cauldron
272 #, no-wrap
273 msgid "get_info"
274 msgstr "get_info"
275
276 #. type: Plain text
277 #: mageia-cauldron
278 msgid ""
279 "If defined, this proc is called when the node is read. Should be NULL for "
280 "directory nodes. B<NOTE:> If you need to return large amounts of data, the "
281 "proc must return the data in chunks and reposition itself on the next call, "
282 "using the I<offset> variable. See I<ip_masq_procinfo> for example code with "
283 "large output."
284 msgstr ""
285 "S'il est défini, cette fonction est appelée quand le nœud est lu. Doit être "
286 "NULL pour les nœuds de répertoires. B<NOTE :> Si vous avez besoin de "
287 "renvoyer une grande quantité de données, le proc peut renvoyer les données "
288 "en tronçons et se repositionne sur l'appel suivant en utilisant la variable "
289 "I<offset>. Voir I<ip_masq_procinfo> pour un exemple de code avec une sortie "
290 "importante."
291
292 #. type: IP
293 #: mageia-cauldron
294 #, no-wrap
295 msgid "fill_inode"
296 msgstr "fill_inode"
297
298 #. type: Plain text
299 #: mageia-cauldron
300 msgid ""
301 "Dynamically fill in the inode characteristics during directory operations. "
302 "Not normally required and set to NULL. See proc_pid_fill_inode for example "
303 "code."
304 msgstr ""
305 "Définir de façon dynamique les caractéristiques de l'inœud durant les "
306 "opérations du répertoire. Normalement pas requis et défini à NULL. Voir "
307 "proc_pid_fill_inode pour un exemple de code."
308
309 #. type: IP
310 #: mageia-cauldron
311 #, no-wrap
312 msgid "next, parent, subdir"
313 msgstr "next, parent, subdir"
314
315 #. type: Plain text
316 #: mageia-cauldron
317 msgid ""
318 "Maintained by /proc routines. Initial value is irrelevant, set to NULL."
319 msgstr ""
320 "Entretenus par les routines de /proc. La valeur initiale n'est pas "
321 "pertinente, définis à NULL."
322
323 #. type: IP
324 #: mageia-cauldron
325 #, no-wrap
326 msgid "data"
327 msgstr "data"
328
329 #. type: Plain text
330 #: mageia-cauldron
331 msgid ""
332 "An opaque pointer which can be used by proc handlers to pass local data "
333 "around. Set to whatever you like when calling B<proc_register>, normally "
334 "NULL. This pointer is copied into the inode u.ip_generic field (by "
335 "proc_get_inode) so it is available to any proc routines that are passed an "
336 "inode."
337 msgstr ""
338 "Un pointeur opaque qui peut être utilisé par les gestionnaires de proc pour "
339 "faire circuler les données locales. Le définir à ce que vous voulez lors de "
340 "l'appel de B<proc_register>, normalement NULL. Ce pointeur est copié dans le "
341 "champ u.ip_generic de l'inœud (par proc_get_inode) ; ainsi il est "
342 "disponible pour toutes les routines de proc qui sont passées à un inœud."
343
344 #. type: Plain text
345 #: mageia-cauldron
346 msgid "B<proc_register> adds the B<child> as a node under the B<parent>."
347 msgstr ""
348 "B<proc_register> ajoute l'B<enfant> en tant que nœud sous le B<parent>."
349
350 #. type: Plain text
351 #: mageia-cauldron
352 msgid ""
353 "B<proc_register_dynamic> dynamically assigns an inode number then adds the "
354 "B<child> as a node under the B<parent>."
355 msgstr ""
356 "B<proc_register_dynamic> assigne de façon dynamique un numéro d'inœud puis "
357 "ajoute l'B<enfant> en tant que nœud sous le B<parent>."
358
359 #. type: Plain text
360 #: mageia-cauldron
361 msgid ""
362 "B<proc_unregister> scans the inode list under the B<parent> for the "
363 "specified B<inode> number and removes the matching entry."
364 msgstr ""
365 "B<proc_unregister> balaye la liste d'inœuds sous le B<parent> pour trouver "
366 "le numéro d'B<inœud> puis ajoute l'B<enfant> en tant que nœud sous le "
367 "B<parent>."
368
369 #. type: SH
370 #: mageia-cauldron
371 #, no-wrap
372 msgid "RETURN VALUE"
373 msgstr "VALEUR RENVOYÉE"
374
375 #. type: Plain text
376 #: mageia-cauldron
377 msgid "B<proc_register> always returns 0."
378 msgstr "B<proc_register> renvoie toujours B<0>."
379
380 #. type: Plain text
381 #: mageia-cauldron
382 msgid "B<proc_register_dynamic>"
383 msgstr "B<proc_register_dynamic>"
384
385 #. type: Plain text
386 #: mageia-cauldron
387 msgid ""
388 "returns 0 for success or B<-EAGAIN> if there are no free dynamic inode "
389 "numbers."
390 msgstr ""
391 "Renvoie B<0> en cas de succès ou B<-EAGAIN> s'il n'y a pas de numéro d'inœud "
392 "dynamique libre."
393
394 #. type: Plain text
395 #: mageia-cauldron
396 msgid "B<proc_unregister>"
397 msgstr "B<proc_unregister>"
398
399 #. type: Plain text
400 #: mageia-cauldron
401 msgid "returns 0 for success or B<-EINVAL> if the node was not found."
402 msgstr ""
403 "Renvoie B<0> en cas de succès ou B<-EINVAL> si le nœud n'a pas été trouvé."
404
405 #. type: SH
406 #: mageia-cauldron
407 #, no-wrap
408 msgid "SEE ALSO"
409 msgstr "VOIR AUSSI"
410
411 #. type: Plain text
412 #: mageia-cauldron
413 msgid ""
414 "B<proc_net_register>(9), B<proc_net_unregister>(9), "
415 "B<proc_scsi_register>(9), B<proc_scsi_unregister>(9), B<stat>(2)."
416 msgstr ""
417 "B<proc_net_register>(9), B<proc_net_unregister>(9), "
418 "B<proc_scsi_register>(9), B<proc_scsi_unregister>(9), B<stat>(2)."
419
420 #. type: SH
421 #: mageia-cauldron
422 #, no-wrap
423 msgid "AUTHOR"
424 msgstr "AUTEUR"
425
426 #. type: Plain text
427 #: mageia-cauldron
428 msgid "Keith Owens E<lt>[email protected]<gt>"
429 msgstr "Keith Owens E<lt>[email protected]<gt>"
430
431 #. type: SH
432 #: mageia-cauldron
433 #, no-wrap
434 msgid "BUGS"
435 msgstr "BOGUES"
436
437 #. type: Plain text
438 #: mageia-cauldron
439 msgid ""
440 "The uniqueness of /proc inode numbers is assumed, not enforced. It is "
441 "possible to add two nodes with the same inode number."
442 msgstr ""
443 "Le caractère unique des numéros d'inœud de /proc est présumé mais pas "
444 "appliqué. Il est possible d'ajouter deux nœuds avec le même numéro d'inœud."