Debian Codegraph @

templates/man2/times.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:49+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "times"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "times - get process times"
50 msgstr ""
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 "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>sys/times.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<clock_t times(struct tms *>I<buf>B<);>\n"
84 msgstr ""
85
86 #. type: SH
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "DESCRIPTION"
91 msgstr ""
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 msgid ""
97 "B<times>() stores the current process times in the I<struct tms> that "
98 "I<buf> points to. The I<struct tms> is as defined in I<E<lt>sys/"
99 "times.hE<gt>>:"
100 msgstr ""
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 #, no-wrap
106 msgid ""
107 "struct tms {\n"
108 " clock_t tms_utime; /* user time */\n"
109 " clock_t tms_stime; /* system time */\n"
110 " clock_t tms_cutime; /* user time of children */\n"
111 " clock_t tms_cstime; /* system time of children */\n"
112 "};\n"
113 msgstr ""
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 msgid ""
119 "The I<tms_utime> field contains the CPU time spent executing instructions of "
120 "the calling process. The I<tms_stime> field contains the CPU time spent "
121 "executing inside the kernel while performing tasks on behalf of the calling "
122 "process."
123 msgstr ""
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 msgid ""
129 "The I<tms_cutime> field contains the sum of the I<tms_utime> and "
130 "I<tms_cutime> values for all waited-for terminated children. The "
131 "I<tms_cstime> field contains the sum of the I<tms_stime> and I<tms_cstime> "
132 "values for all waited-for terminated children."
133 msgstr ""
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid ""
139 "Times for terminated children (and their descendants) are added in at the "
140 "moment B<wait>(2) or B<waitpid>(2) returns their process ID. In "
141 "particular, times of grandchildren that the children did not wait for are "
142 "never seen."
143 msgstr ""
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 msgid "All times reported are in clock ticks."
149 msgstr ""
150
151 #. type: SH
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 #, no-wrap
155 msgid "RETURN VALUE"
156 msgstr ""
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 msgid ""
162 "B<times>() returns the number of clock ticks that have elapsed since an "
163 "arbitrary point in the past. The return value may overflow the possible "
164 "range of type I<clock_t>. On error, I<(clock_t)\\ -1> is returned, and "
165 "I<errno> is set to indicate the error."
166 msgstr ""
167
168 #. type: SH
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 #, no-wrap
172 msgid "ERRORS"
173 msgstr ""
174
175 #. type: TP
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 #, no-wrap
179 msgid "B<EFAULT>"
180 msgstr ""
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid "I<tms> points outside the process's address space."
186 msgstr ""
187
188 #. type: SH
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 #, no-wrap
192 msgid "VERSIONS"
193 msgstr ""
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid ""
199 "On Linux, the I<buf> argument can be specified as NULL, with the result that "
200 "B<times>() just returns a function result. However, POSIX does not specify "
201 "this behavior, and most other UNIX implementations require a non-NULL value "
202 "for I<buf>."
203 msgstr ""
204
205 #. type: SH
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "STANDARDS"
210 msgstr ""
211
212 #. type: Plain text
213 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
214 #: opensuse-tumbleweed
215 msgid "POSIX.1-2024."
216 msgstr ""
217
218 #. type: SH
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "HISTORY"
223 msgstr ""
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid "POSIX.1-2001, SVr4, 4.3BSD."
229 msgstr ""
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 msgid ""
235 "In POSIX.1-1996 the symbol B<CLK_TCK> (defined in I<E<lt>time.hE<gt>>) is "
236 "mentioned as obsolescent. It is obsolete now."
237 msgstr ""
238
239 #. #-#-#-#-# archlinux: times.2.pot (PACKAGE VERSION) #-#-#-#-#
240 #. See the description of times() in XSH, which says:
241 #. The times of a terminated child process are included [...] when wait()
242 #. or waitpid() returns the process ID of this terminated child.
243 #. type: Plain text
244 #. #-#-#-#-# debian-trixie: times.2.pot (PACKAGE VERSION) #-#-#-#-#
245 #. See the description of times() in XSH, which says:
246 #. The times of a terminated child process are included... when wait()
247 #. or waitpid() returns the process ID of this terminated child.
248 #. type: Plain text
249 #. #-#-#-#-# debian-unstable: times.2.pot (PACKAGE VERSION) #-#-#-#-#
250 #. See the description of times() in XSH, which says:
251 #. The times of a terminated child process are included [...] when wait()
252 #. or waitpid() returns the process ID of this terminated child.
253 #. type: Plain text
254 #. #-#-#-#-# fedora-44: times.2.pot (PACKAGE VERSION) #-#-#-#-#
255 #. See the description of times() in XSH, which says:
256 #. The times of a terminated child process are included... when wait()
257 #. or waitpid() returns the process ID of this terminated child.
258 #. type: Plain text
259 #. #-#-#-#-# fedora-rawhide: times.2.pot (PACKAGE VERSION) #-#-#-#-#
260 #. See the description of times() in XSH, which says:
261 #. The times of a terminated child process are included... when wait()
262 #. or waitpid() returns the process ID of this terminated child.
263 #. type: Plain text
264 #. #-#-#-#-# mageia-cauldron: times.2.pot (PACKAGE VERSION) #-#-#-#-#
265 #. See the description of times() in XSH, which says:
266 #. The times of a terminated child process are included [...] when wait()
267 #. or waitpid() returns the process ID of this terminated child.
268 #. type: Plain text
269 #. #-#-#-#-# opensuse-leap-16-1: times.2.pot (PACKAGE VERSION) #-#-#-#-#
270 #. See the description of times() in XSH, which says:
271 #. The times of a terminated child process are included [...] when wait()
272 #. or waitpid() returns the process ID of this terminated child.
273 #. type: Plain text
274 #. #-#-#-#-# opensuse-tumbleweed: times.2.pot (PACKAGE VERSION) #-#-#-#-#
275 #. See the description of times() in XSH, which says:
276 #. The times of a terminated child process are included [...] when wait()
277 #. or waitpid() returns the process ID of this terminated child.
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 msgid ""
282 "Before Linux 2.6.9, if the disposition of B<SIGCHLD> is set to B<SIG_IGN>, "
283 "then the times of terminated children are automatically included in the "
284 "I<tms_cstime> and I<tms_cutime> fields, although POSIX.1-2001 says that this "
285 "should happen only if the calling process B<wait>(2)s on its children. This "
286 "nonconformance is rectified in Linux 2.6.9 and later."
287 msgstr ""
288
289 #. .P
290 #. On older systems the number of clock ticks per second is given
291 #. by the variable HZ.
292 #. type: Plain text
293 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
294 #: opensuse-tumbleweed
295 msgid ""
296 "On Linux, the \\[lq]arbitrary point in the past\\[rq] from which the return "
297 "value of B<times>() is measured has varied across kernel versions. On "
298 "Linux 2.4 and earlier, this point is the moment the system was booted. "
299 "Since Linux 2.6, this point is I<(2\\[ha]32/HZ)\\ -\\ 300> seconds before "
300 "system boot time. This variability across kernel versions (and across UNIX "
301 "implementations), combined with the fact that the returned value may "
302 "overflow the range of I<clock_t>, means that a portable application would be "
303 "wise to avoid using this value. To measure changes in elapsed time, use "
304 "B<clock_gettime>(2) instead."
305 msgstr ""
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 msgid ""
311 "SVr1-3 returns I<long> and the struct members are of type I<time_t> although "
312 "they store clock ticks, not seconds since the Epoch. V7 used I<long> for "
313 "the struct members, because it had no type I<time_t> yet."
314 msgstr ""
315
316 #. type: SH
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 #, no-wrap
320 msgid "NOTES"
321 msgstr ""
322
323 #. type: Plain text
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 msgid "The number of clock ticks per second can be obtained using:"
327 msgstr ""
328
329 #. type: Plain text
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 #, no-wrap
333 msgid "sysconf(_SC_CLK_TCK);\n"
334 msgstr ""
335
336 #. type: Plain text
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 msgid ""
340 "Note that B<clock>(3) also returns a value of type I<clock_t>, but this "
341 "value is measured in units of B<CLOCKS_PER_SEC>, not the clock ticks used by "
342 "B<times>()."
343 msgstr ""
344
345 #. type: SH
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 #, no-wrap
349 msgid "BUGS"
350 msgstr ""
351
352 #. The problem is that a syscall return of -4095 to -1
353 #. is interpreted by glibc as an error, and the wrapper converts
354 #. the return value to -1.
355 #. http://marc.info/?l=linux-kernel&m=119447727031225&w=2
356 #. "compat_sys_times() bogus until jiffies >= 0"
357 #. November 2007
358 #. type: Plain text
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 msgid ""
362 "A limitation of the Linux system call conventions on some architectures "
363 "(notably i386) means that on Linux 2.6 there is a small time window (41 "
364 "seconds) soon after boot when B<times>() can return -1, falsely indicating "
365 "that an error occurred. The same problem can occur when the return value "
366 "wraps past the maximum value that can be stored in B<clock_t>."
367 msgstr ""
368
369 #. type: SH
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 #, no-wrap
373 msgid "SEE ALSO"
374 msgstr ""
375
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 msgid ""
380 "B<time>(1), B<getrusage>(2), B<wait>(2), B<clock>(3), B<sysconf>(3), "
381 "B<time>(7)"
382 msgstr ""
383
384 #. type: TH
385 #: debian-trixie
386 #, no-wrap
387 msgid "2024-05-02"
388 msgstr ""
389
390 #. type: TH
391 #: debian-trixie
392 #, no-wrap
393 msgid "Linux man-pages 6.9.1"
394 msgstr ""
395
396 #. type: Plain text
397 #: debian-trixie
398 msgid "Standard C library (I<libc>, I<-lc>)"
399 msgstr ""
400
401 #. type: Plain text
402 #: debian-trixie fedora-44 fedora-rawhide
403 msgid "POSIX.1-2008."
404 msgstr ""
405
406 #. .P
407 #. On older systems the number of clock ticks per second is given
408 #. by the variable HZ.
409 #. type: Plain text
410 #: debian-trixie fedora-44 fedora-rawhide
411 msgid ""
412 "On Linux, the \\[lq]arbitrary point in the past\\[rq] from which the return "
413 "value of B<times>() is measured has varied across kernel versions. On "
414 "Linux 2.4 and earlier, this point is the moment the system was booted. "
415 "Since Linux 2.6, this point is I<(2\\[ha]32/HZ) - 300> seconds before system "
416 "boot time. This variability across kernel versions (and across UNIX "
417 "implementations), combined with the fact that the returned value may "
418 "overflow the range of I<clock_t>, means that a portable application would be "
419 "wise to avoid using this value. To measure changes in elapsed time, use "
420 "B<clock_gettime>(2) instead."
421 msgstr ""
422
423 #. type: TH
424 #: fedora-44 fedora-rawhide
425 #, no-wrap
426 msgid "2024-07-23"
427 msgstr ""
428
429 #. type: TH
430 #: fedora-44 fedora-rawhide
431 #, no-wrap
432 msgid "Linux man-pages 6.13"
433 msgstr ""
434
435 #. type: TH
436 #: mageia-cauldron
437 #, no-wrap
438 msgid "Linux man-pages 6.17"
439 msgstr ""
440
441 #. type: TH
442 #: opensuse-leap-16-1 opensuse-tumbleweed
443 #, no-wrap
444 msgid "Linux man-pages (unreleased)"
445 msgstr ""