Debian Codegraph @

po/ar/man3/clock_getcpuclockid.3.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.30.2\n"
8 "POT-Creation-Date: 2026-06-05 06:20+0200\n"
9 "PO-Revision-Date: 2026-05-31 18:51+0400\n"
10 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
11 "Language-Team: Arabic <[email protected]>\n"
12 "Language: ar\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
17 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18 "X-Generator: Lokalize 23.08.5\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "clock_getcpuclockid"
25 msgstr "clock_getcpuclockid"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2025-05-17"
32 msgstr "17 مايو 2025"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "صفحات دليل لينكس 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "الاسم"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "clock_getcpuclockid - obtain ID of a process CPU-time clock"
51 msgstr ""
52 "clock_getcpuclockid - الحصول على معرف ساعة وقت وحدة المعالجة المركزية لعملية"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "المكتبة"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>), since glibc 2.17"
65 msgstr "مكتبة C القياسية (I<libc>,\\ I<-lc>)، منذ glibc 2.17"
66
67 #. type: Plain text
68 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
69 #: opensuse-leap-16-1 opensuse-tumbleweed
70 msgid "Before glibc 2.17, Real-time library (I<librt>,\\ I<-lrt>)"
71 msgstr "قبل glibc 2.17، مكتبة الوقت الحقيقي (I<librt>،\\ I<-lrt>)"
72
73 #. type: SH
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "SYNOPSIS"
78 msgstr "موجز"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 msgid "B<#include E<lt>time.hE<gt>>"
84 msgstr "B<#include E<lt>time.hE<gt>>"
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "B<int clock_getcpuclockid(pid_t >I<pid>B<, clockid_t *>I<clockid>B<);>\n"
91 msgstr "B<int clock_getcpuclockid(pid_t >I<pid>B<, clockid_t *>I<clockid>B<);>\n"
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 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
98 msgstr ""
99 "متطلبات ماكروات اختبار الميزات لـ glibc (انظر B<feature_test_macros>(7)):"
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 msgid "B<clock_getcpuclockid>():"
105 msgstr "B<clock_getcpuclockid>():"
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 #, no-wrap
111 msgid " _POSIX_C_SOURCE E<gt>= 200112L\n"
112 msgstr " _POSIX_C_SOURCE E<gt>= 200112L\n"
113
114 #. type: SH
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 #, no-wrap
118 msgid "DESCRIPTION"
119 msgstr "الوصف"
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 msgid ""
125 "The B<clock_getcpuclockid>() function obtains the ID of the CPU-time clock "
126 "of the process whose ID is I<pid>, and returns it in the location pointed to "
127 "by I<clockid>. If I<pid> is zero, then the clock ID of the CPU-time clock "
128 "of the calling process is returned."
129 msgstr ""
130 "الدالة B<clock_getcpuclockid>() تحصل على معرف ساعة وقت وحدة المعالجة "
131 "المركزية للعملية التي معرفها I<pid>، وتعيده في الموقع المشار إليه بواسطة "
132 "I<clockid>. إذا كان I<pid> صفرًا، يُعاد معرف ساعة وقت وحدة المعالجة المركزية "
133 "للعملية المستدعية."
134
135 #. type: SH
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 #, no-wrap
139 msgid "RETURN VALUE"
140 msgstr "قيمة الإرجاع"
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "On success, B<clock_getcpuclockid>() returns 0; on error, it returns one of "
147 "the positive error numbers listed in ERRORS."
148 msgstr ""
149 "عند النجاح، تُعيد B<clock_getcpuclockid>() 0؛ عند الخطأ، تُعيد أحد أرقام "
150 "الأخطاء الموجبة المدرجة في الأخطاء."
151
152 #. type: SH
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 #, no-wrap
156 msgid "ERRORS"
157 msgstr "الأخطاء"
158
159 #. type: TP
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 #, no-wrap
163 msgid "B<ENOSYS>"
164 msgstr "B<ENOSYS>"
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 msgid ""
170 "The kernel does not support obtaining the per-process CPU-time clock of "
171 "another process, and I<pid> does not specify the calling process."
172 msgstr ""
173 "لا يدعم النواة الحصول على ساعة وقت وحدة المعالجة المركزية لكل عملية لعملية "
174 "أخرى، ولا يحدد I<pid> العملية المستدعية."
175
176 #. type: TP
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 #, no-wrap
180 msgid "B<EPERM>"
181 msgstr "B<EPERM>"
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid ""
187 "The caller does not have permission to access the CPU-time clock of the "
188 "process specified by I<pid>. (Specified in POSIX.1-2001; does not occur on "
189 "Linux unless the kernel does not support obtaining the per-process CPU-time "
190 "clock of another process.)"
191 msgstr ""
192 "لا يملك المستدعي صلاحية الوصول إلى ساعة وقت وحدة المعالجة المركزية للعملية "
193 "المحددة بواسطة I<pid>. (محدد في POSIX.1-2001؛ لا يحدث على لينكس ما لم يدعم "
194 "النواة الحصول على ساعة وقت وحدة المعالجة المركزية لكل عملية لعملية أخرى.)"
195
196 #. type: TP
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 #, no-wrap
200 msgid "B<ESRCH>"
201 msgstr "B<ESRCH>"
202
203 #. type: Plain text
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 msgid "There is no process with the ID I<pid>."
207 msgstr "لا توجد عملية بالمعرف I<pid>."
208
209 #. type: SH
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "ATTRIBUTES"
214 msgstr "السمات"
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 msgid ""
220 "For an explanation of the terms used in this section, see B<attributes>(7)."
221 msgstr ""
222 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
223
224 #. type: tbl table
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 #, no-wrap
228 msgid "Interface"
229 msgstr "الواجهة"
230
231 #. type: tbl table
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, no-wrap
235 msgid "Attribute"
236 msgstr "السمة"
237
238 #. type: tbl table
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 #, no-wrap
242 msgid "Value"
243 msgstr "القيمة"
244
245 #. type: tbl table
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 #, no-wrap
249 msgid ".na\n"
250 msgstr ".na\n"
251
252 #. type: tbl table
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 #, no-wrap
256 msgid ".nh\n"
257 msgstr ".nh\n"
258
259 #. type: tbl table
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 #, no-wrap
263 msgid "B<clock_getcpuclockid>()"
264 msgstr "B<clock_getcpuclockid>()"
265
266 #. type: tbl table
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "Thread safety"
271 msgstr "سلامة الخيوط"
272
273 #. type: tbl table
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 #, no-wrap
277 msgid "MT-Safe"
278 msgstr "MT-Safe"
279
280 #. type: SH
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 #, no-wrap
284 msgid "STANDARDS"
285 msgstr "المعايير"
286
287 #. type: Plain text
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 msgid "POSIX.1-2008."
291 msgstr "POSIX.1-2008."
292
293 #. type: SH
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "HISTORY"
298 msgstr "التاريخ"
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 msgid "glibc 2.2. POSIX.1-2001."
304 msgstr "glibc 2.2. POSIX.1-2001."
305
306 #. type: SH
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 #, no-wrap
310 msgid "NOTES"
311 msgstr "ملاحظات"
312
313 #. type: Plain text
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 msgid ""
317 "Calling B<clock_gettime>(2) with the clock ID obtained by a call to "
318 "B<clock_getcpuclockid>() with a I<pid> of 0, is the same as using the clock "
319 "ID B<CLOCK_PROCESS_CPUTIME_ID>."
320 msgstr ""
321 "استدعاء B<clock_gettime>(2) مع معرف الساعة الذي حُصل عليه باستدعاء "
322 "B<clock_getcpuclockid>() مع I<pid> بقيمة 0، هو نفسه استخدام معرف الساعة "
323 "B<CLOCK_PROCESS_CPUTIME_ID>."
324
325 #. type: SH
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 #, no-wrap
329 msgid "EXAMPLES"
330 msgstr "أمثلة"
331
332 #. type: Plain text
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 msgid ""
336 "The example program below obtains the CPU-time clock ID of the process whose "
337 "ID is given on the command line, and then uses B<clock_gettime>(2) to "
338 "obtain the time on that clock. An example run is the following:"
339 msgstr ""
340 "البرنامج المثالي أدناه يحصل على معرف ساعة وقت وحدة المعالجة المركزية للعملية "
341 "التي معرفها معطى في سطر الأوامر، ثم يستخدم B<clock_gettime>(2) للحصول على "
342 "الوقت على تلك الساعة. مثال تشغيل هو التالي:"
343
344 #. type: Plain text
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid ""
349 "$B< ./a.out 1> # Show CPU clock of init process\n"
350 "CPU-time clock for PID 1 is 2.213466748 seconds\n"
351 msgstr ""
352 "$B< ./a.out 1> # Show CPU clock of init process\n"
353 "CPU-time clock for PID 1 is 2.213466748 seconds\n"
354
355 #. type: SS
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 #, no-wrap
359 msgid "Program source"
360 msgstr "مصدر البرنامج"
361
362 #. type: Plain text
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 #, no-wrap
366 msgid ""
367 "#define _XOPEN_SOURCE 600\n"
368 "#include E<lt>stdint.hE<gt>\n"
369 "#include E<lt>stdio.hE<gt>\n"
370 "#include E<lt>stdlib.hE<gt>\n"
371 "#include E<lt>time.hE<gt>\n"
372 "#include E<lt>unistd.hE<gt>\n"
373 "\\&\n"
374 "int\n"
375 "main(int argc, char *argv[])\n"
376 "{\n"
377 " clockid_t clockid;\n"
378 " struct timespec ts;\n"
379 "\\&\n"
380 " if (argc != 2) {\n"
381 " fprintf(stderr, \"%s E<lt>process-IDE<gt>\\[rs]n\", argv[0]);\n"
382 " exit(EXIT_FAILURE);\n"
383 " }\n"
384 "\\&\n"
385 " if (clock_getcpuclockid(atoi(argv[1]), &clockid) != 0) {\n"
386 " perror(\"clock_getcpuclockid\");\n"
387 " exit(EXIT_FAILURE);\n"
388 " }\n"
389 "\\&\n"
390 " if (clock_gettime(clockid, &ts) == -1) {\n"
391 " perror(\"clock_gettime\");\n"
392 " exit(EXIT_FAILURE);\n"
393 " }\n"
394 "\\&\n"
395 " printf(\"CPU-time clock for PID %s is %jd.%09ld seconds\\[rs]n\",\n"
396 " argv[1], (intmax_t) ts.tv_sec, ts.tv_nsec);\n"
397 " exit(EXIT_SUCCESS);\n"
398 "}\n"
399 msgstr ""
400 "#define _XOPEN_SOURCE 600\n"
401 "#include E<lt>stdint.hE<gt>\n"
402 "#include E<lt>stdio.hE<gt>\n"
403 "#include E<lt>stdlib.hE<gt>\n"
404 "#include E<lt>time.hE<gt>\n"
405 "#include E<lt>unistd.hE<gt>\n"
406 "\\&\n"
407 "int\n"
408 "main(int argc, char *argv[])\n"
409 "{\n"
410 " clockid_t clockid;\n"
411 " struct timespec ts;\n"
412 "\\&\n"
413 " if (argc != 2) {\n"
414 " fprintf(stderr, \"%s E<lt>process-IDE<gt>\\[rs]n\", argv[0]);\n"
415 " exit(EXIT_FAILURE);\n"
416 " }\n"
417 "\\&\n"
418 " if (clock_getcpuclockid(atoi(argv[1]), &clockid) != 0) {\n"
419 " perror(\"clock_getcpuclockid\");\n"
420 " exit(EXIT_FAILURE);\n"
421 " }\n"
422 "\\&\n"
423 " if (clock_gettime(clockid, &ts) == -1) {\n"
424 " perror(\"clock_gettime\");\n"
425 " exit(EXIT_FAILURE);\n"
426 " }\n"
427 "\\&\n"
428 " printf(\"CPU-time clock for PID %s is %jd.%09ld seconds\\[rs]n\",\n"
429 " argv[1], (intmax_t) ts.tv_sec, ts.tv_nsec);\n"
430 " exit(EXIT_SUCCESS);\n"
431 "}\n"
432
433 #. SRC END
434 #. type: SH
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 #, no-wrap
438 msgid "SEE ALSO"
439 msgstr "انظر أيضًا"
440
441 #. type: Plain text
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 msgid ""
445 "B<clock_getres>(2), B<timer_create>(2), B<pthread_getcpuclockid>(3), "
446 "B<time>(7)"
447 msgstr ""
448 "B<clock_getres>(2), B<timer_create>(2), B<pthread_getcpuclockid>(3), "
449 "B<time>(7)"
450
451 #. type: TH
452 #: debian-trixie
453 #, no-wrap
454 msgid "2024-06-15"
455 msgstr "15 يونيو 2024"
456
457 #. type: TH
458 #: debian-trixie
459 #, no-wrap
460 msgid "Linux man-pages 6.9.1"
461 msgstr "صفحات دليل لينكس 6.9.1"
462
463 #. type: Plain text
464 #: debian-trixie
465 msgid "Standard C library (I<libc>, I<-lc>), since glibc 2.17"
466 msgstr "مكتبة C القياسية (I<libc>، I<-lc>)، منذ glibc 2.17"
467
468 #. type: Plain text
469 #: debian-trixie
470 msgid "Before glibc 2.17, Real-time library (I<librt>, I<-lrt>)"
471 msgstr "قبل glibc 2.17، مكتبة الوقت الحقيقي (I<librt>، I<-lrt>)"
472
473 #. type: TH
474 #: fedora-44 fedora-rawhide
475 #, no-wrap
476 msgid "2024-07-23"
477 msgstr "23 يوليو 2024"
478
479 #. type: TH
480 #: fedora-44 fedora-rawhide
481 #, no-wrap
482 msgid "Linux man-pages 6.13"
483 msgstr "صفحات دليل لينكس 6.13"
484
485 #. type: TH
486 #: mageia-cauldron
487 #, no-wrap
488 msgid "Linux man-pages 6.17"
489 msgstr "صفحات دليل لينكس 6.17"
490
491 #. type: TH
492 #: opensuse-leap-16-1 opensuse-tumbleweed
493 #, no-wrap
494 msgid "Linux man-pages (unreleased)"
495 msgstr "صفحات دليل لينكس (لم تصدر بعد)"