Debian Codegraph @

templates/man3/clock_getcpuclockid.3.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:20+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 "clock_getcpuclockid"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2025-05-17"
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 "clock_getcpuclockid - obtain ID of a process CPU-time clock"
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>), since glibc 2.17"
63 msgstr ""
64
65 #. type: Plain text
66 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
67 #: opensuse-leap-16-1 opensuse-tumbleweed
68 msgid "Before glibc 2.17, Real-time library (I<librt>,\\ I<-lrt>)"
69 msgstr ""
70
71 #. type: SH
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "SYNOPSIS"
76 msgstr ""
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 msgid "B<#include E<lt>time.hE<gt>>"
82 msgstr ""
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid "B<int clock_getcpuclockid(pid_t >I<pid>B<, clockid_t *>I<clockid>B<);>\n"
89 msgstr ""
90
91 #. type: Plain text
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 msgid ""
95 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
96 msgstr ""
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid "B<clock_getcpuclockid>():"
102 msgstr ""
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 #, no-wrap
108 msgid " _POSIX_C_SOURCE E<gt>= 200112L\n"
109 msgstr ""
110
111 #. type: SH
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 #, no-wrap
115 msgid "DESCRIPTION"
116 msgstr ""
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid ""
122 "The B<clock_getcpuclockid>() function obtains the ID of the CPU-time clock "
123 "of the process whose ID is I<pid>, and returns it in the location pointed to "
124 "by I<clockid>. If I<pid> is zero, then the clock ID of the CPU-time clock "
125 "of the calling process is returned."
126 msgstr ""
127
128 #. type: SH
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 #, no-wrap
132 msgid "RETURN VALUE"
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 "On success, B<clock_getcpuclockid>() returns 0; on error, it returns one of "
140 "the positive error numbers listed in ERRORS."
141 msgstr ""
142
143 #. type: SH
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 #, no-wrap
147 msgid "ERRORS"
148 msgstr ""
149
150 #. type: TP
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 #, no-wrap
154 msgid "B<ENOSYS>"
155 msgstr ""
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 msgid ""
161 "The kernel does not support obtaining the per-process CPU-time clock of "
162 "another process, and I<pid> does not specify the calling process."
163 msgstr ""
164
165 #. type: TP
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 #, no-wrap
169 msgid "B<EPERM>"
170 msgstr ""
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "The caller does not have permission to access the CPU-time clock of the "
177 "process specified by I<pid>. (Specified in POSIX.1-2001; does not occur on "
178 "Linux unless the kernel does not support obtaining the per-process CPU-time "
179 "clock of another process.)"
180 msgstr ""
181
182 #. type: TP
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 #, no-wrap
186 msgid "B<ESRCH>"
187 msgstr ""
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid "There is no process with the ID I<pid>."
193 msgstr ""
194
195 #. type: SH
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 #, no-wrap
199 msgid "ATTRIBUTES"
200 msgstr ""
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 msgid ""
206 "For an explanation of the terms used in this section, see B<attributes>(7)."
207 msgstr ""
208
209 #. type: tbl table
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "Interface"
214 msgstr ""
215
216 #. type: tbl table
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 #, no-wrap
220 msgid "Attribute"
221 msgstr ""
222
223 #. type: tbl table
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 #, no-wrap
227 msgid "Value"
228 msgstr ""
229
230 #. type: tbl table
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid ".na\n"
235 msgstr ""
236
237 #. type: tbl table
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid ".nh\n"
242 msgstr ""
243
244 #. type: tbl table
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "B<clock_getcpuclockid>()"
249 msgstr ""
250
251 #. type: tbl table
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "Thread safety"
256 msgstr ""
257
258 #. type: tbl table
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "MT-Safe"
263 msgstr ""
264
265 #. type: SH
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, no-wrap
269 msgid "STANDARDS"
270 msgstr ""
271
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 msgid "POSIX.1-2008."
276 msgstr ""
277
278 #. type: SH
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "HISTORY"
283 msgstr ""
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 msgid "glibc 2.2. POSIX.1-2001."
289 msgstr ""
290
291 #. type: SH
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid "NOTES"
296 msgstr ""
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 msgid ""
302 "Calling B<clock_gettime>(2) with the clock ID obtained by a call to "
303 "B<clock_getcpuclockid>() with a I<pid> of 0, is the same as using the clock "
304 "ID B<CLOCK_PROCESS_CPUTIME_ID>."
305 msgstr ""
306
307 #. type: SH
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 #, no-wrap
311 msgid "EXAMPLES"
312 msgstr ""
313
314 #. type: Plain text
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 msgid ""
318 "The example program below obtains the CPU-time clock ID of the process whose "
319 "ID is given on the command line, and then uses B<clock_gettime>(2) to "
320 "obtain the time on that clock. An example run is the following:"
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 #, no-wrap
327 msgid ""
328 "$B< ./a.out 1> # Show CPU clock of init process\n"
329 "CPU-time clock for PID 1 is 2.213466748 seconds\n"
330 msgstr ""
331
332 #. type: SS
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "Program source"
337 msgstr ""
338
339 #. type: Plain text
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid ""
344 "#define _XOPEN_SOURCE 600\n"
345 "#include E<lt>stdint.hE<gt>\n"
346 "#include E<lt>stdio.hE<gt>\n"
347 "#include E<lt>stdlib.hE<gt>\n"
348 "#include E<lt>time.hE<gt>\n"
349 "#include E<lt>unistd.hE<gt>\n"
350 "\\&\n"
351 "int\n"
352 "main(int argc, char *argv[])\n"
353 "{\n"
354 " clockid_t clockid;\n"
355 " struct timespec ts;\n"
356 "\\&\n"
357 " if (argc != 2) {\n"
358 " fprintf(stderr, \"%s E<lt>process-IDE<gt>\\[rs]n\", argv[0]);\n"
359 " exit(EXIT_FAILURE);\n"
360 " }\n"
361 "\\&\n"
362 " if (clock_getcpuclockid(atoi(argv[1]), &clockid) != 0) {\n"
363 " perror(\"clock_getcpuclockid\");\n"
364 " exit(EXIT_FAILURE);\n"
365 " }\n"
366 "\\&\n"
367 " if (clock_gettime(clockid, &ts) == -1) {\n"
368 " perror(\"clock_gettime\");\n"
369 " exit(EXIT_FAILURE);\n"
370 " }\n"
371 "\\&\n"
372 " printf(\"CPU-time clock for PID %s is %jd.%09ld seconds\\[rs]n\",\n"
373 " argv[1], (intmax_t) ts.tv_sec, ts.tv_nsec);\n"
374 " exit(EXIT_SUCCESS);\n"
375 "}\n"
376 msgstr ""
377
378 #. SRC END
379 #. type: SH
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "SEE ALSO"
384 msgstr ""
385
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 msgid ""
390 "B<clock_getres>(2), B<timer_create>(2), B<pthread_getcpuclockid>(3), "
391 "B<time>(7)"
392 msgstr ""
393
394 #. type: TH
395 #: debian-trixie
396 #, no-wrap
397 msgid "2024-06-15"
398 msgstr ""
399
400 #. type: TH
401 #: debian-trixie
402 #, no-wrap
403 msgid "Linux man-pages 6.9.1"
404 msgstr ""
405
406 #. type: Plain text
407 #: debian-trixie
408 msgid "Standard C library (I<libc>, I<-lc>), since glibc 2.17"
409 msgstr ""
410
411 #. type: Plain text
412 #: debian-trixie
413 msgid "Before glibc 2.17, Real-time library (I<librt>, I<-lrt>)"
414 msgstr ""
415
416 #. type: TH
417 #: fedora-44 fedora-rawhide
418 #, no-wrap
419 msgid "2024-07-23"
420 msgstr ""
421
422 #. type: TH
423 #: fedora-44 fedora-rawhide
424 #, no-wrap
425 msgid "Linux man-pages 6.13"
426 msgstr ""
427
428 #. type: TH
429 #: mageia-cauldron
430 #, no-wrap
431 msgid "Linux man-pages 6.17"
432 msgstr ""
433
434 #. type: TH
435 #: opensuse-leap-16-1 opensuse-tumbleweed
436 #, no-wrap
437 msgid "Linux man-pages (unreleased)"
438 msgstr ""