Debian Codegraph @

po/ar/man2/clock_getres.2.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-17 19:31+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_getres"
25 msgstr "clock_getres"
26
27 #. type: TH
28 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-03-07"
31 msgstr "7 مارس 2026"
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr "صفحات دليل لينكس 6.18"
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_getres, clock_gettime, clock_settime - clock and time functions"
50 msgstr "clock_getres, clock_gettime, clock_settime - دوال الساعة والوقت"
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 "مكتبة C القياسية (I<libc>,\\ I<-lc>)، منذ glibc 2.17"
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 "قبل glibc 2.17، مكتبة الوقت الحقيقي (I<librt>،\\ I<-lrt>)"
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 #, no-wrap
82 msgid "B<#include E<lt>time.hE<gt>>\n"
83 msgstr "B<#include E<lt>time.hE<gt>>\n"
84
85 #. type: Plain text
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 #, no-wrap
89 msgid "B<int clock_getres(clockid_t >I<clockid>B<, struct timespec *_Nullable >I<res>B<);>\n"
90 msgstr "B<int clock_getres(clockid_t >I<clockid>B<, struct timespec *_Nullable >I<res>B<);>\n"
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 ""
97 "B<int clock_gettime(clockid_t >I<clockid>B<, struct timespec *>I<tp>B<);>\n"
98 "B<int clock_settime(clockid_t >I<clockid>B<, const struct timespec *>I<tp>B<);>\n"
99 msgstr ""
100 "B<int clock_gettime(clockid_t >I<clockid>B<, struct timespec *>I<tp>B<);>\n"
101 "B<int clock_settime(clockid_t >I<clockid>B<, const struct timespec *>I<tp>B<);>\n"
102
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 msgid ""
107 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
108 msgstr ""
109 "متطلبات ماكروات اختبار الميزات لـ glibc (انظر B<feature_test_macros>(7)):"
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 msgid "B<clock_getres>(), B<clock_gettime>(), B<clock_settime>():"
115 msgstr "B<clock_getres>()، B<clock_gettime>()، B<clock_settime>():"
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 #, no-wrap
121 msgid " _POSIX_C_SOURCE E<gt>= 199309L\n"
122 msgstr " _POSIX_C_SOURCE E<gt>= 199309L\n"
123
124 #. type: SH
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 #, no-wrap
128 msgid "DESCRIPTION"
129 msgstr "الوصف"
130
131 #. type: Plain text
132 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
133 #: opensuse-tumbleweed
134 msgid ""
135 "The function B<clock_getres>() finds the resolution (precision) of the "
136 "specified clock I<clockid>, and, if I<res> is non-NULL, stores it in the "
137 "I<struct\\ timespec> pointed to by I<res>. The resolution of clocks depends "
138 "on the implementation and cannot be configured by a particular process. If "
139 "the time value pointed to by the argument I<tp> of B<clock_settime>() is "
140 "not a multiple of I<res>, then it is truncated to a multiple of I<res>."
141 msgstr ""
142 "تجد الدالة B<clock_getres>() دقة (إحكام) الساعة المحددة I<clockid>، وإذا كان "
143 "I<res> غير NULL، تخزنه في I<struct\\ timespec> المشار إليه بواسطة I<res>. "
144 "تعتمد دقة الساعات على التنفيذ ولا يمكن تكوينها بواسطة عملية معينة. إذا كانت "
145 "قيمة الوقت المشار إليها بواسطة الوسيطة I<tp> للدالة B<clock_settime>() ليست "
146 "مضاعفًا لـ I<res>، فسيتم اقتطاعها إلى مضاعف لـ I<res>."
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid ""
152 "The functions B<clock_gettime>() and B<clock_settime>() retrieve and set "
153 "the time of the specified clock I<clockid>."
154 msgstr ""
155 "تسترجع الدالتان B<clock_gettime>() و B<clock_settime>() وقت الساعة المحددة "
156 "I<clockid> وتضبطانه."
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 "The I<res> and I<tp> arguments are B<timespec>(3) structures."
162 msgstr "الوسيطتان I<res> و I<tp> هما بنيتان من نوع B<timespec>(3)."
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "The I<clockid> argument is the identifier of the particular clock on which "
169 "to act. A clock may be system-wide and hence visible for all processes, or "
170 "per-process if it measures time only within a single process."
171 msgstr ""
172 "الوسيطة I<clockid> هي معرف الساعة المحددة التي سيتم العمل عليها. قد تكون "
173 "الساعة على مستوى النظام وبالتالي مرئية لجميع العمليات، أو لكل عملية إذا كانت "
174 "تقيس الوقت فقط داخل عملية واحدة."
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 msgid ""
180 "All implementations support the system-wide real-time clock, which is "
181 "identified by B<CLOCK_REALTIME>. Its time represents seconds and "
182 "nanoseconds since the Epoch. When its time is changed, timers for a "
183 "relative interval are unaffected, but timers for an absolute point in time "
184 "are affected."
185 msgstr ""
186 "تدعم جميع التطبيقات ساعة الوقت الحقيقي على مستوى النظام، والتي يتم تعريفها "
187 "بواسطة B<CLOCK_REALTIME>. يمثل وقتها الثواني والنانوثواني منذ الحقبة. عندما "
188 "يتغير وقتها، لا تتأثر الموقتات لفاصل زمني نسبي، ولكن تتأثر الموقتات لنقطة "
189 "زمنية مطلقة."
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 msgid ""
195 "More clocks may be implemented. The interpretation of the corresponding "
196 "time values and the effect on timers is unspecified."
197 msgstr ""
198 "قد يتم تنفيذ ساعات إضافية. تفسير قيم الوقت المقابلة والتأثير على الموقتات "
199 "غير محدد."
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "Sufficiently recent versions of glibc and the Linux kernel support the "
206 "following clocks:"
207 msgstr ""
208 "تدعم الإصدارات الحديثة بما فيه الكفاية من glibc ونواة لينكس الساعات التالية:"
209
210 #. type: TP
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 #, no-wrap
214 msgid "B<CLOCK_REALTIME>"
215 msgstr "B<CLOCK_REALTIME>"
216
217 #. type: Plain text
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 msgid ""
221 "A settable system-wide clock that measures real (i.e., wall-clock) time. "
222 "Setting this clock requires appropriate privileges. This clock is affected "
223 "by discontinuous jumps in the system time (e.g., if the system administrator "
224 "manually changes the clock), and by frequency adjustments performed by NTP "
225 "and similar applications via B<adjtime>(3), B<adjtimex>(2), "
226 "B<clock_adjtime>(2), and B<ntp_adjtime>(3). This clock normally counts the "
227 "number of seconds since 1970-01-01 00:00:00 Coordinated Universal Time "
228 "(UTC) except that it ignores leap seconds; near a leap second it is "
229 "typically adjusted by NTP to stay roughly in sync with UTC."
230 msgstr ""
231 "ساعة قابلة للضبط على مستوى النظام تقيس الوقت الحقيقي (أي وقت الحائط). يتطلب "
232 "ضبط هذه الساعة صلاحيات مناسبة. تتأثر هذه الساعة بالقفزات غير المستمرة في وقت "
233 "النظام (مثلًا، إذا قام مسؤول النظام بتغيير الساعة يدويًا)، وبضبط التردد الذي "
234 "تقوم به NTP والتطبيقات المماثلة عبر B<adjtime>(3)، B<adjtimex>(2)، "
235 "B<clock_adjtime>(2)، و B<ntp_adjtime>(3). تحسب هذه الساعة عادةً عدد الثواني "
236 "منذ 1970-01-01 00:00:00 التوقيت العالمي المنسق (UTC) باستثناء أنها تتجاهل "
237 "الثواني الكبيسة؛ بالقرب من ثانية كبيسة، يتم ضبطها عادةً بواسطة NTP للبقاء "
238 "متزامنة تقريبًا مع UTC."
239
240 #. type: TP
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 #, no-wrap
244 msgid "B<CLOCK_REALTIME_ALARM> (since Linux 3.0; Linux-specific)"
245 msgstr "B<CLOCK_REALTIME_ALARM> (منذ لينكس 3.0؛ خاص بلينكس)"
246
247 #. type: Plain text
248 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
249 msgid ""
250 "Like B<CLOCK_REALTIME>, but settable only indirectly by setting "
251 "B<CLOCK_REALTIME>, and behaves differently if the system is suspended. See "
252 "B<timer_create>(2)."
253 msgstr ""
254 "مثل B<CLOCK_REALTIME>، ولكن قابل للضبط فقط بشكل غير مباشر عن طريق ضبط "
255 "B<CLOCK_REALTIME>، ويتصرف بشكل مختلف إذا كان النظام معلقًا. انظر "
256 "B<timer_create>(2)."
257
258 #. type: TP
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "B<CLOCK_REALTIME_COARSE> (since Linux 2.6.32; Linux-specific)"
263 msgstr "B<CLOCK_REALTIME_COARSE> (منذ لينكس 2.6.32؛ خاص بلينكس)"
264
265 #. Added in commit da15cfdae03351c689736f8d142618592e3cebc3
266 #. type: Plain text
267 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
268 msgid ""
269 "A faster but less precise version of B<CLOCK_REALTIME>. It is settable only "
270 "indirectly by setting B<CLOCK_REALTIME>. Use when you need very fast, but "
271 "not fine-grained timestamps. Requires per-architecture support, and "
272 "probably also architecture support for this flag in the B<vdso>(7)."
273 msgstr ""
274 "نسخة أسرع ولكن أقل دقة من B<CLOCK_REALTIME>. قابل للضبط فقط بشكل غير مباشر "
275 "عن طريق ضبط B<CLOCK_REALTIME>. استخدمه عندما تحتاج إلى طوابع زمنية سريعة "
276 "جدًا، ولكن ليست دقيقة. يتطلب دعمًا لكل بنية، وربما أيضًا دعم بنية لهذه العلامة "
277 "في B<vdso>(7)."
278
279 #. type: TP
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "B<CLOCK_TAI> (since Linux 3.10; Linux-specific)"
284 msgstr "B<CLOCK_TAI> (منذ لينكس 3.10؛ خاص بلينكس)"
285
286 #. commit 1ff3c9677bff7e468e0c487d0ffefe4e901d33f4
287 #. type: Plain text
288 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
289 msgid ""
290 "A system-wide clock derived from wall-clock time but counting leap seconds. "
291 "This clock does not experience clock adjustments caused by inserting leap "
292 "seconds as B<CLOCK_REALTIME> does. It counts seconds since 1970-01-01 00:00 "
293 "TAI (1969-12-31 23:59:50 UTC), so its epoch is ten seconds before "
294 "B<CLOCK_REALTIME>'s. However, its implementation requires help from NTP, "
295 "and if that help is not available it behaves like B<CLOCK_REALTIME> instead."
296 msgstr ""
297 "ساعة على مستوى النظام مشتقة من وقت الحائط ولكنها تحسب الثواني الكبيسة. لا "
298 "تواجه هذه الساعة تعديلات الساعة الناتجة عن إدراج الثواني الكبيسة كما تفعل "
299 "B<CLOCK_REALTIME>. تحسب الثواني منذ 1970-01-01 00:00 TAI (1969-12-31 "
300 "23:59:50 UTC)، لذا فإن حقبتها تسبق حقبة B<CLOCK_REALTIME> بعشر ثوانٍ. ومع "
301 "ذلك، يتطلب تنفيذها مساعدة من NTP، وإذا لم تكن هذه المساعدة متاحة، فإنها "
302 "تتصرف مثل B<CLOCK_REALTIME> بدلاً من ذلك."
303
304 #. type: Plain text
305 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
306 msgid ""
307 "Its relationship to B<CLOCK_REALTIME> for timestamps before 1972 is only "
308 "approximate, as the leap second regime was introduced on 1972-01-01. "
309 "Because leap seconds are planned to be discontinued, its value from now on "
310 "will likely remain exactly 37 seconds greater than B<CLOCK_REALTIME>'s for "
311 "many years, after which its offset from B<CLOCK_REALTIME>'s will likely be "
312 "adjusted by some other mechanism as yet unspecified. It is settable only "
313 "indirectly by setting B<CLOCK_REALTIME>."
314 msgstr ""
315 "علاقتها بـ B<CLOCK_REALTIME> للطوابع الزمنية قبل 1972 تقريبية فقط، حيث تم "
316 "تقديم نظام الثواني الكبيسة في 1972-01-01. نظرًا لأنه من المخطط إيقاف الثواني "
317 "الكبيسة، فمن المحتمل أن تظل قيمتها من الآن فصاعدًا أكبر بـ 37 ثانية بالضبط من "
318 "قيمة B<CLOCK_REALTIME> لسنوات عديدة، وبعد ذلك من المحتمل أن يتم ضبط إزاحتها "
319 "عن B<CLOCK_REALTIME> بواسطة آلية أخرى غير محددة بعد. قابلة للضبط فقط بشكل "
320 "غير مباشر عن طريق ضبط B<CLOCK_REALTIME>."
321
322 #. type: Plain text
323 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
324 msgid ""
325 "The acronym TAI stands for the French \"temps atomique international\", or "
326 "International Atomic Time."
327 msgstr ""
328 "يرمز الاختصار TAI إلى العبارة الفرنسية \"temps atomique international\"، أو "
329 "التوقيت الذري الدولي."
330
331 #. type: TP
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "B<CLOCK_MONOTONIC>"
336 msgstr "B<CLOCK_MONOTONIC>"
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 msgid ""
342 "A nonsettable system-wide clock that represents monotonic time since\\[em]as "
343 "described by POSIX\\[em]\"some unspecified point in the past\". On Linux, "
344 "that point corresponds to the number of seconds that the system has been "
345 "running since it was booted."
346 msgstr ""
347 "ساعة غير قابلة للضبط على مستوى النظام تمثل الوقت الرتيب منذ\\[em]كما هو "
348 "موصوف بواسطة POSIX\\[em]\"نقطة غير محددة في الماضي\". على لينكس، تتوافق تلك "
349 "النقطة مع عدد الثواني التي كان النظام يعمل فيها منذ تشغيله."
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 msgid ""
355 "The B<CLOCK_MONOTONIC> clock is not affected by discontinuous jumps in the "
356 "system time (e.g., if the system administrator manually changes the clock), "
357 "but is affected by frequency adjustments. This clock does not count time "
358 "that the system is suspended. All B<CLOCK_MONOTONIC> variants guarantee "
359 "that the time returned by consecutive calls will not go backwards, but "
360 "successive calls may\\[em]depending on the architecture\\[em]return "
361 "identical (not-increased) time values."
362 msgstr ""
363 "لا تتأثر ساعة B<CLOCK_MONOTONIC> بالقفزات غير المستمرة في وقت النظام (مثلًا، "
364 "إذا قام مسؤول النظام بتغيير الساعة يدويًا)، ولكنها تتأثر بضبط التردد. لا تحسب "
365 "هذه الساعة الوقت الذي يكون فيه النظام معلقًا. تضمن جميع متغيرات "
366 "B<CLOCK_MONOTONIC> أن الوقت الذي يتم إرجاعه بواسطة الاستدعاءات المتتالية لن "
367 "يعود إلى الوراء، ولكن الاستدعاءات المتتالية قد\\[em]اعتمادًا على "
368 "البنية\\[em]تُرجع قيم وقت متطابقة (غير متزايدة)."
369
370 #. type: TP
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 #, no-wrap
374 msgid "B<CLOCK_MONOTONIC_COARSE> (since Linux 2.6.32; Linux-specific)"
375 msgstr "B<CLOCK_MONOTONIC_COARSE> (منذ لينكس 2.6.32؛ خاص بلينكس)"
376
377 #. Added in commit da15cfdae03351c689736f8d142618592e3cebc3
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 msgid ""
382 "A faster but less precise version of B<CLOCK_MONOTONIC>. Use when you need "
383 "very fast, but not fine-grained timestamps. Requires per-architecture "
384 "support, and probably also architecture support for this flag in the "
385 "B<vdso>(7)."
386 msgstr ""
387 "نسخة أسرع ولكن أقل دقة من B<CLOCK_MONOTONIC>. استخدمه عندما تحتاج إلى طوابع "
388 "زمنية سريعة جدًا، ولكن ليست دقيقة. يتطلب دعمًا لكل بنية، وربما أيضًا دعم بنية "
389 "لهذه العلامة في B<vdso>(7)."
390
391 #. type: TP
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 #, no-wrap
395 msgid "B<CLOCK_MONOTONIC_RAW> (since Linux 2.6.28; Linux-specific)"
396 msgstr "B<CLOCK_MONOTONIC_RAW> (منذ لينكس 2.6.28؛ خاص بلينكس)"
397
398 #. Added in commit 2d42244ae71d6c7b0884b5664cf2eda30fb2ae68, John Stultz
399 #. type: Plain text
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 msgid ""
403 "Similar to B<CLOCK_MONOTONIC>, but provides access to a raw hardware-based "
404 "time that is not subject to frequency adjustments. This clock does not "
405 "count time that the system is suspended."
406 msgstr ""
407 "مشابه لـ B<CLOCK_MONOTONIC>، ولكنه يوفر الوصول إلى وقت خام قائم على العتاد "
408 "لا يخضع لضبط التردد. لا تحسب هذه الساعة الوقت الذي يكون فيه النظام معلقًا."
409
410 #. type: TP
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 #, no-wrap
414 msgid "B<CLOCK_BOOTTIME> (since Linux 2.6.39; Linux-specific)"
415 msgstr "B<CLOCK_BOOTTIME> (منذ لينكس 2.6.39؛ خاص بلينكس)"
416
417 #. commit 7fdd7f89006dd5a4c702fa0ce0c272345fa44ae0
418 #. commit 70a08cca1227dc31c784ec930099a4417a06e7d0
419 #. type: Plain text
420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
422 msgid ""
423 "A nonsettable system-wide clock that is identical to B<CLOCK_MONOTONIC>, "
424 "except that it also includes any time that the system is suspended. This "
425 "allows applications to get a suspend-aware monotonic clock without having to "
426 "deal with the complications of B<CLOCK_REALTIME>, which may have "
427 "discontinuities if the time is changed using B<settimeofday>(2) or similar."
428 msgstr ""
429 "ساعة نظامية غير قابلة للضبط مطابقة لـ B<CLOCK_MONOTONIC>، باستثناء أنها "
430 "تتضمن أيضًا أي وقت يكون فيه النظام معلقًا. يسمح هذا للتطبيقات بالحصول على "
431 "ساعة رتيبة واعية بالتعليق دون الحاجة إلى التعامل مع تعقيدات "
432 "B<CLOCK_REALTIME>، التي قد تحتوي على انقطاعات إذا تم تغيير الوقت باستخدام "
433 "B<settimeofday>(2) أو ما شابه."
434
435 #. type: TP
436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
438 #, no-wrap
439 msgid "B<CLOCK_BOOTTIME_ALARM> (since Linux 3.0; Linux-specific)"
440 msgstr "B<CLOCK_BOOTTIME_ALARM> (منذ لينكس 3.0؛ خاص بلينكس)"
441
442 #. type: Plain text
443 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
444 msgid ""
445 "Like B<CLOCK_BOOTTIME>, but behaves differently if the system is suspended. "
446 "See B<timer_create>(2)."
447 msgstr ""
448 "مثل B<CLOCK_BOOTTIME>، لكنه يتصرف بشكل مختلف إذا كان النظام معلقًا. انظر "
449 "B<timer_create>(2)."
450
451 #. type: TP
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 #, no-wrap
455 msgid "B<CLOCK_PROCESS_CPUTIME_ID> (since Linux 2.6.12)"
456 msgstr "B<CLOCK_PROCESS_CPUTIME_ID> (منذ لينكس 2.6.12)"
457
458 #. type: Plain text
459 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
460 msgid ""
461 "This clock measures CPU time consumed by this process (i.e., CPU time "
462 "consumed by all threads in the process). On Linux, this clock is not "
463 "settable."
464 msgstr ""
465 "تقيس هذه الساعة وقت وحدة المعالجة المركزية المستهلك بواسطة هذه العملية (أي "
466 "وقت وحدة المعالجة المركزية المستهلك بواسطة جميع الخيوط في العملية). في "
467 "لينكس، هذه الساعة غير قابلة للضبط."
468
469 #. type: TP
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 #, no-wrap
473 msgid "B<CLOCK_THREAD_CPUTIME_ID> (since Linux 2.6.12)"
474 msgstr "B<CLOCK_THREAD_CPUTIME_ID> (منذ لينكس 2.6.12)"
475
476 #. type: Plain text
477 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
478 msgid ""
479 "This clock measures CPU time consumed by this thread. On Linux, this clock "
480 "is not settable."
481 msgstr ""
482 "تقيس هذه الساعة وقت وحدة المعالجة المركزية المستهلك بواسطة هذا الخيط. في "
483 "لينكس، هذه الساعة غير قابلة للضبط."
484
485 #. type: Plain text
486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
488 msgid "Linux also implements dynamic clock instances as described below."
489 msgstr "ينفذ لينكس أيضًا مثيلات ساعة ديناميكية كما هو موضح أدناه."
490
491 #. type: SS
492 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
493 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
494 #, no-wrap
495 msgid "Dynamic clocks"
496 msgstr "الساعات الديناميكية"
497
498 #. type: Plain text
499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
501 msgid ""
502 "In addition to the hard-coded System-V style clock IDs described above, "
503 "Linux also supports POSIX clock operations on certain character devices. "
504 "Such devices are called \"dynamic\" clocks, and are supported since Linux "
505 "2.6.39."
506 msgstr ""
507 "بالإضافة إلى معرفات الساعة بنمط System-V المرمزة بشكل ثابت الموصوفة أعلاه، "
508 "يدعم لينكس أيضًا عمليات ساعة POSIX على أجهزة حرفية معينة. تسمى هذه الأجهزة "
509 "ساعات \"ديناميكية\"، وهي مدعومة منذ لينكس 2.6.39."
510
511 #. type: Plain text
512 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
513 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
514 msgid ""
515 "Using the appropriate macros, open file descriptors may be converted into "
516 "clock IDs and passed to B<clock_gettime>(), B<clock_settime>(), and "
517 "B<clock_adjtime>(2). The following example shows how to convert a file "
518 "descriptor into a dynamic clock ID."
519 msgstr ""
520 "باستخدام وحدات الماكرو المناسبة، يمكن تحويل واصفات الملفات المفتوحة إلى "
521 "معرفات ساعة وتمريرها إلى B<clock_gettime>() و B<clock_settime>() و "
522 "B<clock_adjtime>(2). يوضح المثال التالي كيفية تحويل واصف ملف إلى معرف ساعة "
523 "ديناميكي."
524
525 #. type: Plain text
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 #, no-wrap
529 msgid ""
530 "#define CLOCKFD 3\n"
531 "#define FD_TO_CLOCKID(fd) ((\\[ti](clockid_t) (fd) E<lt>E<lt> 3) | CLOCKFD)\n"
532 "#define CLOCKID_TO_FD(clk) ((unsigned int) \\[ti]((clk) E<gt>E<gt> 3))\n"
533 "\\&\n"
534 "struct timespec ts;\n"
535 "clockid_t clkid;\n"
536 "int fd;\n"
537 "\\&\n"
538 "fd = open(\"/dev/ptp0\", O_RDWR);\n"
539 "clkid = FD_TO_CLOCKID(fd);\n"
540 "clock_gettime(clkid, &ts);\n"
541 msgstr ""
542 "#define CLOCKFD 3\n"
543 "#define FD_TO_CLOCKID(fd) ((\\[ti](clockid_t) (fd) E<lt>E<lt> 3) | CLOCKFD)\n"
544 "#define CLOCKID_TO_FD(clk) ((unsigned int) \\[ti]((clk) E<gt>E<gt> 3))\n"
545 "\\&\n"
546 "struct timespec ts;\n"
547 "clockid_t clkid;\n"
548 "int fd;\n"
549 "\\&\n"
550 "fd = open(\"/dev/ptp0\", O_RDWR);\n"
551 "clkid = FD_TO_CLOCKID(fd);\n"
552 "clock_gettime(clkid, &ts);\n"
553
554 #. type: SH
555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
557 #, no-wrap
558 msgid "RETURN VALUE"
559 msgstr "قيمة الإرجاع"
560
561 #. type: Plain text
562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
564 msgid ""
565 "B<clock_gettime>(), B<clock_settime>(), and B<clock_getres>() return 0 for "
566 "success. On error, -1 is returned and I<errno> is set to indicate the error."
567 msgstr ""
568 "تعيد B<clock_gettime>() و B<clock_settime>() و B<clock_getres>() 0 عند "
569 "النجاح. عند الخطأ، يتم إرجاع -1 ويتم تعيين I<errno> للإشارة إلى الخطأ."
570
571 #. type: SH
572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
574 #, no-wrap
575 msgid "ERRORS"
576 msgstr "الأخطاء"
577
578 #. type: TP
579 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
580 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
581 #, no-wrap
582 msgid "B<EACCES>"
583 msgstr "B<EACCES>"
584
585 #. type: Plain text
586 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
587 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
588 msgid ""
589 "B<clock_settime>() does not have write permission for the dynamic POSIX "
590 "clock device indicated."
591 msgstr ""
592 "لا يمتلك B<clock_settime>() إذن الكتابة لجهاز الساعة POSIX الديناميكي المشار "
593 "إليه."
594
595 #. type: TP
596 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
597 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
598 #, no-wrap
599 msgid "B<EFAULT>"
600 msgstr "B<EFAULT>"
601
602 #. type: Plain text
603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
605 msgid "I<tp> points outside the accessible address space."
606 msgstr "يشير I<tp> إلى خارج مساحة العنوان القابلة للوصول."
607
608 #. type: TP
609 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
610 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
611 #, no-wrap
612 msgid "B<EINVAL>"
613 msgstr "B<EINVAL>"
614
615 #. Linux also gives this error on attempts to set CLOCK_PROCESS_CPUTIME_ID
616 #. and CLOCK_THREAD_CPUTIME_ID, when probably the proper error should be
617 #. EPERM.
618 #. type: Plain text
619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
621 msgid ""
622 "The I<clockid> specified is invalid for one of two reasons. Either the "
623 "System-V style hard coded positive value is out of range, or the dynamic "
624 "clock ID does not refer to a valid instance of a clock object."
625 msgstr ""
626 "I<clockid> المحدد غير صالح لأحد سببين. إما أن القيمة الموجبة المرمزة بشكل "
627 "ثابت بنمط System-V خارج النطاق، أو أن معرف الساعة الديناميكي لا يشير إلى "
628 "مثيل صالح لكائن ساعة."
629
630 #. type: Plain text
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 msgid ""
634 "(B<clock_settime>()): I<tp.tv_sec> is negative or I<tp.tv_nsec> is outside "
635 "the range [0, 999,999,999]."
636 msgstr ""
637 "(B<clock_settime>()): I<tp.tv_sec> سالب أو I<tp.tv_nsec> خارج النطاق [0, "
638 "999,999,999]."
639
640 #. type: Plain text
641 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
642 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
643 msgid ""
644 "The I<clockid> specified in a call to B<clock_settime>() is not a settable "
645 "clock."
646 msgstr ""
647 "I<clockid> المحدد في استدعاء لـ B<clock_settime>() ليس ساعة قابلة للضبط."
648
649 #. type: TP
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 #, no-wrap
653 msgid "B<EINVAL> (since Linux 4.3)"
654 msgstr "B<EINVAL> (منذ لينكس 4.3)"
655
656 #. commit e1d7ba8735551ed79c7a0463a042353574b96da3
657 #. type: Plain text
658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
660 msgid ""
661 "A call to B<clock_settime>() with a I<clockid> of B<CLOCK_REALTIME> "
662 "attempted to set the time to a value less than the current value of the "
663 "B<CLOCK_MONOTONIC> clock."
664 msgstr ""
665 "حاول استدعاء لـ B<clock_settime>() مع I<clockid> بقيمة B<CLOCK_REALTIME> ضبط "
666 "الوقت على قيمة أقل من القيمة الحالية لساعة B<CLOCK_MONOTONIC>."
667
668 #. type: TP
669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
671 #, no-wrap
672 msgid "B<ENODEV>"
673 msgstr "B<ENODEV>"
674
675 #. type: Plain text
676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
677 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
678 msgid ""
679 "The hot-pluggable device (like USB for example) represented by a dynamic "
680 "I<clk_id> has disappeared after its character device was opened."
681 msgstr ""
682 "اختفى الجهاز القابل للتبديل السريع (مثل USB على سبيل المثال) الممثل بواسطة "
683 "I<clk_id> ديناميكي بعد فتح جهازه الحرفي."
684
685 #. type: TP
686 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
687 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
688 #, no-wrap
689 msgid "B<ENOTSUP>"
690 msgstr "B<ENOTSUP>"
691
692 #. type: Plain text
693 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
694 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
695 msgid ""
696 "The operation is not supported by the dynamic POSIX clock device specified."
697 msgstr "العملية غير مدعومة من قبل جهاز الساعة POSIX الديناميكي المحدد."
698
699 #. type: TP
700 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
701 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
702 #, no-wrap
703 msgid "B<EOVERFLOW>"
704 msgstr "B<EOVERFLOW>"
705
706 #. type: Plain text
707 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
708 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
709 msgid ""
710 "The timestamp would not fit in I<time_t> range. This can happen if an "
711 "executable with 32-bit I<time_t> is run on a 64-bit kernel when the time is "
712 "2038-01-19 03:14:08 UTC or later. However, when the system time is out of "
713 "I<time_t> range in other situations, the behavior is undefined."
714 msgstr ""
715 "الطابع الزمني لن يتسع في نطاق I<time_t>. يمكن أن يحدث هذا إذا تم تشغيل ملف "
716 "تنفيذي مع I<time_t> 32 بت على نواة 64 بت عندما يكون الوقت 2038-01-19 "
717 "03:14:08 UTC أو لاحقًا. ومع ذلك، عندما يكون وقت النظام خارج نطاق I<time_t> "
718 "في حالات أخرى، يكون السلوك غير محدد."
719
720 #. type: TP
721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
723 #, no-wrap
724 msgid "B<EPERM>"
725 msgstr "B<EPERM>"
726
727 #. type: Plain text
728 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
729 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
730 msgid ""
731 "B<clock_settime>() does not have permission to set the clock indicated."
732 msgstr "لا يمتلك B<clock_settime>() الإذن لضبط الساعة المشار إليها."
733
734 #. type: SH
735 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
736 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
737 #, no-wrap
738 msgid "ATTRIBUTES"
739 msgstr "السمات"
740
741 #. type: Plain text
742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
744 msgid ""
745 "For an explanation of the terms used in this section, see B<attributes>(7)."
746 msgstr ""
747 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
748
749 #. type: tbl table
750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
752 #, no-wrap
753 msgid "Interface"
754 msgstr "الواجهة"
755
756 #. type: tbl table
757 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
758 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
759 #, no-wrap
760 msgid "Attribute"
761 msgstr "السمة"
762
763 #. type: tbl table
764 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
765 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
766 #, no-wrap
767 msgid "Value"
768 msgstr "القيمة"
769
770 #. type: tbl table
771 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
772 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
773 #, no-wrap
774 msgid ".na\n"
775 msgstr ".na\n"
776
777 #. type: tbl table
778 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
779 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
780 #, no-wrap
781 msgid ".nh\n"
782 msgstr ".nh\n"
783
784 #. type: tbl table
785 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
786 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
787 #, no-wrap
788 msgid ""
789 "B<clock_getres>(),\n"
790 "B<clock_gettime>(),\n"
791 "B<clock_settime>()"
792 msgstr ""
793 "B<clock_getres>(),\n"
794 "B<clock_gettime>(),\n"
795 "B<clock_settime>()"
796
797 #. type: tbl table
798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
800 #, no-wrap
801 msgid "Thread safety"
802 msgstr "سلامة الخيوط"
803
804 #. type: tbl table
805 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
806 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
807 #, no-wrap
808 msgid "MT-Safe"
809 msgstr "MT-Safe"
810
811 #. type: SH
812 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
813 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
814 #, no-wrap
815 msgid "VERSIONS"
816 msgstr "الإصدارات"
817
818 #. type: Plain text
819 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
820 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
821 msgid "POSIX.1 specifies the following:"
822 msgstr "يحدد POSIX.1 ما يلي:"
823
824 #. type: Plain text
825 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
826 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
827 msgid ""
828 "Setting the value of the B<CLOCK_REALTIME> clock via B<clock_settime>() "
829 "shall have no effect on threads that are blocked waiting for a relative time "
830 "service based upon this clock, including the B<nanosleep>() function; nor "
831 "on the expiration of relative timers based upon this clock. Consequently, "
832 "these time services shall expire when the requested relative interval "
833 "elapses, independently of the new or old value of the clock."
834 msgstr ""
835 "ضبط قيمة ساعة B<CLOCK_REALTIME> عبر B<clock_settime>() لن يكون له أي تأثير "
836 "على الخيوط المحظورة في انتظار خدمة وقت نسبي بناءً على هذه الساعة، بما في ذلك "
837 "دالة B<nanosleep>()؛ ولا على انتهاء صلاحية المؤقتات النسبية بناءً على هذه "
838 "الساعة. وبالتالي، ستنتهي صلاحية خدمات الوقت هذه عندما ينقضي الفاصل الزمني "
839 "النسبي المطلوب، بغض النظر عن القيمة الجديدة أو القديمة للساعة."
840
841 #. See http://bugzilla.kernel.org/show_bug.cgi?id=11972
842 #. type: Plain text
843 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
844 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
845 msgid ""
846 "According to POSIX.1-2001, a process with \"appropriate privileges\" may set "
847 "the B<CLOCK_PROCESS_CPUTIME_ID> and B<CLOCK_THREAD_CPUTIME_ID> clocks using "
848 "B<clock_settime>(). On Linux, these clocks are not settable (i.e., no "
849 "process has \"appropriate privileges\")."
850 msgstr ""
851 "وفقًا لـ POSIX.1-2001، يمكن لعملية ذات \"امتيازات مناسبة\" ضبط ساعتي "
852 "B<CLOCK_PROCESS_CPUTIME_ID> و B<CLOCK_THREAD_CPUTIME_ID> باستخدام "
853 "B<clock_settime>(). في لينكس، هذه الساعات غير قابلة للضبط (أي لا توجد عملية "
854 "لها \"امتيازات مناسبة\")."
855
856 #. type: SS
857 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
858 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
859 #, no-wrap
860 msgid "C library/kernel differences"
861 msgstr "الاختلافات بين مكتبة C والنواة"
862
863 #. type: Plain text
864 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
865 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
866 msgid ""
867 "On some architectures, an implementation of B<clock_gettime>() is provided "
868 "in the B<vdso>(7)."
869 msgstr "في بعض البنى، يتم توفير تطبيق لـ B<clock_gettime>() في B<vdso>(7)."
870
871 #. type: SH
872 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
873 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
874 #, no-wrap
875 msgid "STANDARDS"
876 msgstr "المعايير"
877
878 #. type: Plain text
879 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
880 #: opensuse-tumbleweed
881 msgid "POSIX.1-2024."
882 msgstr "POSIX.1-2024."
883
884 #. type: SH
885 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
886 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
887 #, no-wrap
888 msgid "HISTORY"
889 msgstr "التاريخ"
890
891 #. type: Plain text
892 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
893 #: opensuse-tumbleweed
894 msgid "POSIX.1-1996, Linux 2.6."
895 msgstr "POSIX.1-1996، لينكس 2.6."
896
897 #. type: Plain text
898 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
899 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
900 msgid ""
901 "On POSIX systems on which these functions are available, the symbol "
902 "B<_POSIX_TIMERS> is defined in I<E<lt>unistd.hE<gt>> to a value greater than "
903 "0. POSIX.1-2008 makes these functions mandatory."
904 msgstr ""
905 "في أنظمة POSIX التي تتوفر فيها هذه الدوال، يتم تعريف الرمز B<_POSIX_TIMERS> "
906 "في I<E<lt>unistd.hE<gt>> بقيمة أكبر من 0. يجعل POSIX.1-2008 هذه الدوال "
907 "إلزامية."
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 "The symbols B<_POSIX_MONOTONIC_CLOCK>, B<_POSIX_CPUTIME>, "
914 "B<_POSIX_THREAD_CPUTIME> indicate that B<CLOCK_MONOTONIC>, "
915 "B<CLOCK_PROCESS_CPUTIME_ID>, B<CLOCK_THREAD_CPUTIME_ID> are available. (See "
916 "also B<sysconf>(3).)"
917 msgstr ""
918 "تشير الرموز B<_POSIX_MONOTONIC_CLOCK> و B<_POSIX_CPUTIME> و "
919 "B<_POSIX_THREAD_CPUTIME> إلى أن B<CLOCK_MONOTONIC> و "
920 "B<CLOCK_PROCESS_CPUTIME_ID> و B<CLOCK_THREAD_CPUTIME_ID> متوفرة. (انظر أيضًا "
921 "B<sysconf>(3).)"
922
923 #. type: Plain text
924 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
925 #: opensuse-tumbleweed
926 msgid "POSIX.1-2024 made B<CLOCK_MONOTONIC> mandatory."
927 msgstr "جعل POSIX.1-2024 B<CLOCK_MONOTONIC> إلزاميًا."
928
929 #. type: SS
930 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
931 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
932 #, no-wrap
933 msgid "Historical note for SMP systems"
934 msgstr "ملاحظة تاريخية لأنظمة SMP"
935
936 #. type: Plain text
937 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
938 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
939 msgid ""
940 "Before Linux added kernel support for B<CLOCK_PROCESS_CPUTIME_ID> and "
941 "B<CLOCK_THREAD_CPUTIME_ID>, glibc implemented these clocks on many platforms "
942 "using timer registers from the CPUs (TSC on i386, AR.ITC on Itanium). These "
943 "registers may differ between CPUs and as a consequence these clocks may "
944 "return B<bogus results> if a process is migrated to another CPU."
945 msgstr ""
946 "قبل أن يضيف لينكس دعم النواة لـ B<CLOCK_PROCESS_CPUTIME_ID> و "
947 "B<CLOCK_THREAD_CPUTIME_ID>، نفذت glibc هذه الساعات على العديد من المنصات "
948 "باستخدام مسجلات المؤقت من وحدات المعالجة المركزية (TSC على i386، AR.ITC على "
949 "Itanium). قد تختلف هذه المسجلات بين وحدات المعالجة المركزية، وكنتيجة لذلك قد "
950 "تعيد هذه الساعات B<نتائج زائفة> إذا تم ترحيل عملية إلى وحدة معالجة مركزية "
951 "أخرى."
952
953 #. type: Plain text
954 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
955 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
956 msgid ""
957 "If the CPUs in an SMP system have different clock sources, then there is no "
958 "way to maintain a correlation between the timer registers since each CPU "
959 "will run at a slightly different frequency. If that is the case, then "
960 "I<clock_getcpuclockid(0)> will return B<ENOENT> to signify this condition. "
961 "The two clocks will then be useful only if it can be ensured that a process "
962 "stays on a certain CPU."
963 msgstr ""
964 "إذا كانت وحدات المعالجة المركزية في نظام SMP تمتلك مصادر ساعة مختلفة، فلا "
965 "توجد طريقة للحفاظ على ترابط بين مسجلات المؤقت لأن كل وحدة معالجة مركزية "
966 "ستعمل بتردد مختلف قليلاً. إذا كان الأمر كذلك، فإن I<clock_getcpuclockid(0)> "
967 "سيعيد B<ENOENT> للإشارة إلى هذه الحالة. عندها ستكون الساعتان مفيدتين فقط إذا "
968 "أمكن ضمان بقاء عملية على وحدة معالجة مركزية معينة."
969
970 #. type: Plain text
971 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
972 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
973 msgid ""
974 "The processors in an SMP system do not start all at exactly the same time "
975 "and therefore the timer registers are typically running at an offset. Some "
976 "architectures include code that attempts to limit these offsets on bootup. "
977 "However, the code cannot guarantee to accurately tune the offsets. glibc "
978 "contains no provisions to deal with these offsets (unlike the Linux "
979 "Kernel). Typically these offsets are small and therefore the effects may be "
980 "negligible in most cases."
981 msgstr ""
982 "لا تبدأ المعالجات في نظام SMP جميعها في نفس الوقت تمامًا، وبالتالي تعمل "
983 "مسجلات المؤقت عادةً بإزاحة. تتضمن بعض البنيات كودًا يحاول الحد من هذه الإزاحات "
984 "عند الإقلاع. ومع ذلك، لا يمكن للكود ضمان ضبط الإزاحات بدقة. لا تحتوي glibc "
985 "على أحكام للتعامل مع هذه الإزاحات (على عكس نواة لينكس). عادةً ما تكون هذه "
986 "الإزاحات صغيرة، وبالتالي قد تكون التأثيرات ضئيلة في معظم الحالات."
987
988 #. type: Plain text
989 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
990 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
991 msgid ""
992 "Since glibc 2.4, the wrapper functions for the system calls described in "
993 "this page avoid the abovementioned problems by employing the kernel "
994 "implementation of B<CLOCK_PROCESS_CPUTIME_ID> and "
995 "B<CLOCK_THREAD_CPUTIME_ID>, on systems that provide such an implementation "
996 "(i.e., Linux 2.6.12 and later)."
997 msgstr ""
998 "منذ glibc 2.4، تتجنب دوال التغليف لاستدعاءات النظام الموصوفة في هذه الصفحة "
999 "المشاكل المذكورة أعلاه باستخدام تنفيذ النواة لـ B<CLOCK_PROCESS_CPUTIME_ID> "
1000 "و B<CLOCK_THREAD_CPUTIME_ID>، على الأنظمة التي توفر مثل هذا التنفيذ (أي "
1001 "لينكس 2.6.12 والإصدارات الأحدث)."
1002
1003 #. type: SH
1004 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1005 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1006 #, no-wrap
1007 msgid "EXAMPLES"
1008 msgstr "أمثلة"
1009
1010 #. type: Plain text
1011 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1012 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1013 msgid ""
1014 "The program below demonstrates the use of B<clock_gettime>() and "
1015 "B<clock_getres>() with various clocks. This is an example of what we might "
1016 "see when running the program:"
1017 msgstr ""
1018 "يوضح البرنامج أدناه استخدام B<clock_gettime>() و B<clock_getres>() مع ساعات "
1019 "مختلفة. هذا مثال لما قد نراه عند تشغيل البرنامج:"
1020
1021 #. type: Plain text
1022 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1023 #: opensuse-tumbleweed
1024 #, no-wrap
1025 msgid ""
1026 "$B< ./clock_times x>;\n"
1027 "CLOCK_REALTIME : 1585985459.446 (18356 days + 7h 30m 59s)\n"
1028 " resolution: 0.000000001\n"
1029 "CLOCK_TAI : 1585985496.447 (18356 days + 7h 31m 36s)\n"
1030 " resolution: 0.000000001\n"
1031 "CLOCK_MONOTONIC: 52395.722 (14h 33m 15s)\n"
1032 " resolution: 0.000000001\n"
1033 "CLOCK_BOOTTIME : 72691.019 (20h 11m 31s)\n"
1034 " resolution: 0.000000001\n"
1035 msgstr ""
1036 "$B< ./clock_times x>;\n"
1037 "CLOCK_REALTIME : 1585985459.446 (18356 days + 7h 30m 59s)\n"
1038 " resolution: 0.000000001\n"
1039 "CLOCK_TAI : 1585985496.447 (18356 days + 7h 31m 36s)\n"
1040 " resolution: 0.000000001\n"
1041 "CLOCK_MONOTONIC: 52395.722 (14h 33m 15s)\n"
1042 " resolution: 0.000000001\n"
1043 "CLOCK_BOOTTIME : 72691.019 (20h 11m 31s)\n"
1044 " resolution: 0.000000001\n"
1045
1046 #. type: SS
1047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1048 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1049 #, no-wrap
1050 msgid "Program source"
1051 msgstr "مصدر البرنامج"
1052
1053 #. type: Plain text
1054 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1055 #: opensuse-tumbleweed
1056 #, no-wrap
1057 msgid ""
1058 "/* clock_times.c\n"
1059 "\\&\n"
1060 " Licensed under GNU General Public License v2 or later.\n"
1061 "*/\n"
1062 "#define _XOPEN_SOURCE 600\n"
1063 "#include E<lt>stdbool.hE<gt>\n"
1064 "#include E<lt>stdint.hE<gt>\n"
1065 "#include E<lt>stdio.hE<gt>\n"
1066 "#include E<lt>stdlib.hE<gt>\n"
1067 "#include E<lt>sys/types.hE<gt>\n"
1068 "#include E<lt>time.hE<gt>\n"
1069 "\\&\n"
1070 "#define SECS_IN_DAY (24 * 60 * 60)\n"
1071 "\\&\n"
1072 "static void\n"
1073 "displayClock(clockid_t clock, const char *name, bool showRes)\n"
1074 "{\n"
1075 " long days;\n"
1076 " struct timespec ts;\n"
1077 "\\&\n"
1078 " if (clock_gettime(clock, &ts) == -1) {\n"
1079 " perror(\"clock_gettime\");\n"
1080 " exit(EXIT_FAILURE);\n"
1081 " }\n"
1082 "\\&\n"
1083 " printf(\"%-15s: %10jd.%03ld (\", name,\n"
1084 " (intmax_t) ts.tv_sec, ts.tv_nsec / 1000000);\n"
1085 "\\&\n"
1086 " days = ts.tv_sec / SECS_IN_DAY;\n"
1087 " if (days E<gt> 0)\n"
1088 " printf(\"%ld days + \", days);\n"
1089 "\\&\n"
1090 " printf(\"%2dh %2dm %2ds\",\n"
1091 " (int) (ts.tv_sec % SECS_IN_DAY) / 3600,\n"
1092 " (int) (ts.tv_sec % 3600) / 60,\n"
1093 " (int) ts.tv_sec % 60);\n"
1094 " printf(\")\\[rs]n\");\n"
1095 "\\&\n"
1096 " if (clock_getres(clock, &ts) == -1) {\n"
1097 " perror(\"clock_getres\");\n"
1098 " exit(EXIT_FAILURE);\n"
1099 " }\n"
1100 "\\&\n"
1101 " if (showRes)\n"
1102 " printf(\" resolution: %10jd.%09ld\\[rs]n\",\n"
1103 " (intmax_t) ts.tv_sec, ts.tv_nsec);\n"
1104 "}\n"
1105 "\\&\n"
1106 "int\n"
1107 "main(int argc, char *[])\n"
1108 "{\n"
1109 " bool showRes = argc E<gt> 1;\n"
1110 "\\&\n"
1111 " displayClock(CLOCK_REALTIME, \"CLOCK_REALTIME\", showRes);\n"
1112 "#ifdef CLOCK_TAI\n"
1113 " displayClock(CLOCK_TAI, \"CLOCK_TAI\", showRes);\n"
1114 "#endif\n"
1115 " displayClock(CLOCK_MONOTONIC, \"CLOCK_MONOTONIC\", showRes);\n"
1116 "#ifdef CLOCK_BOOTTIME\n"
1117 " displayClock(CLOCK_BOOTTIME, \"CLOCK_BOOTTIME\", showRes);\n"
1118 "#endif\n"
1119 " exit(EXIT_SUCCESS);\n"
1120 "}\n"
1121 msgstr ""
1122 "/* clock_times.c\n"
1123 "\\&\n"
1124 " Licensed under GNU General Public License v2 or later.\n"
1125 "*/\n"
1126 "#define _XOPEN_SOURCE 600\n"
1127 "#include E<lt>stdbool.hE<gt>\n"
1128 "#include E<lt>stdint.hE<gt>\n"
1129 "#include E<lt>stdio.hE<gt>\n"
1130 "#include E<lt>stdlib.hE<gt>\n"
1131 "#include E<lt>sys/types.hE<gt>\n"
1132 "#include E<lt>time.hE<gt>\n"
1133 "\\&\n"
1134 "#define SECS_IN_DAY (24 * 60 * 60)\n"
1135 "\\&\n"
1136 "static void\n"
1137 "displayClock(clockid_t clock, const char *name, bool showRes)\n"
1138 "{\n"
1139 " long days;\n"
1140 " struct timespec ts;\n"
1141 "\\&\n"
1142 " if (clock_gettime(clock, &ts) == -1) {\n"
1143 " perror(\"clock_gettime\");\n"
1144 " exit(EXIT_FAILURE);\n"
1145 " }\n"
1146 "\\&\n"
1147 " printf(\"%-15s: %10jd.%03ld (\", name,\n"
1148 " (intmax_t) ts.tv_sec, ts.tv_nsec / 1000000);\n"
1149 "\\&\n"
1150 " days = ts.tv_sec / SECS_IN_DAY;\n"
1151 " if (days E<gt> 0)\n"
1152 " printf(\"%ld days + \", days);\n"
1153 "\\&\n"
1154 " printf(\"%2dh %2dm %2ds\",\n"
1155 " (int) (ts.tv_sec % SECS_IN_DAY) / 3600,\n"
1156 " (int) (ts.tv_sec % 3600) / 60,\n"
1157 " (int) ts.tv_sec % 60);\n"
1158 " printf(\")\\[rs]n\");\n"
1159 "\\&\n"
1160 " if (clock_getres(clock, &ts) == -1) {\n"
1161 " perror(\"clock_getres\");\n"
1162 " exit(EXIT_FAILURE);\n"
1163 " }\n"
1164 "\\&\n"
1165 " if (showRes)\n"
1166 " printf(\" resolution: %10jd.%09ld\\[rs]n\",\n"
1167 " (intmax_t) ts.tv_sec, ts.tv_nsec);\n"
1168 "}\n"
1169 "\\&\n"
1170 "int\n"
1171 "main(int argc, char *[])\n"
1172 "{\n"
1173 " bool showRes = argc E<gt> 1;\n"
1174 "\\&\n"
1175 " displayClock(CLOCK_REALTIME, \"CLOCK_REALTIME\", showRes);\n"
1176 "#ifdef CLOCK_TAI\n"
1177 " displayClock(CLOCK_TAI, \"CLOCK_TAI\", showRes);\n"
1178 "#endif\n"
1179 " displayClock(CLOCK_MONOTONIC, \"CLOCK_MONOTONIC\", showRes);\n"
1180 "#ifdef CLOCK_BOOTTIME\n"
1181 " displayClock(CLOCK_BOOTTIME, \"CLOCK_BOOTTIME\", showRes);\n"
1182 "#endif\n"
1183 " exit(EXIT_SUCCESS);\n"
1184 "}\n"
1185
1186 #. SRC END
1187 #. type: SH
1188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1190 #, no-wrap
1191 msgid "SEE ALSO"
1192 msgstr "انظر أيضًا"
1193
1194 #. type: Plain text
1195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1197 msgid ""
1198 "B<date>(1), B<gettimeofday>(2), B<settimeofday>(2), B<time>(2), "
1199 "B<adjtime>(3), B<clock_getcpuclockid>(3), B<ctime>(3), B<ftime>(3), "
1200 "B<pthread_getcpuclockid>(3), B<sysconf>(3), B<timespec>(3), B<time>(7), "
1201 "B<time_namespaces>(7), B<vdso>(7), B<hwclock>(8)"
1202 msgstr ""
1203 "B<date>(1), B<gettimeofday>(2), B<settimeofday>(2), B<time>(2), "
1204 "B<adjtime>(3), B<clock_getcpuclockid>(3), B<ctime>(3), B<ftime>(3), "
1205 "B<pthread_getcpuclockid>(3), B<sysconf>(3), B<timespec>(3), B<time>(7), "
1206 "B<time_namespaces>(7), B<vdso>(7), B<hwclock>(8)"
1207
1208 #. type: TH
1209 #: debian-trixie
1210 #, no-wrap
1211 msgid "2024-06-15"
1212 msgstr "15 يونيو 2024"
1213
1214 #. type: TH
1215 #: debian-trixie
1216 #, no-wrap
1217 msgid "Linux man-pages 6.9.1"
1218 msgstr "صفحات دليل لينكس 6.9.1"
1219
1220 #. type: Plain text
1221 #: debian-trixie
1222 msgid "Standard C library (I<libc>, I<-lc>), since glibc 2.17"
1223 msgstr "مكتبة C القياسية (I<libc>، I<-lc>)، منذ glibc 2.17"
1224
1225 #. type: Plain text
1226 #: debian-trixie
1227 msgid "Before glibc 2.17, Real-time library (I<librt>, I<-lrt>)"
1228 msgstr "قبل glibc 2.17، مكتبة الوقت الحقيقي (I<librt>، I<-lrt>)"
1229
1230 #. type: Plain text
1231 #: debian-trixie fedora-44 fedora-rawhide
1232 msgid ""
1233 "The function B<clock_getres>() finds the resolution (precision) of the "
1234 "specified clock I<clockid>, and, if I<res> is non-NULL, stores it in the "
1235 "I<struct timespec> pointed to by I<res>. The resolution of clocks depends "
1236 "on the implementation and cannot be configured by a particular process. If "
1237 "the time value pointed to by the argument I<tp> of B<clock_settime>() is "
1238 "not a multiple of I<res>, then it is truncated to a multiple of I<res>."
1239 msgstr ""
1240 "تجد الدالة B<clock_getres>() الدقة (الضبط) للساعة المحددة I<clockid>، وإذا "
1241 "كان I<res> غير NULL، تخزنها في I<struct timespec> المشار إليه بواسطة I<res>. "
1242 "تعتمد دقة الساعات على التنفيذ ولا يمكن تكوينها بواسطة عملية معينة. إذا كانت "
1243 "قيمة الوقت المشار إليها بواسطة الوسيطة I<tp> لـ B<clock_settime>() ليست "
1244 "مضاعفًا لـ I<res>، فسيتم اقتطاعها إلى مضاعف لـ I<res>."
1245
1246 #. type: Plain text
1247 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1248 msgid ""
1249 "Like B<CLOCK_REALTIME>, but not settable. See B<timer_create>(2) for "
1250 "further details."
1251 msgstr ""
1252 "مثل B<CLOCK_REALTIME>، ولكنها غير قابلة للضبط. انظر B<timer_create>(2) لمزيد "
1253 "من التفاصيل."
1254
1255 #. Added in commit da15cfdae03351c689736f8d142618592e3cebc3
1256 #. type: Plain text
1257 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1258 msgid ""
1259 "A faster but less precise version of B<CLOCK_REALTIME>. This clock is not "
1260 "settable. Use when you need very fast, but not fine-grained timestamps. "
1261 "Requires per-architecture support, and probably also architecture support "
1262 "for this flag in the B<vdso>(7)."
1263 msgstr ""
1264 "نسخة أسرع ولكن أقل دقة من B<CLOCK_REALTIME>. هذه الساعة غير قابلة للضبط. "
1265 "استخدمها عندما تحتاج إلى طوابع زمنية سريعة جدًا، ولكنها ليست دقيقة. تتطلب "
1266 "دعمًا لكل بنية، وربما أيضًا دعم بنية لهذه العلامة في B<vdso>(7)."
1267
1268 #. commit 1ff3c9677bff7e468e0c487d0ffefe4e901d33f4
1269 #. type: Plain text
1270 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1271 msgid ""
1272 "A nonsettable system-wide clock derived from wall-clock time but counting "
1273 "leap seconds. This clock does not experience discontinuities or frequency "
1274 "adjustments caused by inserting leap seconds as B<CLOCK_REALTIME> does."
1275 msgstr ""
1276 "ساعة غير قابلة للضبط على مستوى النظام مشتقة من وقت الحائط ولكنها تعد الثواني "
1277 "الكبيسة. لا تعاني هذه الساعة من انقطاعات أو تعديلات تردد ناتجة عن إدراج "
1278 "الثواني الكبيسة كما تفعل B<CLOCK_REALTIME>."
1279
1280 #. type: Plain text
1281 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1282 msgid "The acronym TAI refers to International Atomic Time."
1283 msgstr "يشير الاختصار TAI إلى التوقيت الذري الدولي."
1284
1285 #. type: Plain text
1286 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1287 msgid "Like B<CLOCK_BOOTTIME>. See B<timer_create>(2) for further details."
1288 msgstr "مثل B<CLOCK_BOOTTIME>. انظر B<timer_create>(2) لمزيد من التفاصيل."
1289
1290 #. type: Plain text
1291 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1292 msgid ""
1293 "This is a clock that measures CPU time consumed by this process (i.e., CPU "
1294 "time consumed by all threads in the process). On Linux, this clock is not "
1295 "settable."
1296 msgstr ""
1297 "هذه ساعة تقيس وقت وحدة المعالجة المركزية المستهلك بواسطة هذه العملية (أي وقت "
1298 "وحدة المعالجة المركزية المستهلك بواسطة جميع الخيوط في العملية). على لينكس، "
1299 "هذه الساعة غير قابلة للضبط."
1300
1301 #. type: Plain text
1302 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1303 msgid ""
1304 "This is a clock that measures CPU time consumed by this thread. On Linux, "
1305 "this clock is not settable."
1306 msgstr ""
1307 "هذه ساعة تقيس وقت وحدة المعالجة المركزية المستهلك بواسطة هذا الخيط. على "
1308 "لينكس، هذه الساعة غير قابلة للضبط."
1309
1310 #. type: Plain text
1311 #: debian-trixie fedora-44 fedora-rawhide
1312 msgid "POSIX.1-2008."
1313 msgstr "POSIX.1-2008."
1314
1315 #. type: Plain text
1316 #: debian-trixie fedora-44 fedora-rawhide
1317 msgid "POSIX.1-2001, SUSv2. Linux 2.6."
1318 msgstr "POSIX.1-2001, SUSv2. لينكس 2.6."
1319
1320 #. type: Plain text
1321 #: debian-trixie fedora-44 fedora-rawhide
1322 #, no-wrap
1323 msgid ""
1324 "$ B<./clock_times x>\n"
1325 "CLOCK_REALTIME : 1585985459.446 (18356 days + 7h 30m 59s)\n"
1326 " resolution: 0.000000001\n"
1327 "CLOCK_TAI : 1585985496.447 (18356 days + 7h 31m 36s)\n"
1328 " resolution: 0.000000001\n"
1329 "CLOCK_MONOTONIC: 52395.722 (14h 33m 15s)\n"
1330 " resolution: 0.000000001\n"
1331 "CLOCK_BOOTTIME : 72691.019 (20h 11m 31s)\n"
1332 " resolution: 0.000000001\n"
1333 msgstr ""
1334 "$ B<./clock_times x>\n"
1335 "CLOCK_REALTIME : 1585985459.446 (18356 days + 7h 30m 59s)\n"
1336 " resolution: 0.000000001\n"
1337 "CLOCK_TAI : 1585985496.447 (18356 days + 7h 31m 36s)\n"
1338 " resolution: 0.000000001\n"
1339 "CLOCK_MONOTONIC: 52395.722 (14h 33m 15s)\n"
1340 " resolution: 0.000000001\n"
1341 "CLOCK_BOOTTIME : 72691.019 (20h 11m 31s)\n"
1342 " resolution: 0.000000001\n"
1343
1344 #. type: Plain text
1345 #: debian-trixie
1346 #, no-wrap
1347 msgid ""
1348 "/* clock_times.c\n"
1349 "\\&\n"
1350 " Licensed under GNU General Public License v2 or later.\n"
1351 "*/\n"
1352 "#define _XOPEN_SOURCE 600\n"
1353 "#include E<lt>stdbool.hE<gt>\n"
1354 "#include E<lt>stdint.hE<gt>\n"
1355 "#include E<lt>stdio.hE<gt>\n"
1356 "#include E<lt>stdlib.hE<gt>\n"
1357 "#include E<lt>time.hE<gt>\n"
1358 "\\&\n"
1359 "#define SECS_IN_DAY (24 * 60 * 60)\n"
1360 "\\&\n"
1361 "static void\n"
1362 "displayClock(clockid_t clock, const char *name, bool showRes)\n"
1363 "{\n"
1364 " long days;\n"
1365 " struct timespec ts;\n"
1366 "\\&\n"
1367 " if (clock_gettime(clock, &ts) == -1) {\n"
1368 " perror(\"clock_gettime\");\n"
1369 " exit(EXIT_FAILURE);\n"
1370 " }\n"
1371 "\\&\n"
1372 " printf(\"%-15s: %10jd.%03ld (\", name,\n"
1373 " (intmax_t) ts.tv_sec, ts.tv_nsec / 1000000);\n"
1374 "\\&\n"
1375 " days = ts.tv_sec / SECS_IN_DAY;\n"
1376 " if (days E<gt> 0)\n"
1377 " printf(\"%ld days + \", days);\n"
1378 "\\&\n"
1379 " printf(\"%2dh %2dm %2ds\",\n"
1380 " (int) (ts.tv_sec % SECS_IN_DAY) / 3600,\n"
1381 " (int) (ts.tv_sec % 3600) / 60,\n"
1382 " (int) ts.tv_sec % 60);\n"
1383 " printf(\")\\[rs]n\");\n"
1384 "\\&\n"
1385 " if (clock_getres(clock, &ts) == -1) {\n"
1386 " perror(\"clock_getres\");\n"
1387 " exit(EXIT_FAILURE);\n"
1388 " }\n"
1389 "\\&\n"
1390 " if (showRes)\n"
1391 " printf(\" resolution: %10jd.%09ld\\[rs]n\",\n"
1392 " (intmax_t) ts.tv_sec, ts.tv_nsec);\n"
1393 "}\n"
1394 "\\&\n"
1395 "int\n"
1396 "main(int argc, char *argv[])\n"
1397 "{\n"
1398 " bool showRes = argc E<gt> 1;\n"
1399 "\\&\n"
1400 " displayClock(CLOCK_REALTIME, \"CLOCK_REALTIME\", showRes);\n"
1401 "#ifdef CLOCK_TAI\n"
1402 " displayClock(CLOCK_TAI, \"CLOCK_TAI\", showRes);\n"
1403 "#endif\n"
1404 " displayClock(CLOCK_MONOTONIC, \"CLOCK_MONOTONIC\", showRes);\n"
1405 "#ifdef CLOCK_BOOTTIME\n"
1406 " displayClock(CLOCK_BOOTTIME, \"CLOCK_BOOTTIME\", showRes);\n"
1407 "#endif\n"
1408 " exit(EXIT_SUCCESS);\n"
1409 "}\n"
1410 msgstr ""
1411 "/* clock_times.c\n"
1412 "\\&\n"
1413 " Licensed under GNU General Public License v2 or later.\n"
1414 "*/\n"
1415 "#define _XOPEN_SOURCE 600\n"
1416 "#include E<lt>stdbool.hE<gt>\n"
1417 "#include E<lt>stdint.hE<gt>\n"
1418 "#include E<lt>stdio.hE<gt>\n"
1419 "#include E<lt>stdlib.hE<gt>\n"
1420 "#include E<lt>time.hE<gt>\n"
1421 "\\&\n"
1422 "#define SECS_IN_DAY (24 * 60 * 60)\n"
1423 "\\&\n"
1424 "static void\n"
1425 "displayClock(clockid_t clock, const char *name, bool showRes)\n"
1426 "{\n"
1427 " long days;\n"
1428 " struct timespec ts;\n"
1429 "\\&\n"
1430 " if (clock_gettime(clock, &ts) == -1) {\n"
1431 " perror(\"clock_gettime\");\n"
1432 " exit(EXIT_FAILURE);\n"
1433 " }\n"
1434 "\\&\n"
1435 " printf(\"%-15s: %10jd.%03ld (\", name,\n"
1436 " (intmax_t) ts.tv_sec, ts.tv_nsec / 1000000);\n"
1437 "\\&\n"
1438 " days = ts.tv_sec / SECS_IN_DAY;\n"
1439 " if (days E<gt> 0)\n"
1440 " printf(\"%ld days + \", days);\n"
1441 "\\&\n"
1442 " printf(\"%2dh %2dm %2ds\",\n"
1443 " (int) (ts.tv_sec % SECS_IN_DAY) / 3600,\n"
1444 " (int) (ts.tv_sec % 3600) / 60,\n"
1445 " (int) ts.tv_sec % 60);\n"
1446 " printf(\")\\[rs]n\");\n"
1447 "\\&\n"
1448 " if (clock_getres(clock, &ts) == -1) {\n"
1449 " perror(\"clock_getres\");\n"
1450 " exit(EXIT_FAILURE);\n"
1451 " }\n"
1452 "\\&\n"
1453 " if (showRes)\n"
1454 " printf(\" resolution: %10jd.%09ld\\[rs]n\",\n"
1455 " (intmax_t) ts.tv_sec, ts.tv_nsec);\n"
1456 "}\n"
1457 "\\&\n"
1458 "int\n"
1459 "main(int argc, char *argv[])\n"
1460 "{\n"
1461 " bool showRes = argc E<gt> 1;\n"
1462 "\\&\n"
1463 " displayClock(CLOCK_REALTIME, \"CLOCK_REALTIME\", showRes);\n"
1464 "#ifdef CLOCK_TAI\n"
1465 " displayClock(CLOCK_TAI, \"CLOCK_TAI\", showRes);\n"
1466 "#endif\n"
1467 " displayClock(CLOCK_MONOTONIC, \"CLOCK_MONOTONIC\", showRes);\n"
1468 "#ifdef CLOCK_BOOTTIME\n"
1469 " displayClock(CLOCK_BOOTTIME, \"CLOCK_BOOTTIME\", showRes);\n"
1470 "#endif\n"
1471 " exit(EXIT_SUCCESS);\n"
1472 "}\n"
1473
1474 #. type: TH
1475 #: fedora-44 fedora-rawhide
1476 #, no-wrap
1477 msgid "2024-11-03"
1478 msgstr "3 نوفمبر 2024"
1479
1480 #. type: TH
1481 #: fedora-44 fedora-rawhide
1482 #, no-wrap
1483 msgid "Linux man-pages 6.13"
1484 msgstr "صفحات دليل لينكس 6.13"
1485
1486 #. type: Plain text
1487 #: fedora-44 fedora-rawhide
1488 #, no-wrap
1489 msgid ""
1490 "/* clock_times.c\n"
1491 "\\&\n"
1492 " Licensed under GNU General Public License v2 or later.\n"
1493 "*/\n"
1494 "#define _XOPEN_SOURCE 600\n"
1495 "#include E<lt>stdbool.hE<gt>\n"
1496 "#include E<lt>stdint.hE<gt>\n"
1497 "#include E<lt>stdio.hE<gt>\n"
1498 "#include E<lt>stdlib.hE<gt>\n"
1499 "#include E<lt>sys/types.hE<gt>\n"
1500 "#include E<lt>time.hE<gt>\n"
1501 "\\&\n"
1502 "#define SECS_IN_DAY (24 * 60 * 60)\n"
1503 "\\&\n"
1504 "static void\n"
1505 "displayClock(clockid_t clock, const char *name, bool showRes)\n"
1506 "{\n"
1507 " long days;\n"
1508 " struct timespec ts;\n"
1509 "\\&\n"
1510 " if (clock_gettime(clock, &ts) == -1) {\n"
1511 " perror(\"clock_gettime\");\n"
1512 " exit(EXIT_FAILURE);\n"
1513 " }\n"
1514 "\\&\n"
1515 " printf(\"%-15s: %10jd.%03ld (\", name,\n"
1516 " (intmax_t) ts.tv_sec, ts.tv_nsec / 1000000);\n"
1517 "\\&\n"
1518 " days = ts.tv_sec / SECS_IN_DAY;\n"
1519 " if (days E<gt> 0)\n"
1520 " printf(\"%ld days + \", days);\n"
1521 "\\&\n"
1522 " printf(\"%2dh %2dm %2ds\",\n"
1523 " (int) (ts.tv_sec % SECS_IN_DAY) / 3600,\n"
1524 " (int) (ts.tv_sec % 3600) / 60,\n"
1525 " (int) ts.tv_sec % 60);\n"
1526 " printf(\")\\[rs]n\");\n"
1527 "\\&\n"
1528 " if (clock_getres(clock, &ts) == -1) {\n"
1529 " perror(\"clock_getres\");\n"
1530 " exit(EXIT_FAILURE);\n"
1531 " }\n"
1532 "\\&\n"
1533 " if (showRes)\n"
1534 " printf(\" resolution: %10jd.%09ld\\[rs]n\",\n"
1535 " (intmax_t) ts.tv_sec, ts.tv_nsec);\n"
1536 "}\n"
1537 "\\&\n"
1538 "int\n"
1539 "main(int argc, char *argv[])\n"
1540 "{\n"
1541 " bool showRes = argc E<gt> 1;\n"
1542 "\\&\n"
1543 " displayClock(CLOCK_REALTIME, \"CLOCK_REALTIME\", showRes);\n"
1544 "#ifdef CLOCK_TAI\n"
1545 " displayClock(CLOCK_TAI, \"CLOCK_TAI\", showRes);\n"
1546 "#endif\n"
1547 " displayClock(CLOCK_MONOTONIC, \"CLOCK_MONOTONIC\", showRes);\n"
1548 "#ifdef CLOCK_BOOTTIME\n"
1549 " displayClock(CLOCK_BOOTTIME, \"CLOCK_BOOTTIME\", showRes);\n"
1550 "#endif\n"
1551 " exit(EXIT_SUCCESS);\n"
1552 "}\n"
1553 msgstr ""
1554 "/* clock_times.c\n"
1555 "\\&\n"
1556 " Licensed under GNU General Public License v2 or later.\n"
1557 "*/\n"
1558 "#define _XOPEN_SOURCE 600\n"
1559 "#include E<lt>stdbool.hE<gt>\n"
1560 "#include E<lt>stdint.hE<gt>\n"
1561 "#include E<lt>stdio.hE<gt>\n"
1562 "#include E<lt>stdlib.hE<gt>\n"
1563 "#include E<lt>sys/types.hE<gt>\n"
1564 "#include E<lt>time.hE<gt>\n"
1565 "\\&\n"
1566 "#define SECS_IN_DAY (24 * 60 * 60)\n"
1567 "\\&\n"
1568 "static void\n"
1569 "displayClock(clockid_t clock, const char *name, bool showRes)\n"
1570 "{\n"
1571 " long days;\n"
1572 " struct timespec ts;\n"
1573 "\\&\n"
1574 " if (clock_gettime(clock, &ts) == -1) {\n"
1575 " perror(\"clock_gettime\");\n"
1576 " exit(EXIT_FAILURE);\n"
1577 " }\n"
1578 "\\&\n"
1579 " printf(\"%-15s: %10jd.%03ld (\", name,\n"
1580 " (intmax_t) ts.tv_sec, ts.tv_nsec / 1000000);\n"
1581 "\\&\n"
1582 " days = ts.tv_sec / SECS_IN_DAY;\n"
1583 " if (days E<gt> 0)\n"
1584 " printf(\"%ld days + \", days);\n"
1585 "\\&\n"
1586 " printf(\"%2dh %2dm %2ds\",\n"
1587 " (int) (ts.tv_sec % SECS_IN_DAY) / 3600,\n"
1588 " (int) (ts.tv_sec % 3600) / 60,\n"
1589 " (int) ts.tv_sec % 60);\n"
1590 " printf(\")\\[rs]n\");\n"
1591 "\\&\n"
1592 " if (clock_getres(clock, &ts) == -1) {\n"
1593 " perror(\"clock_getres\");\n"
1594 " exit(EXIT_FAILURE);\n"
1595 " }\n"
1596 "\\&\n"
1597 " if (showRes)\n"
1598 " printf(\" resolution: %10jd.%09ld\\[rs]n\",\n"
1599 " (intmax_t) ts.tv_sec, ts.tv_nsec);\n"
1600 "}\n"
1601 "\\&\n"
1602 "int\n"
1603 "main(int argc, char *argv[])\n"
1604 "{\n"
1605 " bool showRes = argc E<gt> 1;\n"
1606 "\\&\n"
1607 " displayClock(CLOCK_REALTIME, \"CLOCK_REALTIME\", showRes);\n"
1608 "#ifdef CLOCK_TAI\n"
1609 " displayClock(CLOCK_TAI, \"CLOCK_TAI\", showRes);\n"
1610 "#endif\n"
1611 " displayClock(CLOCK_MONOTONIC, \"CLOCK_MONOTONIC\", showRes);\n"
1612 "#ifdef CLOCK_BOOTTIME\n"
1613 " displayClock(CLOCK_BOOTTIME, \"CLOCK_BOOTTIME\", showRes);\n"
1614 "#endif\n"
1615 " exit(EXIT_SUCCESS);\n"
1616 "}\n"
1617
1618 #. type: TH
1619 #: mageia-cauldron
1620 #, no-wrap
1621 msgid "2026-02-08"
1622 msgstr "8 فبراير 2026"
1623
1624 #. type: TH
1625 #: mageia-cauldron
1626 #, no-wrap
1627 msgid "Linux man-pages 6.17"
1628 msgstr "صفحات دليل لينكس 6.17"
1629
1630 #. type: TH
1631 #: opensuse-leap-16-1 opensuse-tumbleweed
1632 #, no-wrap
1633 msgid "Linux man-pages (unreleased)"
1634 msgstr "صفحات دليل لينكس (لم تصدر بعد)"