Debian Codegraph @

po/fr/man2/clock_getres.2.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003.
5 # Stéphan Rafin <[email protected]>, 2002.
6 # Thierry Vignaud <[email protected]>, 1999, 2002.
7 # François Micaux, 2002.
8 # Alain Portal <[email protected]>, 2003-2008.
9 # Jean-Philippe Guérard <[email protected]>, 2005-2006.
10 # Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007.
11 # Julien Cristau <[email protected]>, 2006-2007.
12 # Thomas Huriaux <[email protected]>, 2006-2008.
13 # Nicolas François <[email protected]>, 2006-2008.
14 # Florentin Duneau <[email protected]>, 2006-2010.
15 # Simon Paillard <[email protected]>, 2006, 2012-2014.
16 # Denis Barbier <[email protected]>, 2006, 2010.
17 # David Prévot <[email protected]>, 2010, 2012-2014.
18 # Jean-Philippe MENGUAL <[email protected]>, 2020-2024.
19 msgid ""
20 msgstr ""
21 "Project-Id-Version: manpages-l10n 4.24.0\n"
22 "POT-Creation-Date: 2026-06-05 06:20+0200\n"
23 "PO-Revision-Date: 2024-11-05 12:22+0100\n"
24 "Last-Translator: Jean-Philippe MENGUAL <[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 "clock_getres"
38 msgstr "clock_getres"
39
40 #. type: TH
41 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "2026-03-07"
44 msgstr "7 mars 2026"
45
46 #. type: TH
47 #: archlinux debian-unstable
48 #, no-wrap
49 msgid "Linux man-pages 6.18"
50 msgstr "Pages du manuel de Linux 6.18"
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "NAME"
57 msgstr "NOM"
58
59 #. type: Plain text
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "clock_getres, clock_gettime, clock_settime - clock and time functions"
63 msgstr ""
64 "clock_getres, clock_gettime, clock_settime - Fonctions d'horloge et de temps"
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>), since glibc 2.17"
77 msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>), depuis la glibc 2.17"
78
79 #. type: Plain text
80 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
81 #: opensuse-leap-16-1 opensuse-tumbleweed
82 msgid "Before glibc 2.17, Real-time library (I<librt>,\\ I<-lrt>)"
83 msgstr "Avant la glibc 2.17, bibliothèque de temps réel (I<librt>,\\ I<-lrt>)"
84
85 #. type: SH
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 #, no-wrap
89 msgid "SYNOPSIS"
90 msgstr "SYNOPSIS"
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid "B<#include E<lt>time.hE<gt>>\n"
97 msgstr "B<#include E<lt>time.hE<gt>>\n"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, no-wrap
103 msgid "B<int clock_getres(clockid_t >I<clockid>B<, struct timespec *_Nullable >I<res>B<);>\n"
104 msgstr "B<int clock_getres(clockid_t >I<clockid>B<, struct timespec *_Nullable >I<res>B<);>\n"
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 #, no-wrap
110 msgid ""
111 "B<int clock_gettime(clockid_t >I<clockid>B<, struct timespec *>I<tp>B<);>\n"
112 "B<int clock_settime(clockid_t >I<clockid>B<, const struct timespec *>I<tp>B<);>\n"
113 msgstr ""
114 "B<int clock_gettime(clockid_t >I<clockid>B<, struct timespec *>I<tp>B<);>\n"
115 "B<int clock_settime(clockid_t >I<clockid>B<, const struct timespec *>I<tp>B<);>\n"
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 msgid ""
121 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
122 msgstr ""
123 "Exigences de macros de test de fonctionnalités pour la glibc (consulter "
124 "B<feature_test_macros>(7)) :"
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 msgid "B<clock_getres>(), B<clock_gettime>(), B<clock_settime>():"
130 msgstr "B<clock_getres>(), B<clock_gettime>(), B<clock_settime>() :"
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 #, no-wrap
136 msgid " _POSIX_C_SOURCE E<gt>= 199309L\n"
137 msgstr " _POSIX_C_SOURCE E<gt>= 199309L\n"
138
139 #. type: SH
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 #, no-wrap
143 msgid "DESCRIPTION"
144 msgstr "DESCRIPTION"
145
146 #. type: Plain text
147 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
148 #: opensuse-tumbleweed
149 msgid ""
150 "The function B<clock_getres>() finds the resolution (precision) of the "
151 "specified clock I<clockid>, and, if I<res> is non-NULL, stores it in the "
152 "I<struct\\ timespec> pointed to by I<res>. The resolution of clocks depends "
153 "on the implementation and cannot be configured by a particular process. If "
154 "the time value pointed to by the argument I<tp> of B<clock_settime>() is "
155 "not a multiple of I<res>, then it is truncated to a multiple of I<res>."
156 msgstr ""
157 "La fonction B<clock_getres>() cherche la résolution (précision) de l'horloge "
158 "I<clockid> spécifiée et si I<res> est non NULL, elle l'enregistre dans la "
159 "structure I<timespec> pointée par I<res>. La résolution des horloges dépend "
160 "de l'implémentation et ne peut pas être configurée par un processus "
161 "particulier. Si la valeur du temps pointé par l'argument I<tp> de "
162 "B<clock_settime>() n'est pas un multiple de I<res>, cette valeur est "
163 "tronquée à un multiple de I<res>."
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "The functions B<clock_gettime>() and B<clock_settime>() retrieve and set "
170 "the time of the specified clock I<clockid>."
171 msgstr ""
172 "Les fonctions B<clock_gettime>() et B<clock_settime>() récupèrent et "
173 "configurent le temps de l'horloge I<clockid> spécifiée."
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid "The I<res> and I<tp> arguments are B<timespec>(3) structures."
179 msgstr "Les arguments I<res> et I<tp> sont des structures B<timespec>(3)."
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 "The I<clockid> argument is the identifier of the particular clock on which "
186 "to act. A clock may be system-wide and hence visible for all processes, or "
187 "per-process if it measures time only within a single process."
188 msgstr ""
189 "L'argument I<clockid> est l'identifiant d'une horloge particulière sur "
190 "laquelle agir. Une horloge peut être globale au système, et par conséquent "
191 "visible de tous les processus, ou propre à un processus, si elle mesure le "
192 "temps uniquement pour celui-ci."
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid ""
198 "All implementations support the system-wide real-time clock, which is "
199 "identified by B<CLOCK_REALTIME>. Its time represents seconds and "
200 "nanoseconds since the Epoch. When its time is changed, timers for a "
201 "relative interval are unaffected, but timers for an absolute point in time "
202 "are affected."
203 msgstr ""
204 "Toutes les implémentations prennent en charge l'horloge temps réel globale, "
205 "laquelle est identifiée par B<CLOCK_REALTIME>. Son temps représente le "
206 "nombre de secondes et nanosecondes écoulées depuis l'époque UNIX (1er\\ "
207 "janvier 1970 à\\ 00:00:00 UTC). Lorsque son temps est modifié, les horloges "
208 "mesurant un intervalle de temps ne sont pas affectées alors que celles "
209 "indiquant une date (heure) absolue le sont."
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 "More clocks may be implemented. The interpretation of the corresponding "
216 "time values and the effect on timers is unspecified."
217 msgstr ""
218 "Plusieurs horloges peuvent être implémentées. L'interprétation des valeurs "
219 "de temps correspondantes et l'effet sur les temporisateurs ne sont pas "
220 "spécifiés."
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 msgid ""
226 "Sufficiently recent versions of glibc and the Linux kernel support the "
227 "following clocks:"
228 msgstr ""
229 "Les versions suffisamment récentes de la glibc et du noyau Linux gèrent les "
230 "horloges suivantes\\ :"
231
232 #. type: TP
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "B<CLOCK_REALTIME>"
237 msgstr "B<CLOCK_REALTIME>"
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid ""
243 "A settable system-wide clock that measures real (i.e., wall-clock) time. "
244 "Setting this clock requires appropriate privileges. This clock is affected "
245 "by discontinuous jumps in the system time (e.g., if the system administrator "
246 "manually changes the clock), and by frequency adjustments performed by NTP "
247 "and similar applications via B<adjtime>(3), B<adjtimex>(2), "
248 "B<clock_adjtime>(2), and B<ntp_adjtime>(3). This clock normally counts the "
249 "number of seconds since 1970-01-01 00:00:00 Coordinated Universal Time "
250 "(UTC) except that it ignores leap seconds; near a leap second it is "
251 "typically adjusted by NTP to stay roughly in sync with UTC."
252 msgstr ""
253 "Horloge système réglable qui mesure le temps réel (c'est-à-dire comme une "
254 "pendule). Modifier cette horloge nécessite des privilèges adéquats. Cette "
255 "horloge est concernée par les sauts discontinus de l'heure système (par "
256 "exemple si l'administrateur modifie l'heure lui-même), et par les "
257 "ajustements de fréquence effectués par NTP et les applications similaires au "
258 "moyen d'B<adjtime>(3), B<adjtimex>(2), B<clock_adjtime>(2) et "
259 "B<ntp_adjtime>(3). Cette horloge compte normallement le nombre de secondes "
260 "depuis 1970-01-01 00:00:00 UTC (Coordinated Universal Time) sauf qu'elle "
261 "ignore les secondes intercalaires ; environ une seconde intercalaires est "
262 "habituellement ajustée par NTP pour rester grossièrement synchrone avec "
263 "l'UTC."
264
265 #. type: TP
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, no-wrap
269 msgid "B<CLOCK_REALTIME_ALARM> (since Linux 3.0; Linux-specific)"
270 msgstr "B<CLOCK_REALTIME_ALARM> (depuis Linux 3.0 ; spécifique à Linux)"
271
272 #. type: Plain text
273 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
274 msgid ""
275 "Like B<CLOCK_REALTIME>, but settable only indirectly by setting "
276 "B<CLOCK_REALTIME>, and behaves differently if the system is suspended. See "
277 "B<timer_create>(2)."
278 msgstr ""
279
280 #. type: TP
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 #, no-wrap
284 msgid "B<CLOCK_REALTIME_COARSE> (since Linux 2.6.32; Linux-specific)"
285 msgstr "B<CLOCK_REALTIME_COARSE> (depuis Linux 2.6.32 ; spécifique à Linux)"
286
287 #. Added in commit da15cfdae03351c689736f8d142618592e3cebc3
288 #. type: Plain text
289 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
290 #, fuzzy
291 #| msgid ""
292 #| "A faster but less precise version of B<CLOCK_REALTIME>. This clock is "
293 #| "not settable. Use when you need very fast, but not fine-grained "
294 #| "timestamps. Requires per-architecture support, and probably also "
295 #| "architecture support for this flag in the B<vdso>(7)."
296 msgid ""
297 "A faster but less precise version of B<CLOCK_REALTIME>. It is settable only "
298 "indirectly by setting B<CLOCK_REALTIME>. Use when you need very fast, but "
299 "not fine-grained timestamps. Requires per-architecture support, and "
300 "probably also architecture support for this flag in the B<vdso>(7)."
301 msgstr ""
302 "Horloge plus rapide mais moins précise que B<CLOCK_REALTIME>. Cette horloge "
303 "n'est pas réglable. À utiliser pour obtenir rapidement des données "
304 "d'horodatage avec une résolution grossière. Elle exige une prise en charge "
305 "spécifique à chaque architecture et probablement d'être prise en charge par "
306 "une architecture dans B<vdso>(7)."
307
308 #. type: TP
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 #, no-wrap
312 msgid "B<CLOCK_TAI> (since Linux 3.10; Linux-specific)"
313 msgstr "B<CLOCK_TAI> (depuis Linux 3.10 ; spécifique à Linux)"
314
315 #. commit 1ff3c9677bff7e468e0c487d0ffefe4e901d33f4
316 #. type: Plain text
317 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
318 msgid ""
319 "A system-wide clock derived from wall-clock time but counting leap seconds. "
320 "This clock does not experience clock adjustments caused by inserting leap "
321 "seconds as B<CLOCK_REALTIME> does. It counts seconds since 1970-01-01 00:00 "
322 "TAI (1969-12-31 23:59:50 UTC), so its epoch is ten seconds before "
323 "B<CLOCK_REALTIME>'s. However, its implementation requires help from NTP, "
324 "and if that help is not available it behaves like B<CLOCK_REALTIME> instead."
325 msgstr ""
326
327 #. type: Plain text
328 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
329 msgid ""
330 "Its relationship to B<CLOCK_REALTIME> for timestamps before 1972 is only "
331 "approximate, as the leap second regime was introduced on 1972-01-01. "
332 "Because leap seconds are planned to be discontinued, its value from now on "
333 "will likely remain exactly 37 seconds greater than B<CLOCK_REALTIME>'s for "
334 "many years, after which its offset from B<CLOCK_REALTIME>'s will likely be "
335 "adjusted by some other mechanism as yet unspecified. It is settable only "
336 "indirectly by setting B<CLOCK_REALTIME>."
337 msgstr ""
338
339 #. type: Plain text
340 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
341 #, fuzzy
342 #| msgid "The acronym TAI refers to International Atomic Time."
343 msgid ""
344 "The acronym TAI stands for the French \"temps atomique international\", or "
345 "International Atomic Time."
346 msgstr ""
347 "L'acronyme TAI renvoie à « International Atomic Time » (temps international "
348 "atomique)."
349
350 #. type: TP
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "B<CLOCK_MONOTONIC>"
355 msgstr "B<CLOCK_MONOTONIC>"
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 msgid ""
361 "A nonsettable system-wide clock that represents monotonic time since\\[em]as "
362 "described by POSIX\\[em]\"some unspecified point in the past\". On Linux, "
363 "that point corresponds to the number of seconds that the system has been "
364 "running since it was booted."
365 msgstr ""
366 "Horloge système non réglable qui représente le temps monotone depuis — selon "
367 "POSIX — « some unspecified point in the past » (un point indéfini du passé). "
368 "Sur Linux, ce point correspond au nombre de secondes passées depuis le "
369 "dernier démarrage du système."
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 ""
375 "The B<CLOCK_MONOTONIC> clock is not affected by discontinuous jumps in the "
376 "system time (e.g., if the system administrator manually changes the clock), "
377 "but is affected by frequency adjustments. This clock does not count time "
378 "that the system is suspended. All B<CLOCK_MONOTONIC> variants guarantee "
379 "that the time returned by consecutive calls will not go backwards, but "
380 "successive calls may\\[em]depending on the architecture\\[em]return "
381 "identical (not-increased) time values."
382 msgstr ""
383 "L'horloge B<CLOCK_MONOTONIC> n'est pas concernée par les sauts discontinus "
384 "de l'heure système (par exemple si l'administrateur modifie l'heure lui-"
385 "même), mais est affectée par des ajustements fréquence. Cette horloge ne "
386 "compte pas le temps durant lequel le système est en veille. Toutes les "
387 "variantes de B<CLOCK_MONOTONIC> garantissent que le temps renvoyé par des "
388 "appels consécutifs ne créeront pas de retour en arrière, tandis que les "
389 "appels successifs — selon l'architecture — renvoient des valeurs temporelles "
390 "identiques (sans augmentation)."
391
392 #. type: TP
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "B<CLOCK_MONOTONIC_COARSE> (since Linux 2.6.32; Linux-specific)"
397 msgstr "B<CLOCK_MONOTONIC_COARSE> (depuis Linux 2.6.32 ; spécifique à Linux)"
398
399 #. Added in commit da15cfdae03351c689736f8d142618592e3cebc3
400 #. type: Plain text
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 msgid ""
404 "A faster but less precise version of B<CLOCK_MONOTONIC>. Use when you need "
405 "very fast, but not fine-grained timestamps. Requires per-architecture "
406 "support, and probably also architecture support for this flag in the "
407 "B<vdso>(7)."
408 msgstr ""
409 "Horloge plus rapide mais moins précise que B<CLOCK_MONOTONIC>. À utiliser "
410 "pour obtenir rapidement des données d'horodatage avec une résolution "
411 "grossière. Elle exige une prise en charge spécifique à chaque architecture "
412 "et probablement d'être prise en charge par une architecture dans B<vdso>(7)."
413
414 #. type: TP
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 #, no-wrap
418 msgid "B<CLOCK_MONOTONIC_RAW> (since Linux 2.6.28; Linux-specific)"
419 msgstr "B<CLOCK_MONOTONIC_RAW> (depuis Linux 2.6.28 ; spécifique à Linux)"
420
421 #. Added in commit 2d42244ae71d6c7b0884b5664cf2eda30fb2ae68, John Stultz
422 #. type: Plain text
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
425 msgid ""
426 "Similar to B<CLOCK_MONOTONIC>, but provides access to a raw hardware-based "
427 "time that is not subject to frequency adjustments. This clock does not "
428 "count time that the system is suspended."
429 msgstr ""
430 "Similaire à B<CLOCK_MONOTONIC>, mais fournit un accès direct à un temps "
431 "matériel qui n'est pas sujet aux ajustements de fréquence. Cette horloge ne "
432 "compte pas le temps durant lequel le système est en veille."
433
434 #. type: TP
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 #, no-wrap
438 msgid "B<CLOCK_BOOTTIME> (since Linux 2.6.39; Linux-specific)"
439 msgstr "B<CLOCK_BOOTTIME> (depuis Linux 2.6.39 ; spécifique à Linux)"
440
441 #. commit 7fdd7f89006dd5a4c702fa0ce0c272345fa44ae0
442 #. commit 70a08cca1227dc31c784ec930099a4417a06e7d0
443 #. type: Plain text
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 msgid ""
447 "A nonsettable system-wide clock that is identical to B<CLOCK_MONOTONIC>, "
448 "except that it also includes any time that the system is suspended. This "
449 "allows applications to get a suspend-aware monotonic clock without having to "
450 "deal with the complications of B<CLOCK_REALTIME>, which may have "
451 "discontinuities if the time is changed using B<settimeofday>(2) or similar."
452 msgstr ""
453 "Horloge système non réglable identique à B<CLOCK_MONOTONIC>, mais qui prend "
454 "également en compte le temps écoulé pendant la veille du système. Cela offre "
455 "aux applications une horloge monotone tenant compte des veilles, sans avoir "
456 "à s'occuper des problèmes de discontinuités de B<CLOCK_REALTIME> si "
457 "l'horloge est mise à jour avec B<settimeofday>(2) ou équivalent."
458
459 #. type: TP
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 #, no-wrap
463 msgid "B<CLOCK_BOOTTIME_ALARM> (since Linux 3.0; Linux-specific)"
464 msgstr "B<CLOCK_BOOTTIME_ALARM> (depuis Linux 3.0 ; spécifique à Linux)"
465
466 #. type: Plain text
467 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
468 msgid ""
469 "Like B<CLOCK_BOOTTIME>, but behaves differently if the system is suspended. "
470 "See B<timer_create>(2)."
471 msgstr ""
472
473 #. type: TP
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 #, no-wrap
477 msgid "B<CLOCK_PROCESS_CPUTIME_ID> (since Linux 2.6.12)"
478 msgstr "B<CLOCK_PROCESS_CPUTIME_ID> (depuis Linux 2.6.12)"
479
480 #. type: Plain text
481 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
482 #, fuzzy
483 #| msgid ""
484 #| "This is a clock that measures CPU time consumed by this process (i.e., "
485 #| "CPU time consumed by all threads in the process). On Linux, this clock "
486 #| "is not settable."
487 msgid ""
488 "This clock measures CPU time consumed by this process (i.e., CPU time "
489 "consumed by all threads in the process). On Linux, this clock is not "
490 "settable."
491 msgstr ""
492 "Il s'agit d'une horloge qui mesure le temps de processeur consommé par ce "
493 "processus (à savoir le temps de processeur consommé par tous les threads du "
494 "processus). Sur Linux, cette horloge n'est pas réglable."
495
496 #. type: TP
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 #, no-wrap
500 msgid "B<CLOCK_THREAD_CPUTIME_ID> (since Linux 2.6.12)"
501 msgstr "B<CLOCK_THREAD_CPUTIME_ID> (depuis Linux 2.6.12)"
502
503 #. type: Plain text
504 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
505 #, fuzzy
506 #| msgid ""
507 #| "This is a clock that measures CPU time consumed by this thread. On "
508 #| "Linux, this clock is not settable."
509 msgid ""
510 "This clock measures CPU time consumed by this thread. On Linux, this clock "
511 "is not settable."
512 msgstr ""
513 "Il s'agit d'une horloge qui mesure le temps de processeur consommé par ce "
514 "thread. Sur Linux, cette horloge n'est pas réglable."
515
516 #. type: Plain text
517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
519 msgid "Linux also implements dynamic clock instances as described below."
520 msgstr ""
521 "Linux implémente aussi des instances d'horloge dynamique comme décrit ci-"
522 "dessous."
523
524 #. type: SS
525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
527 #, no-wrap
528 msgid "Dynamic clocks"
529 msgstr "Horloges dynamiques"
530
531 #. type: Plain text
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 msgid ""
535 "In addition to the hard-coded System-V style clock IDs described above, "
536 "Linux also supports POSIX clock operations on certain character devices. "
537 "Such devices are called \"dynamic\" clocks, and are supported since Linux "
538 "2.6.39."
539 msgstr ""
540 "Outre les ID d'horloge à la manière System-V codés en dur décrits ci-dessus, "
541 "Linux prend également en charge des opérations d'horloge POSIX sur certains "
542 "fichiers de périphériques. De tels périphériques s'appellent des « horloges "
543 "dynamiques » et ils sont gérés depuis Linux 2.6.39."
544
545 #. type: Plain text
546 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
547 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
548 msgid ""
549 "Using the appropriate macros, open file descriptors may be converted into "
550 "clock IDs and passed to B<clock_gettime>(), B<clock_settime>(), and "
551 "B<clock_adjtime>(2). The following example shows how to convert a file "
552 "descriptor into a dynamic clock ID."
553 msgstr ""
554 "Avec les macros adéquates, les descripteurs de fichier ouvert peuvent être "
555 "convertis en ID d'horloge et passés à B<clock_gettime>(), B<clock_settime>() "
556 "et B<clock_adjtime>(2). L'exemple suivant montre la manière de convertir un "
557 "descripteur de fichier en ID d'horloge dynamique."
558
559 #. type: Plain text
560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
562 #, no-wrap
563 msgid ""
564 "#define CLOCKFD 3\n"
565 "#define FD_TO_CLOCKID(fd) ((\\[ti](clockid_t) (fd) E<lt>E<lt> 3) | CLOCKFD)\n"
566 "#define CLOCKID_TO_FD(clk) ((unsigned int) \\[ti]((clk) E<gt>E<gt> 3))\n"
567 "\\&\n"
568 "struct timespec ts;\n"
569 "clockid_t clkid;\n"
570 "int fd;\n"
571 "\\&\n"
572 "fd = open(\"/dev/ptp0\", O_RDWR);\n"
573 "clkid = FD_TO_CLOCKID(fd);\n"
574 "clock_gettime(clkid, &ts);\n"
575 msgstr ""
576 "#define CLOCKFD 3\n"
577 "#define FD_TO_CLOCKID(fd) ((\\[ti](clockid_t) (fd) E<lt>E<lt> 3) | CLOCKFD)\n"
578 "#define CLOCKID_TO_FD(clk) ((unsigned int) \\[ti]((clk) E<gt>E<gt> 3))\n"
579 "\\&\n"
580 "struct timespec ts;\n"
581 "clockid_t clkid;\n"
582 "int fd;\n"
583 "\\&\n"
584 "fd = open(\"/dev/ptp0\", O_RDWR);\n"
585 "clkid = FD_TO_CLOCKID(fd);\n"
586 "clock_gettime(clkid, &ts);\n"
587
588 #. type: SH
589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
591 #, no-wrap
592 msgid "RETURN VALUE"
593 msgstr "VALEUR RENVOYÉE"
594
595 #. type: Plain text
596 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
597 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
598 msgid ""
599 "B<clock_gettime>(), B<clock_settime>(), and B<clock_getres>() return 0 for "
600 "success. On error, -1 is returned and I<errno> is set to indicate the error."
601 msgstr ""
602 "B<clock_gettime>(), B<clock_settime>() et B<clock_getres>() renvoient B<0> "
603 "si elles réussissent. Si elles échouent, B<-1> est renvoyé et I<errno> est "
604 "positionné pour indiquer l'erreur."
605
606 #. type: SH
607 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
608 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
609 #, no-wrap
610 msgid "ERRORS"
611 msgstr "ERREURS"
612
613 #. type: TP
614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
616 #, no-wrap
617 msgid "B<EACCES>"
618 msgstr "B<EACCES>"
619
620 #. type: Plain text
621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
623 msgid ""
624 "B<clock_settime>() does not have write permission for the dynamic POSIX "
625 "clock device indicated."
626 msgstr ""
627 "B<clock_settime>() n'a pas les droits d'écriture sur l'horloge POSIX "
628 "dynamique spécifiée."
629
630 #. type: TP
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 #, no-wrap
634 msgid "B<EFAULT>"
635 msgstr "B<EFAULT>"
636
637 #. type: Plain text
638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
640 msgid "I<tp> points outside the accessible address space."
641 msgstr "I<tp> pointe en dehors de l'espace d'adressage accessible."
642
643 #. type: TP
644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
646 #, no-wrap
647 msgid "B<EINVAL>"
648 msgstr "B<EINVAL>"
649
650 #. Linux also gives this error on attempts to set CLOCK_PROCESS_CPUTIME_ID
651 #. and CLOCK_THREAD_CPUTIME_ID, when probably the proper error should be
652 #. EPERM.
653 #. type: Plain text
654 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
655 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
656 msgid ""
657 "The I<clockid> specified is invalid for one of two reasons. Either the "
658 "System-V style hard coded positive value is out of range, or the dynamic "
659 "clock ID does not refer to a valid instance of a clock object."
660 msgstr ""
661 "Le I<clockid> indiqué n'est pas valable pour une ou plusieurs raisons. Soit "
662 "la valeur positive codée en dur à la manière de System-V est en dehors de "
663 "l'intervalle, soit l'ID de l'horloge dynamique ne renvoie pas à une instance "
664 "valable d'horloge."
665
666 #. type: Plain text
667 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
668 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
669 msgid ""
670 "(B<clock_settime>()): I<tp.tv_sec> is negative or I<tp.tv_nsec> is outside "
671 "the range [0, 999,999,999]."
672 msgstr ""
673 "(B<clock_settime>()) : I<tp.tv_sec> est négatif ou I<tp.tv_nsec> dépasse la "
674 "plage [0..999 999 999]."
675
676 #. type: Plain text
677 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
678 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
679 msgid ""
680 "The I<clockid> specified in a call to B<clock_settime>() is not a settable "
681 "clock."
682 msgstr ""
683 "La I<clockid> indiquée dans un appel à B<clock_settime>() n'est pas une "
684 "horloge réglable."
685
686 #. type: TP
687 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
688 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
689 #, no-wrap
690 msgid "B<EINVAL> (since Linux 4.3)"
691 msgstr "B<EINVAL> (depuis Linux 4.3)"
692
693 #. commit e1d7ba8735551ed79c7a0463a042353574b96da3
694 #. type: Plain text
695 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
696 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
697 msgid ""
698 "A call to B<clock_settime>() with a I<clockid> of B<CLOCK_REALTIME> "
699 "attempted to set the time to a value less than the current value of the "
700 "B<CLOCK_MONOTONIC> clock."
701 msgstr ""
702 "Un appel à B<clock_settime>() avec un I<clockid> de B<CLOCK_REALTIME> a "
703 "essayé de positionner l'heure sur une valeur inférieure à celle actuelle de "
704 "l'horloge B<CLOCK_MONOTONIC>."
705
706 #. type: TP
707 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
708 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
709 #, no-wrap
710 msgid "B<ENODEV>"
711 msgstr "B<ENODEV>"
712
713 #. type: Plain text
714 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
715 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
716 msgid ""
717 "The hot-pluggable device (like USB for example) represented by a dynamic "
718 "I<clk_id> has disappeared after its character device was opened."
719 msgstr ""
720 "Le périphérique connectable à chaud (comme USB par exemple) représenté par "
721 "un I<clk_id> dynamique a disparu après que son fichier de périphérique a été "
722 "ouvert."
723
724 #. type: TP
725 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
726 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
727 #, no-wrap
728 msgid "B<ENOTSUP>"
729 msgstr "B<ENOTSUP>"
730
731 #. type: Plain text
732 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
733 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
734 msgid ""
735 "The operation is not supported by the dynamic POSIX clock device specified."
736 msgstr ""
737 "L'opération n'est pas prise en charge par l'horloge POSIX dynamique indiquée."
738
739 #. type: TP
740 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
741 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
742 #, no-wrap
743 msgid "B<EOVERFLOW>"
744 msgstr "B<EOVERFLOW>"
745
746 #. type: Plain text
747 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
748 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
749 msgid ""
750 "The timestamp would not fit in I<time_t> range. This can happen if an "
751 "executable with 32-bit I<time_t> is run on a 64-bit kernel when the time is "
752 "2038-01-19 03:14:08 UTC or later. However, when the system time is out of "
753 "I<time_t> range in other situations, the behavior is undefined."
754 msgstr ""
755 "L'horodatage ne pouvait pas tenir dans la plage de I<time_t>. Cela se "
756 "produit si un exécutable avec I<time_t> en 32 bits est exécuté sur un noyau "
757 "64 bits quand le jour et l'heure sont 03:14:08 UTC le 19 janvier 2038 ou "
758 "après. Néanmoins, quand l'horloge système est en dehors de la plage de "
759 "I<time_t> dans d'autres situation, le comportement n'est pas défini."
760
761 #. type: TP
762 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
763 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
764 #, no-wrap
765 msgid "B<EPERM>"
766 msgstr "B<EPERM>"
767
768 #. type: Plain text
769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
771 msgid ""
772 "B<clock_settime>() does not have permission to set the clock indicated."
773 msgstr ""
774 "B<clock_settime>() n'a pas l'autorisation de configurer l'horloge spécifiée."
775
776 #. type: SH
777 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
778 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
779 #, no-wrap
780 msgid "ATTRIBUTES"
781 msgstr "ATTRIBUTS"
782
783 #. type: Plain text
784 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
785 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
786 msgid ""
787 "For an explanation of the terms used in this section, see B<attributes>(7)."
788 msgstr ""
789 "Pour une explication des termes utilisés dans cette section, consulter "
790 "B<attributes>(7)."
791
792 #. type: tbl table
793 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
794 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
795 #, no-wrap
796 msgid "Interface"
797 msgstr "Interface"
798
799 #. type: tbl table
800 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
801 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
802 #, no-wrap
803 msgid "Attribute"
804 msgstr "Attribut"
805
806 #. type: tbl table
807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
808 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
809 #, no-wrap
810 msgid "Value"
811 msgstr "Valeur"
812
813 #. type: tbl table
814 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
815 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
816 #, no-wrap
817 msgid ".na\n"
818 msgstr ".na\n"
819
820 #. type: tbl table
821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
823 #, no-wrap
824 msgid ".nh\n"
825 msgstr ".nh\n"
826
827 #. type: tbl table
828 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
829 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
830 #, no-wrap
831 msgid ""
832 "B<clock_getres>(),\n"
833 "B<clock_gettime>(),\n"
834 "B<clock_settime>()"
835 msgstr ""
836 "B<clock_getres>(),\n"
837 "B<clock_gettime>(),\n"
838 "B<clock_settime>()"
839
840 #. type: tbl table
841 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
842 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
843 #, no-wrap
844 msgid "Thread safety"
845 msgstr "Sécurité des threads"
846
847 #. type: tbl table
848 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
849 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
850 #, no-wrap
851 msgid "MT-Safe"
852 msgstr "MT-Safe"
853
854 #. type: SH
855 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
856 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
857 #, no-wrap
858 msgid "VERSIONS"
859 msgstr "VERSIONS"
860
861 #. type: Plain text
862 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
863 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
864 msgid "POSIX.1 specifies the following:"
865 msgstr "POSIX.1 spécifie ce qui suit :"
866
867 #. type: Plain text
868 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
869 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
870 msgid ""
871 "Setting the value of the B<CLOCK_REALTIME> clock via B<clock_settime>() "
872 "shall have no effect on threads that are blocked waiting for a relative time "
873 "service based upon this clock, including the B<nanosleep>() function; nor "
874 "on the expiration of relative timers based upon this clock. Consequently, "
875 "these time services shall expire when the requested relative interval "
876 "elapses, independently of the new or old value of the clock."
877 msgstr ""
878 "Configurer la valeur de l'horloge B<CLOCK_REALTIME> avec B<clock_settime>(2) "
879 "ne doit avoir d'effet ni sur les threads bloqués attendant un service de "
880 "temps relatif basé sur cette horloge, y compris la fonction B<nanosleep>()"
881 "\\ ; ni sur l'expiration des compteurs relatifs basés sur cette horloge. En "
882 "conséquence, ces services de temps doivent expirer lorsque la durée relative "
883 "demandée est atteinte, indépendamment de l'ancienne ou la nouvelle valeur de "
884 "l'horloge."
885
886 #. See http://bugzilla.kernel.org/show_bug.cgi?id=11972
887 #. type: Plain text
888 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
889 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
890 msgid ""
891 "According to POSIX.1-2001, a process with \"appropriate privileges\" may set "
892 "the B<CLOCK_PROCESS_CPUTIME_ID> and B<CLOCK_THREAD_CPUTIME_ID> clocks using "
893 "B<clock_settime>(). On Linux, these clocks are not settable (i.e., no "
894 "process has \"appropriate privileges\")."
895 msgstr ""
896 "Selon POSIX.1-2001, un processus avec des «\\ privilèges adéquats\\ » peut "
897 "changer les horloges B<CLOCK_PROCESS_CPUTIME_ID> et "
898 "B<CLOCK_THREAD_CPUTIME_ID> avec B<clock_settime>(). Sous Linux, ces horloges "
899 "ne peuvent pas être modifiées (c'est-à-dire qu'aucun processus n'a de «\\ "
900 "privilèges adéquats\\ »)."
901
902 #. type: SS
903 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
904 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
905 #, no-wrap
906 msgid "C library/kernel differences"
907 msgstr "Différences entre bibliothèque C et noyau"
908
909 #. type: Plain text
910 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
911 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
912 msgid ""
913 "On some architectures, an implementation of B<clock_gettime>() is provided "
914 "in the B<vdso>(7)."
915 msgstr ""
916 "Sur certaines architectures; une implémentation de B<clock_gettime>() est "
917 "fournie dans le B<vdso>(7)."
918
919 #. type: SH
920 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
921 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
922 #, no-wrap
923 msgid "STANDARDS"
924 msgstr "NORMES"
925
926 #. type: Plain text
927 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
928 #: opensuse-tumbleweed
929 msgid "POSIX.1-2024."
930 msgstr "POSIX.1-2024."
931
932 #. type: SH
933 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
934 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
935 #, no-wrap
936 msgid "HISTORY"
937 msgstr "HISTORIQUE"
938
939 #. type: Plain text
940 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
941 #: opensuse-tumbleweed
942 msgid "POSIX.1-1996, Linux 2.6."
943 msgstr "POSIX.1-1996, Linux 2.6."
944
945 #. type: Plain text
946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
948 msgid ""
949 "On POSIX systems on which these functions are available, the symbol "
950 "B<_POSIX_TIMERS> is defined in I<E<lt>unistd.hE<gt>> to a value greater than "
951 "0. POSIX.1-2008 makes these functions mandatory."
952 msgstr ""
953 "Sur les systèmes conformes à la spécification POSIX sur lesquels ces "
954 "fonctions sont disponibles, la constante symbolique B<_POSIX_TIMERS> est "
955 "définie dans I<E<lt>unistd.hE<gt>> comme étant une valeur supérieure à B<0>. "
956 "POSIX.1-2008 rend ces fonctions obligatoires."
957
958 #. type: Plain text
959 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
960 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
961 msgid ""
962 "The symbols B<_POSIX_MONOTONIC_CLOCK>, B<_POSIX_CPUTIME>, "
963 "B<_POSIX_THREAD_CPUTIME> indicate that B<CLOCK_MONOTONIC>, "
964 "B<CLOCK_PROCESS_CPUTIME_ID>, B<CLOCK_THREAD_CPUTIME_ID> are available. (See "
965 "also B<sysconf>(3).)"
966 msgstr ""
967 "Les constantes symboliques B<_POSIX_MONOTONIC_CLOCK>, B<_POSIX_CPUTIME>, "
968 "B<_POSIX_THREAD_CPUTIME> indiquent que B<CLOCK_MONOTONIC>, "
969 "B<CLOCK_PROCESS_CPUTIME_ID>, B<CLOCK_THREAD_CPUTIME_ID> sont disponibles. "
970 "(Consultez aussi B<sysconf>(3).)"
971
972 #. type: Plain text
973 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
974 #: opensuse-tumbleweed
975 msgid "POSIX.1-2024 made B<CLOCK_MONOTONIC> mandatory."
976 msgstr "POSIX.1-2024 a rendu B<CLOCK_MONOTONIC> obligatoire."
977
978 #. type: SS
979 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
980 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
981 #, no-wrap
982 msgid "Historical note for SMP systems"
983 msgstr "Note historique pour les systèmes multiprocesseurs (SMP)"
984
985 #. type: Plain text
986 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
987 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
988 msgid ""
989 "Before Linux added kernel support for B<CLOCK_PROCESS_CPUTIME_ID> and "
990 "B<CLOCK_THREAD_CPUTIME_ID>, glibc implemented these clocks on many platforms "
991 "using timer registers from the CPUs (TSC on i386, AR.ITC on Itanium). These "
992 "registers may differ between CPUs and as a consequence these clocks may "
993 "return B<bogus results> if a process is migrated to another CPU."
994 msgstr ""
995 "Avant la prise en charge par le noyau Linux de B<CLOCK_PROCESS_CPUTIME_ID> "
996 "et B<CLOCK_THREAD_CPUTIME_ID>, la glibc a mis en œuvre ces horloges sur bien "
997 "des plate-formes en utilisant les registres temporisateurs des CPU (TSC sur "
998 "i386, AR.ITC sur Itanium). Les registres peuvent être différents entre les "
999 "CPU avec pour conséquence des B<résultats bidons> pour ces horloges si un "
1000 "processus a été transféré sur un autre CPU."
1001
1002 #. type: Plain text
1003 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1004 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1005 msgid ""
1006 "If the CPUs in an SMP system have different clock sources, then there is no "
1007 "way to maintain a correlation between the timer registers since each CPU "
1008 "will run at a slightly different frequency. If that is the case, then "
1009 "I<clock_getcpuclockid(0)> will return B<ENOENT> to signify this condition. "
1010 "The two clocks will then be useful only if it can be ensured that a process "
1011 "stays on a certain CPU."
1012 msgstr ""
1013 "Si les CPU d'un système multiprocesseur ont différentes sources d'horloges, "
1014 "il n'y a aucun moyen de maintenir une corrélation entre les registres "
1015 "temporisateurs puisque chaque CPU tournera à une fréquence légèrement "
1016 "différente. Si c'est le cas, I<clock_getcpuclockid(0)> renverra B<ENOENT> "
1017 "pour signifier cette condition. Les deux horloges seront donc utiles si on "
1018 "peut être certain que le processus reste sur un CPU en particulier."
1019
1020 #. type: Plain text
1021 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1022 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1023 msgid ""
1024 "The processors in an SMP system do not start all at exactly the same time "
1025 "and therefore the timer registers are typically running at an offset. Some "
1026 "architectures include code that attempts to limit these offsets on bootup. "
1027 "However, the code cannot guarantee to accurately tune the offsets. glibc "
1028 "contains no provisions to deal with these offsets (unlike the Linux "
1029 "Kernel). Typically these offsets are small and therefore the effects may be "
1030 "negligible in most cases."
1031 msgstr ""
1032 "Les processeurs d'un système multiprocesseur ne démarrent pas exactement au "
1033 "même moment, ainsi les registres temporisateurs sont lancés avec un "
1034 "décalage. Certaines architectures incluent un code pour tenter de limiter ce "
1035 "décalage au démarrage. Toutefois, ce code ne garantit pas l'accord précis "
1036 "des décalages. La glibc ne contient rien pour gérer ces décalages (à la "
1037 "différence du noyau Linux). Typiquement, ces décalages sont petits et ainsi, "
1038 "leurs effets peuvent être négligeables dans la plupart des cas."
1039
1040 #. type: Plain text
1041 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1042 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1043 msgid ""
1044 "Since glibc 2.4, the wrapper functions for the system calls described in "
1045 "this page avoid the abovementioned problems by employing the kernel "
1046 "implementation of B<CLOCK_PROCESS_CPUTIME_ID> and "
1047 "B<CLOCK_THREAD_CPUTIME_ID>, on systems that provide such an implementation "
1048 "(i.e., Linux 2.6.12 and later)."
1049 msgstr ""
1050 "Depuis la glibc 2.4, les fonctions qui encapsulent les appels système "
1051 "décrits dans cette page permettent d'éviter les problèmes mentionnés ci-"
1052 "dessus en utilisant les horloges B<CLOCK_PROCESS_CPUTIME_ID> et "
1053 "B<CLOCK_THREAD_CPUTIME_ID> du noyau, lorsque celles-ci sont disponibles "
1054 "(c'est-à-dire les versions de Linux 2.6.12 et ultérieures)."
1055
1056 #. type: SH
1057 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1058 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1059 #, no-wrap
1060 msgid "EXAMPLES"
1061 msgstr "EXEMPLES"
1062
1063 #. type: Plain text
1064 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1065 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1066 msgid ""
1067 "The program below demonstrates the use of B<clock_gettime>() and "
1068 "B<clock_getres>() with various clocks. This is an example of what we might "
1069 "see when running the program:"
1070 msgstr ""
1071 "Le programme ci-dessous montre l'utilisation de B<clock_gettime>() et de "
1072 "B<clock_getres>() avec différentes horloges. Il s'agit d'un exemple de ce "
1073 "qu'on pourrait voir en lançant le programme :"
1074
1075 #. type: Plain text
1076 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1077 #: opensuse-tumbleweed
1078 #, no-wrap
1079 msgid ""
1080 "$B< ./clock_times x>;\n"
1081 "CLOCK_REALTIME : 1585985459.446 (18356 days + 7h 30m 59s)\n"
1082 " resolution: 0.000000001\n"
1083 "CLOCK_TAI : 1585985496.447 (18356 days + 7h 31m 36s)\n"
1084 " resolution: 0.000000001\n"
1085 "CLOCK_MONOTONIC: 52395.722 (14h 33m 15s)\n"
1086 " resolution: 0.000000001\n"
1087 "CLOCK_BOOTTIME : 72691.019 (20h 11m 31s)\n"
1088 " resolution: 0.000000001\n"
1089 msgstr ""
1090 "$ B<./clock_times x>;\n"
1091 "CLOCK_REALTIME : 1585985459.446 (18356 days + 7h 30m 59s)\n"
1092 " résolution : 0.000000001\n"
1093 "CLOCK_TAI : 1585985496.447 (18356 days + 7h 31m 36s)\n"
1094 " résolution : 0.000000001\n"
1095 "CLOCK_MONOTONIC : 52395.722 (14h 33m 15s)\n"
1096 " résolution : 0.000000001\n"
1097 "CLOCK_BOOTTIME : 72691.019 (20h 11m 31s)\n"
1098 " résolution : 0.000000001\n"
1099
1100 #. type: SS
1101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1103 #, no-wrap
1104 msgid "Program source"
1105 msgstr "Source du programme"
1106
1107 #. type: Plain text
1108 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1109 #: opensuse-tumbleweed
1110 #, no-wrap
1111 msgid ""
1112 "/* clock_times.c\n"
1113 "\\&\n"
1114 " Licensed under GNU General Public License v2 or later.\n"
1115 "*/\n"
1116 "#define _XOPEN_SOURCE 600\n"
1117 "#include E<lt>stdbool.hE<gt>\n"
1118 "#include E<lt>stdint.hE<gt>\n"
1119 "#include E<lt>stdio.hE<gt>\n"
1120 "#include E<lt>stdlib.hE<gt>\n"
1121 "#include E<lt>sys/types.hE<gt>\n"
1122 "#include E<lt>time.hE<gt>\n"
1123 "\\&\n"
1124 "#define SECS_IN_DAY (24 * 60 * 60)\n"
1125 "\\&\n"
1126 "static void\n"
1127 "displayClock(clockid_t clock, const char *name, bool showRes)\n"
1128 "{\n"
1129 " long days;\n"
1130 " struct timespec ts;\n"
1131 "\\&\n"
1132 " if (clock_gettime(clock, &ts) == -1) {\n"
1133 " perror(\"clock_gettime\");\n"
1134 " exit(EXIT_FAILURE);\n"
1135 " }\n"
1136 "\\&\n"
1137 " printf(\"%-15s: %10jd.%03ld (\", name,\n"
1138 " (intmax_t) ts.tv_sec, ts.tv_nsec / 1000000);\n"
1139 "\\&\n"
1140 " days = ts.tv_sec / SECS_IN_DAY;\n"
1141 " if (days E<gt> 0)\n"
1142 " printf(\"%ld days + \", days);\n"
1143 "\\&\n"
1144 " printf(\"%2dh %2dm %2ds\",\n"
1145 " (int) (ts.tv_sec % SECS_IN_DAY) / 3600,\n"
1146 " (int) (ts.tv_sec % 3600) / 60,\n"
1147 " (int) ts.tv_sec % 60);\n"
1148 " printf(\")\\[rs]n\");\n"
1149 "\\&\n"
1150 " if (clock_getres(clock, &ts) == -1) {\n"
1151 " perror(\"clock_getres\");\n"
1152 " exit(EXIT_FAILURE);\n"
1153 " }\n"
1154 "\\&\n"
1155 " if (showRes)\n"
1156 " printf(\" resolution: %10jd.%09ld\\[rs]n\",\n"
1157 " (intmax_t) ts.tv_sec, ts.tv_nsec);\n"
1158 "}\n"
1159 "\\&\n"
1160 "int\n"
1161 "main(int argc, char *[])\n"
1162 "{\n"
1163 " bool showRes = argc E<gt> 1;\n"
1164 "\\&\n"
1165 " displayClock(CLOCK_REALTIME, \"CLOCK_REALTIME\", showRes);\n"
1166 "#ifdef CLOCK_TAI\n"
1167 " displayClock(CLOCK_TAI, \"CLOCK_TAI\", showRes);\n"
1168 "#endif\n"
1169 " displayClock(CLOCK_MONOTONIC, \"CLOCK_MONOTONIC\", showRes);\n"
1170 "#ifdef CLOCK_BOOTTIME\n"
1171 " displayClock(CLOCK_BOOTTIME, \"CLOCK_BOOTTIME\", showRes);\n"
1172 "#endif\n"
1173 " exit(EXIT_SUCCESS);\n"
1174 "}\n"
1175 msgstr ""
1176 "/* clock_times.c\n"
1177 "\\&\n"
1178 " Sous licence GNU General Public v2 ou postérieure.\n"
1179 "*/\n"
1180 "#define _XOPEN_SOURCE 600\n"
1181 "#include E<lt>stdbool.hE<gt>\n"
1182 "#include E<lt>stdint.hE<gt>\n"
1183 "#include E<lt>stdio.hE<gt>\n"
1184 "#include E<lt>stdlib.hE<gt>\n"
1185 "#include E<lt>sys/types.hE<gt>\n"
1186 "#include E<lt>time.hE<gt>\n"
1187 "\\&\n"
1188 "#define SECS_IN_DAY (24 * 60 * 60)\n"
1189 "\\&\n"
1190 "static void\n"
1191 "displayClock(clockid_t clock, const char *name, bool showRes)\n"
1192 "{\n"
1193 " long days;\n"
1194 " struct timespec ts;\n"
1195 "\\&\n"
1196 " if (clock_gettime(clock, &ts) == -1) {\n"
1197 " perror(\"clock_gettime\");\n"
1198 " exit(EXIT_FAILURE);\n"
1199 " }\n"
1200 "\\&\n"
1201 " printf(\"%-15s: %10jd.%03ld (\", name,\n"
1202 " (intmax_t) ts.tv_sec, ts.tv_nsec / 1000000);\n"
1203 "\\&\n"
1204 " days = ts.tv_sec / SECS_IN_DAY;\n"
1205 " if (days E<gt> 0)\n"
1206 " printf(\"%ld days + \", days);\n"
1207 "\\&\n"
1208 " printf(\"%2dh %2dm %2ds\",\n"
1209 " (int) (ts.tv_sec % SECS_IN_DAY) / 3600,\n"
1210 " (int) (ts.tv_sec % 3600) / 60,\n"
1211 " (int) ts.tv_sec % 60);\n"
1212 " printf(\")\\[rs]n\");\n"
1213 "\\&\n"
1214 " if (clock_getres(clock, &ts) == -1) {\n"
1215 " perror(\"clock_getres\");\n"
1216 " exit(EXIT_FAILURE);\n"
1217 " }\n"
1218 "\\&\n"
1219 " if (showRes)\n"
1220 " printf(\" résolution : %10jd.%09ld\\[rs]n\",\n"
1221 " (intmax_t) ts.tv_sec, ts.tv_nsec);\n"
1222 "}\n"
1223 "\\&\n"
1224 "int\n"
1225 "main(int argc, char *[])\n"
1226 "{\n"
1227 " bool showRes = argc E<gt> 1;\n"
1228 "\\&\n"
1229 " displayClock(CLOCK_REALTIME, \"CLOCK_REALTIME\", showRes);\n"
1230 "#ifdef CLOCK_TAI\n"
1231 " displayClock(CLOCK_TAI, \"CLOCK_TAI\", showRes);\n"
1232 "#endif\n"
1233 " displayClock(CLOCK_MONOTONIC, \"CLOCK_MONOTONIC\", showRes);\n"
1234 "#ifdef CLOCK_BOOTTIME\n"
1235 " displayClock(CLOCK_BOOTTIME, \"CLOCK_BOOTTIME\", showRes);\n"
1236 "#endif\n"
1237 " exit(EXIT_SUCCESS);\n"
1238 "}\n"
1239
1240 #. SRC END
1241 #. type: SH
1242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1244 #, no-wrap
1245 msgid "SEE ALSO"
1246 msgstr "VOIR AUSSI"
1247
1248 #. type: Plain text
1249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1251 msgid ""
1252 "B<date>(1), B<gettimeofday>(2), B<settimeofday>(2), B<time>(2), "
1253 "B<adjtime>(3), B<clock_getcpuclockid>(3), B<ctime>(3), B<ftime>(3), "
1254 "B<pthread_getcpuclockid>(3), B<sysconf>(3), B<timespec>(3), B<time>(7), "
1255 "B<time_namespaces>(7), B<vdso>(7), B<hwclock>(8)"
1256 msgstr ""
1257 "B<date>(1), B<gettimeofday>(2), B<settimeofday>(2), B<time>(2), "
1258 "B<adjtime>(3), B<clock_getcpuclockid>(3), B<ctime>(3), B<ftime>(3), "
1259 "B<pthread_getcpuclockid>(3), B<sysconf>(3), B<timespec>(3), B<time>(7), "
1260 "B<time_namespaces>(7), B<vdso>(7), B<hwclock>(8)"
1261
1262 #. type: TH
1263 #: debian-trixie
1264 #, no-wrap
1265 msgid "2024-06-15"
1266 msgstr "15 juin 2024"
1267
1268 #. type: TH
1269 #: debian-trixie
1270 #, no-wrap
1271 msgid "Linux man-pages 6.9.1"
1272 msgstr "Pages du manuel de Linux 6.9.1"
1273
1274 #. type: Plain text
1275 #: debian-trixie
1276 msgid "Standard C library (I<libc>, I<-lc>), since glibc 2.17"
1277 msgstr "Bibliothèque C standard (I<libc>, I<-lc>), depuis la glibc 2.17"
1278
1279 #. type: Plain text
1280 #: debian-trixie
1281 msgid "Before glibc 2.17, Real-time library (I<librt>, I<-lrt>)"
1282 msgstr "Avant la glibc 2.17, bibliothèque de temps réel (I<librt>, I<-lrt>)"
1283
1284 #. type: Plain text
1285 #: debian-trixie fedora-44 fedora-rawhide
1286 msgid ""
1287 "The function B<clock_getres>() finds the resolution (precision) of the "
1288 "specified clock I<clockid>, and, if I<res> is non-NULL, stores it in the "
1289 "I<struct timespec> pointed to by I<res>. The resolution of clocks depends "
1290 "on the implementation and cannot be configured by a particular process. If "
1291 "the time value pointed to by the argument I<tp> of B<clock_settime>() is "
1292 "not a multiple of I<res>, then it is truncated to a multiple of I<res>."
1293 msgstr ""
1294 "La fonction B<clock_getres>() cherche la résolution (précision) de l'horloge "
1295 "I<clockid> spécifiée et si I<res> est non NULL, elle l'enregistre dans la "
1296 "structure I<timespec> pointée par I<res>. La résolution des horloges dépend "
1297 "de l'implémentation et ne peut pas être configurée par un processus "
1298 "particulier. Si la valeur du temps pointé par l'argument I<tp> de "
1299 "B<clock_settime>() n'est pas un multiple de I<res>, cette valeur est "
1300 "tronquée à un multiple de I<res>."
1301
1302 #. type: Plain text
1303 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1304 msgid ""
1305 "Like B<CLOCK_REALTIME>, but not settable. See B<timer_create>(2) for "
1306 "further details."
1307 msgstr ""
1308 "Comme B<CLOCK_REALTIME>, mais non réglable. Voir B<timer_create>(2) pour "
1309 "plus de détails."
1310
1311 #. Added in commit da15cfdae03351c689736f8d142618592e3cebc3
1312 #. type: Plain text
1313 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1314 msgid ""
1315 "A faster but less precise version of B<CLOCK_REALTIME>. This clock is not "
1316 "settable. Use when you need very fast, but not fine-grained timestamps. "
1317 "Requires per-architecture support, and probably also architecture support "
1318 "for this flag in the B<vdso>(7)."
1319 msgstr ""
1320 "Horloge plus rapide mais moins précise que B<CLOCK_REALTIME>. Cette horloge "
1321 "n'est pas réglable. À utiliser pour obtenir rapidement des données "
1322 "d'horodatage avec une résolution grossière. Elle exige une prise en charge "
1323 "spécifique à chaque architecture et probablement d'être prise en charge par "
1324 "une architecture dans B<vdso>(7)."
1325
1326 #. commit 1ff3c9677bff7e468e0c487d0ffefe4e901d33f4
1327 #. type: Plain text
1328 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1329 msgid ""
1330 "A nonsettable system-wide clock derived from wall-clock time but counting "
1331 "leap seconds. This clock does not experience discontinuities or frequency "
1332 "adjustments caused by inserting leap seconds as B<CLOCK_REALTIME> does."
1333 msgstr ""
1334 "Horloge système non réglable dérivée d’une pendule mais comptant les "
1335 "secondes intercalaires. Cette horloge ne connaît ni discontinuités ni "
1336 "ajustements de fréquence suite à des insertions de secondes intercalaires "
1337 "comme le fait B<CLOCK_REALTIME>."
1338
1339 #. type: Plain text
1340 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1341 msgid "The acronym TAI refers to International Atomic Time."
1342 msgstr ""
1343 "L'acronyme TAI renvoie à « International Atomic Time » (temps international "
1344 "atomique)."
1345
1346 #. type: Plain text
1347 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1348 msgid "Like B<CLOCK_BOOTTIME>. See B<timer_create>(2) for further details."
1349 msgstr "Comme B<CLOCK_BOOTTIME>. Voir B<timer_create>(2) pour plus de détails."
1350
1351 #. type: Plain text
1352 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1353 msgid ""
1354 "This is a clock that measures CPU time consumed by this process (i.e., CPU "
1355 "time consumed by all threads in the process). On Linux, this clock is not "
1356 "settable."
1357 msgstr ""
1358 "Il s'agit d'une horloge qui mesure le temps de processeur consommé par ce "
1359 "processus (à savoir le temps de processeur consommé par tous les threads du "
1360 "processus). Sur Linux, cette horloge n'est pas réglable."
1361
1362 #. type: Plain text
1363 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1364 msgid ""
1365 "This is a clock that measures CPU time consumed by this thread. On Linux, "
1366 "this clock is not settable."
1367 msgstr ""
1368 "Il s'agit d'une horloge qui mesure le temps de processeur consommé par ce "
1369 "thread. Sur Linux, cette horloge n'est pas réglable."
1370
1371 #. type: Plain text
1372 #: debian-trixie fedora-44 fedora-rawhide
1373 msgid "POSIX.1-2008."
1374 msgstr "POSIX.1-2008."
1375
1376 #. type: Plain text
1377 #: debian-trixie fedora-44 fedora-rawhide
1378 msgid "POSIX.1-2001, SUSv2. Linux 2.6."
1379 msgstr "POSIX.1-2001, SUSv2. Linux 2.6."
1380
1381 #. type: Plain text
1382 #: debian-trixie fedora-44 fedora-rawhide
1383 #, no-wrap
1384 msgid ""
1385 "$ B<./clock_times x>\n"
1386 "CLOCK_REALTIME : 1585985459.446 (18356 days + 7h 30m 59s)\n"
1387 " resolution: 0.000000001\n"
1388 "CLOCK_TAI : 1585985496.447 (18356 days + 7h 31m 36s)\n"
1389 " resolution: 0.000000001\n"
1390 "CLOCK_MONOTONIC: 52395.722 (14h 33m 15s)\n"
1391 " resolution: 0.000000001\n"
1392 "CLOCK_BOOTTIME : 72691.019 (20h 11m 31s)\n"
1393 " resolution: 0.000000001\n"
1394 msgstr ""
1395 "$ B<./clock_times x>\n"
1396 "CLOCK_REALTIME : 1585985459.446 (18356 days + 7h 30m 59s)\n"
1397 " résolution : 0.000000001\n"
1398 "CLOCK_TAI : 1585985496.447 (18356 days + 7h 31m 36s)\n"
1399 " résolution : 0.000000001\n"
1400 "CLOCK_MONOTONIC : 52395.722 (14h 33m 15s)\n"
1401 " résolution : 0.000000001\n"
1402 "CLOCK_BOOTTIME : 72691.019 (20h 11m 31s)\n"
1403 " résolution : 0.000000001\n"
1404
1405 #. type: Plain text
1406 #: debian-trixie
1407 #, no-wrap
1408 msgid ""
1409 "/* clock_times.c\n"
1410 "\\&\n"
1411 " Licensed under GNU General Public License v2 or later.\n"
1412 "*/\n"
1413 "#define _XOPEN_SOURCE 600\n"
1414 "#include E<lt>stdbool.hE<gt>\n"
1415 "#include E<lt>stdint.hE<gt>\n"
1416 "#include E<lt>stdio.hE<gt>\n"
1417 "#include E<lt>stdlib.hE<gt>\n"
1418 "#include E<lt>time.hE<gt>\n"
1419 "\\&\n"
1420 "#define SECS_IN_DAY (24 * 60 * 60)\n"
1421 "\\&\n"
1422 "static void\n"
1423 "displayClock(clockid_t clock, const char *name, bool showRes)\n"
1424 "{\n"
1425 " long days;\n"
1426 " struct timespec ts;\n"
1427 "\\&\n"
1428 " if (clock_gettime(clock, &ts) == -1) {\n"
1429 " perror(\"clock_gettime\");\n"
1430 " exit(EXIT_FAILURE);\n"
1431 " }\n"
1432 "\\&\n"
1433 " printf(\"%-15s: %10jd.%03ld (\", name,\n"
1434 " (intmax_t) ts.tv_sec, ts.tv_nsec / 1000000);\n"
1435 "\\&\n"
1436 " days = ts.tv_sec / SECS_IN_DAY;\n"
1437 " if (days E<gt> 0)\n"
1438 " printf(\"%ld days + \", days);\n"
1439 "\\&\n"
1440 " printf(\"%2dh %2dm %2ds\",\n"
1441 " (int) (ts.tv_sec % SECS_IN_DAY) / 3600,\n"
1442 " (int) (ts.tv_sec % 3600) / 60,\n"
1443 " (int) ts.tv_sec % 60);\n"
1444 " printf(\")\\[rs]n\");\n"
1445 "\\&\n"
1446 " if (clock_getres(clock, &ts) == -1) {\n"
1447 " perror(\"clock_getres\");\n"
1448 " exit(EXIT_FAILURE);\n"
1449 " }\n"
1450 "\\&\n"
1451 " if (showRes)\n"
1452 " printf(\" resolution: %10jd.%09ld\\[rs]n\",\n"
1453 " (intmax_t) ts.tv_sec, ts.tv_nsec);\n"
1454 "}\n"
1455 "\\&\n"
1456 "int\n"
1457 "main(int argc, char *argv[])\n"
1458 "{\n"
1459 " bool showRes = argc E<gt> 1;\n"
1460 "\\&\n"
1461 " displayClock(CLOCK_REALTIME, \"CLOCK_REALTIME\", showRes);\n"
1462 "#ifdef CLOCK_TAI\n"
1463 " displayClock(CLOCK_TAI, \"CLOCK_TAI\", showRes);\n"
1464 "#endif\n"
1465 " displayClock(CLOCK_MONOTONIC, \"CLOCK_MONOTONIC\", showRes);\n"
1466 "#ifdef CLOCK_BOOTTIME\n"
1467 " displayClock(CLOCK_BOOTTIME, \"CLOCK_BOOTTIME\", showRes);\n"
1468 "#endif\n"
1469 " exit(EXIT_SUCCESS);\n"
1470 "}\n"
1471 msgstr ""
1472 "/* clock_times.c\n"
1473 "\\&\n"
1474 " Sous licence GNU General Public v2 ou postérieure.\n"
1475 "*/\n"
1476 "#define _XOPEN_SOURCE 600\n"
1477 "#include E<lt>stdbool.hE<gt>\n"
1478 "#include E<lt>stdint.hE<gt>\n"
1479 "#include E<lt>stdio.hE<gt>\n"
1480 "#include E<lt>stdlib.hE<gt>\n"
1481 "#include E<lt>time.hE<gt>\n"
1482 "\\&\n"
1483 "#define SECS_IN_DAY (24 * 60 * 60)\n"
1484 "\\&\n"
1485 "static void\n"
1486 "displayClock(clockid_t clock, const char *name, bool showRes)\n"
1487 "{\n"
1488 " long days;\n"
1489 " struct timespec ts;\n"
1490 "\\&\n"
1491 " if (clock_gettime(clock, &ts) == -1) {\n"
1492 " perror(\"clock_gettime\");\n"
1493 " exit(EXIT_FAILURE);\n"
1494 " }\n"
1495 "\\&\n"
1496 " printf(\"%-15s: %10jd.%03ld (\", name,\n"
1497 " (intmax_t) ts.tv_sec, ts.tv_nsec / 1000000);\n"
1498 "\\&\n"
1499 " days = ts.tv_sec / SECS_IN_DAY;\n"
1500 " if (days E<gt> 0)\n"
1501 " printf(\"%ld days + \", days);\n"
1502 "\\&\n"
1503 " printf(\"%2dh %2dm %2ds\",\n"
1504 " (int) (ts.tv_sec % SECS_IN_DAY) / 3600,\n"
1505 " (int) (ts.tv_sec % 3600) / 60,\n"
1506 " (int) ts.tv_sec % 60);\n"
1507 " printf(\")\\[rs]n\");\n"
1508 "\\&\n"
1509 " if (clock_getres(clock, &ts) == -1) {\n"
1510 " perror(\"clock_getres\");\n"
1511 " exit(EXIT_FAILURE);\n"
1512 " }\n"
1513 "\\&\n"
1514 " if (showRes)\n"
1515 " printf(\" résolution : %10jd.%09ld\\[rs]n\",\n"
1516 " (intmax_t) ts.tv_sec, ts.tv_nsec);\n"
1517 "}\n"
1518 "\\&\n"
1519 "int\n"
1520 "main(int argc, char *argv[])\n"
1521 "{\n"
1522 " bool showRes = argc E<gt> 1;\n"
1523 "\\&\n"
1524 " displayClock(CLOCK_REALTIME, \"CLOCK_REALTIME\", showRes);\n"
1525 "#ifdef CLOCK_TAI\n"
1526 " displayClock(CLOCK_TAI, \"CLOCK_TAI\", showRes);\n"
1527 "#endif\n"
1528 " displayClock(CLOCK_MONOTONIC, \"CLOCK_MONOTONIC\", showRes);\n"
1529 "#ifdef CLOCK_BOOTTIME\n"
1530 " displayClock(CLOCK_BOOTTIME, \"CLOCK_BOOTTIME\", showRes);\n"
1531 "#endif\n"
1532 " exit(EXIT_SUCCESS);\n"
1533 "}\n"
1534
1535 #. type: TH
1536 #: fedora-44 fedora-rawhide
1537 #, no-wrap
1538 msgid "2024-11-03"
1539 msgstr "3 novembre 2024"
1540
1541 #. type: TH
1542 #: fedora-44 fedora-rawhide
1543 #, no-wrap
1544 msgid "Linux man-pages 6.13"
1545 msgstr "Pages du manuel de Linux 6.13"
1546
1547 #. type: Plain text
1548 #: fedora-44 fedora-rawhide
1549 #, no-wrap
1550 msgid ""
1551 "/* clock_times.c\n"
1552 "\\&\n"
1553 " Licensed under GNU General Public License v2 or later.\n"
1554 "*/\n"
1555 "#define _XOPEN_SOURCE 600\n"
1556 "#include E<lt>stdbool.hE<gt>\n"
1557 "#include E<lt>stdint.hE<gt>\n"
1558 "#include E<lt>stdio.hE<gt>\n"
1559 "#include E<lt>stdlib.hE<gt>\n"
1560 "#include E<lt>sys/types.hE<gt>\n"
1561 "#include E<lt>time.hE<gt>\n"
1562 "\\&\n"
1563 "#define SECS_IN_DAY (24 * 60 * 60)\n"
1564 "\\&\n"
1565 "static void\n"
1566 "displayClock(clockid_t clock, const char *name, bool showRes)\n"
1567 "{\n"
1568 " long days;\n"
1569 " struct timespec ts;\n"
1570 "\\&\n"
1571 " if (clock_gettime(clock, &ts) == -1) {\n"
1572 " perror(\"clock_gettime\");\n"
1573 " exit(EXIT_FAILURE);\n"
1574 " }\n"
1575 "\\&\n"
1576 " printf(\"%-15s: %10jd.%03ld (\", name,\n"
1577 " (intmax_t) ts.tv_sec, ts.tv_nsec / 1000000);\n"
1578 "\\&\n"
1579 " days = ts.tv_sec / SECS_IN_DAY;\n"
1580 " if (days E<gt> 0)\n"
1581 " printf(\"%ld days + \", days);\n"
1582 "\\&\n"
1583 " printf(\"%2dh %2dm %2ds\",\n"
1584 " (int) (ts.tv_sec % SECS_IN_DAY) / 3600,\n"
1585 " (int) (ts.tv_sec % 3600) / 60,\n"
1586 " (int) ts.tv_sec % 60);\n"
1587 " printf(\")\\[rs]n\");\n"
1588 "\\&\n"
1589 " if (clock_getres(clock, &ts) == -1) {\n"
1590 " perror(\"clock_getres\");\n"
1591 " exit(EXIT_FAILURE);\n"
1592 " }\n"
1593 "\\&\n"
1594 " if (showRes)\n"
1595 " printf(\" resolution: %10jd.%09ld\\[rs]n\",\n"
1596 " (intmax_t) ts.tv_sec, ts.tv_nsec);\n"
1597 "}\n"
1598 "\\&\n"
1599 "int\n"
1600 "main(int argc, char *argv[])\n"
1601 "{\n"
1602 " bool showRes = argc E<gt> 1;\n"
1603 "\\&\n"
1604 " displayClock(CLOCK_REALTIME, \"CLOCK_REALTIME\", showRes);\n"
1605 "#ifdef CLOCK_TAI\n"
1606 " displayClock(CLOCK_TAI, \"CLOCK_TAI\", showRes);\n"
1607 "#endif\n"
1608 " displayClock(CLOCK_MONOTONIC, \"CLOCK_MONOTONIC\", showRes);\n"
1609 "#ifdef CLOCK_BOOTTIME\n"
1610 " displayClock(CLOCK_BOOTTIME, \"CLOCK_BOOTTIME\", showRes);\n"
1611 "#endif\n"
1612 " exit(EXIT_SUCCESS);\n"
1613 "}\n"
1614 msgstr ""
1615 "/* clock_times.c\n"
1616 "\\&\n"
1617 " Sous licence GNU General Public v2 ou postérieure.\n"
1618 "*/\n"
1619 "#define _XOPEN_SOURCE 600\n"
1620 "#include E<lt>stdbool.hE<gt>\n"
1621 "#include E<lt>stdint.hE<gt>\n"
1622 "#include E<lt>stdio.hE<gt>\n"
1623 "#include E<lt>stdlib.hE<gt>\n"
1624 "#include E<lt>sys/types.hE<gt>\n"
1625 "#include E<lt>time.hE<gt>\n"
1626 "\\&\n"
1627 "#define SECS_IN_DAY (24 * 60 * 60)\n"
1628 "\\&\n"
1629 "static void\n"
1630 "displayClock(clockid_t clock, const char *name, bool showRes)\n"
1631 "{\n"
1632 " long days;\n"
1633 " struct timespec ts;\n"
1634 "\\&\n"
1635 " if (clock_gettime(clock, &ts) == -1) {\n"
1636 " perror(\"clock_gettime\");\n"
1637 " exit(EXIT_FAILURE);\n"
1638 " }\n"
1639 "\\&\n"
1640 " printf(\"%-15s: %10jd.%03ld (\", name,\n"
1641 " (intmax_t) ts.tv_sec, ts.tv_nsec / 1000000);\n"
1642 "\\&\n"
1643 " days = ts.tv_sec / SECS_IN_DAY;\n"
1644 " if (days E<gt> 0)\n"
1645 " printf(\"%ld days + \", days);\n"
1646 "\\&\n"
1647 " printf(\"%2dh %2dm %2ds\",\n"
1648 " (int) (ts.tv_sec % SECS_IN_DAY) / 3600,\n"
1649 " (int) (ts.tv_sec % 3600) / 60,\n"
1650 " (int) ts.tv_sec % 60);\n"
1651 " printf(\")\\[rs]n\");\n"
1652 "\\&\n"
1653 " if (clock_getres(clock, &ts) == -1) {\n"
1654 " perror(\"clock_getres\");\n"
1655 " exit(EXIT_FAILURE);\n"
1656 " }\n"
1657 "\\&\n"
1658 " if (showRes)\n"
1659 " printf(\" résolution : %10jd.%09ld\\[rs]n\",\n"
1660 " (intmax_t) ts.tv_sec, ts.tv_nsec);\n"
1661 "}\n"
1662 "\\&\n"
1663 "int\n"
1664 "main(int argc, char *argv[])\n"
1665 "{\n"
1666 " bool showRes = argc E<gt> 1;\n"
1667 "\\&\n"
1668 " displayClock(CLOCK_REALTIME, \"CLOCK_REALTIME\", showRes);\n"
1669 "#ifdef CLOCK_TAI\n"
1670 " displayClock(CLOCK_TAI, \"CLOCK_TAI\", showRes);\n"
1671 "#endif\n"
1672 " displayClock(CLOCK_MONOTONIC, \"CLOCK_MONOTONIC\", showRes);\n"
1673 "#ifdef CLOCK_BOOTTIME\n"
1674 " displayClock(CLOCK_BOOTTIME, \"CLOCK_BOOTTIME\", showRes);\n"
1675 "#endif\n"
1676 " exit(EXIT_SUCCESS);\n"
1677 "}\n"
1678
1679 #. type: TH
1680 #: mageia-cauldron
1681 #, no-wrap
1682 msgid "2026-02-08"
1683 msgstr "8 février 2026"
1684
1685 #. type: TH
1686 #: mageia-cauldron
1687 #, no-wrap
1688 msgid "Linux man-pages 6.17"
1689 msgstr "Pages du manuel de Linux 6.17"
1690
1691 #. type: TH
1692 #: opensuse-leap-16-1 opensuse-tumbleweed
1693 #, no-wrap
1694 msgid "Linux man-pages (unreleased)"
1695 msgstr "Pages du manuel de Linux (non publiées)"