Debian Codegraph @

po/ar/man2/utimensat.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:50+0200\n"
9 "PO-Revision-Date: 2026-05-18 17:55+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 "utimensat"
25 msgstr "utimensat"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2025-10-29"
32 msgstr "29 أكتوبر 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 "utimensat, futimens - change file timestamps with nanosecond precision"
51 msgstr "utimensat, futimens - تغيير أختام الوقت للملف بدقة نانوثانية"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr "المكتبة"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "موجز"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid ""
78 "B<#include E<lt>fcntl.hE<gt>> /* Definition of B<AT_*> constants */\n"
79 "B<#include E<lt>sys/stat.hE<gt>>\n"
80 msgstr ""
81 "B<#include E<lt>fcntl.hE<gt>> /* تعريف ثوابت B<AT_*> */\n"
82 "B<#include E<lt>sys/stat.hE<gt>>\n"
83
84 #. type: Plain text
85 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
86 #: opensuse-tumbleweed
87 #, no-wrap
88 msgid ""
89 "B<int utimensat(int >I<dirfd>B<, const char *>I<path>B<,>\n"
90 "B< const struct timespec >I<times>B<[_Nullable 2], int >I<flags>B<);>\n"
91 "B<int futimens(int >I<fd>B<, const struct timespec >I<times>B<[_Nullable 2]);>\n"
92 msgstr ""
93 "B<int utimensat(int >I<dirfd>B<, const char *>I<path>B<,>\n"
94 "B< const struct timespec >I<times>B<[_Nullable 2], int >I<flags>B<);>\n"
95 "B<int futimens(int >I<fd>B<, const struct timespec >I<times>B<[_Nullable 2]);>\n"
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 msgid ""
101 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
102 msgstr ""
103 "متطلبات ماكروات اختبار الميزات لـ glibc (انظر B<feature_test_macros>(7)):"
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 msgid "B<utimensat>():"
109 msgstr "B<utimensat>():"
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 #, no-wrap
115 msgid ""
116 " Since glibc 2.10:\n"
117 " _POSIX_C_SOURCE E<gt>= 200809L\n"
118 " Before glibc 2.10:\n"
119 " _ATFILE_SOURCE\n"
120 msgstr ""
121 " منذ glibc 2.10:\n"
122 " _POSIX_C_SOURCE E<gt>= 200809L\n"
123 " قبل glibc 2.10:\n"
124 " _ATFILE_SOURCE\n"
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 msgid "B<futimens>():"
130 msgstr "B<futimens>():"
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 #, no-wrap
136 msgid ""
137 " Since glibc 2.10:\n"
138 " _POSIX_C_SOURCE E<gt>= 200809L\n"
139 " Before glibc 2.10:\n"
140 " _GNU_SOURCE\n"
141 msgstr ""
142 " منذ glibc 2.10:\n"
143 " _POSIX_C_SOURCE E<gt>= 200809L\n"
144 " قبل glibc 2.10:\n"
145 " _GNU_SOURCE\n"
146
147 #. type: SH
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 #, no-wrap
151 msgid "DESCRIPTION"
152 msgstr "الوصف"
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "B<utimensat>() and B<futimens>() update the timestamps of a file with "
159 "nanosecond precision. This contrasts with the historical B<utime>(2) and "
160 "B<utimes>(2), which permit only second and microsecond precision, "
161 "respectively, when setting file timestamps."
162 msgstr ""
163 "تحدّث B<utimensat>() وB<futimens>() أختام الوقت للملف بدقة نانوثانية. يتناقض "
164 "هذا مع B<utime>(2) وB<utimes>(2) التاريخيتين، اللتين تسمحان فقط بدقة ثانية "
165 "وميكروثانية على التوالي عند ضبط أختام الوقت للملف."
166
167 #. type: Plain text
168 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
169 #: opensuse-tumbleweed
170 msgid ""
171 "With B<utimensat>() the file is specified via the pathname given in "
172 "I<path>. With B<futimens>() the file whose timestamps are to be updated is "
173 "specified via an open file descriptor, I<fd>."
174 msgstr ""
175 "مع B<utimensat>() يُحدد الملف عبر اسم المسار المعطى في I<path>. مع "
176 "B<futimens>() يُحدد الملف الذي ستُحدّث أختام وقته عبر واصف ملف مفتوح، I<fd>."
177
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 msgid ""
182 "For both calls, the new file timestamps are specified in the array I<times>: "
183 "I<times[0]> specifies the new \"last access time\" (I<atime>); I<times[1]> "
184 "specifies the new \"last modification time\" (I<mtime>). Each of the "
185 "elements of I<times> specifies a time as the number of seconds and "
186 "nanoseconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC). This "
187 "information is conveyed in a B<timespec>(3) structure."
188 msgstr ""
189 "لكلا الاستدعاءين، تُحدد أختام الوقت الجديدة للملف في المصفوفة I<times>: يُحدد "
190 "I<times[0]> \"وقت الوصول الأخير\" الجديد (I<atime>)؛ يُحدد I<times[1]> \"وقت "
191 "التعديل الأخير\" الجديد (I<mtime>). يُحدد كل عنصر من عناصر I<times> وقتًا "
192 "بعدد الثواني والنانوثوان منذ العصر، 1970-01-01 00:00:00 +0000 (UTC). تُنقل "
193 "هذه المعلومات في بنية B<timespec>(3)."
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid ""
199 "Updated file timestamps are set to the greatest value supported by the "
200 "filesystem that is not greater than the specified time."
201 msgstr ""
202 "تُضبط أختام الوقت المحدّثة للملف إلى أكبر قيمة يدعمها نظام الملفات لا تتجاوز "
203 "الوقت المحدد."
204
205 #. 2.6.22 was broken: it is not ignored
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 msgid ""
210 "If the I<tv_nsec> field of one of the I<timespec> structures has the special "
211 "value B<UTIME_NOW>, then the corresponding file timestamp is set to the "
212 "current time. If the I<tv_nsec> field of one of the I<timespec> structures "
213 "has the special value B<UTIME_OMIT>, then the corresponding file timestamp "
214 "is left unchanged. In both of these cases, the value of the corresponding "
215 "I<tv_sec> field is ignored."
216 msgstr ""
217 "إذا كان حقل I<tv_nsec> لإحدى بنى I<timespec> يحمل القيمة الخاصة "
218 "B<UTIME_NOW>، فإن ختم الوقت المقابل للملف يُضبط إلى الوقت الحالي. إذا كان "
219 "حقل I<tv_nsec> لإحدى بنى I<timespec> يحمل القيمة الخاصة B<UTIME_OMIT>، فإن "
220 "ختم الوقت المقابل للملف يُترك دون تغيير. في كلتا هاتين الحالتين، يُتجاهل قيمة "
221 "حقل I<tv_sec> المقابل."
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 msgid "If I<times> is NULL, then both timestamps are set to the current time."
227 msgstr "إذا كان I<times> NULL، فإن كلا الختمين يُضبطان إلى الوقت الحالي."
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 msgid ""
233 "The status change time (ctime) will be set to the current time, even if the "
234 "other time stamps don't actually change."
235 msgstr ""
236 "سيُضبط وقت تغيير الحالة (ctime) إلى الوقت الحالي، حتى لو لم تتغير أختام الوقت "
237 "الأخرى فعليًا."
238
239 #. type: SS
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 #, no-wrap
243 msgid "Permissions requirements"
244 msgstr "متطلبات الأذونات"
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 msgid ""
250 "To set both file timestamps to the current time (i.e., I<times> is NULL, or "
251 "both I<tv_nsec> fields specify B<UTIME_NOW>), either:"
252 msgstr ""
253 "لضبط كلا ختمي الوقت للملف إلى الوقت الحالي (أي، I<times> هو NULL، أو كلا "
254 "حقلي I<tv_nsec> يحددان B<UTIME_NOW>)، إما:"
255
256 #. type: IP
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 #, no-wrap
260 msgid "\\[bu]"
261 msgstr "\\[bu]"
262
263 #. 2.6.22 was broken here -- for futimens() the check is
264 #. based on whether or not the file descriptor is writable,
265 #. not on whether the caller's effective UID has write
266 #. permission for the file referred to by the descriptor.
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid "the caller must have write access to the file;"
271 msgstr "يجب أن يكون لدى المستدعي صلاحية الكتابة إلى الملف؛"
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 msgid "the caller's effective user ID must match the owner of the file; or"
277 msgstr "يجب أن يتطابق معرف المستخدم الفعّال للمستدعي مع مالك الملف؛ أو"
278
279 #. type: Plain text
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 msgid "the caller must have appropriate privileges."
283 msgstr "يجب أن يكون لدى المستدعي الامتيازات المناسبة."
284
285 #. 2.6.22 was broken here:
286 #. both must be something other than *either* UTIME_OMIT *or* UTIME_NOW.
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 ""
291 "To make any change other than setting both timestamps to the current time (i."
292 "e., I<times> is not NULL, and neither I<tv_nsec> field is B<UTIME_NOW> and "
293 "neither I<tv_nsec> field is B<UTIME_OMIT>), either condition 2 or 3 above "
294 "must apply."
295 msgstr ""
296 "لإجراء أي تغيير غير ضبط كلا الختمين إلى الوقت الحالي (أي، I<times> ليس NULL، "
297 "ولا حقل I<tv_nsec> هو B<UTIME_NOW> ولا حقل I<tv_nsec> هو B<UTIME_OMIT>)، يجب "
298 "أن ينطبق الشرط 2 أو 3 أعلاه."
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 ""
304 "If both I<tv_nsec> fields are specified as B<UTIME_OMIT>, then no file "
305 "ownership or permission checks are performed, and the file timestamps are "
306 "not modified, but other error conditions may still be detected."
307 msgstr ""
308 "إذا تم تحديد كلا حقلي I<tv_nsec> كـ B<UTIME_OMIT>، فلا تُجرى أي فحوصات لملكية "
309 "الملف أو أذوناته، ولا تُعدّل أختام الوقت للملف، ولكن قد تُكتشف شروط خطأ أخرى."
310
311 #. type: SS
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, no-wrap
315 msgid "utimensat() specifics"
316 msgstr "خصوصيات utimensat()"
317
318 #. type: Plain text
319 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
320 #: opensuse-tumbleweed
321 msgid ""
322 "If I<path> is relative, then by default it is interpreted relative to the "
323 "directory referred to by the open file descriptor, I<dirfd> (rather than "
324 "relative to the current working directory of the calling process, as is done "
325 "by B<utimes>(2) for a relative pathname). See B<openat>(2) for an "
326 "explanation of why this can be useful."
327 msgstr ""
328 "إذا كان I<path> نسبيًا، فإنه يُفسر مبدئيًا بالنسبة إلى الدليل المشار إليه "
329 "بواسطة واصف الملف المفتوح، I<dirfd> (بدلاً من نسبته إلى دليل العمل الحالي "
330 "للعملية المستدعية، كما تفعل B<utimes>(2) لاسم مسار نسبي). انظر B<openat>(2) "
331 "لشرح لماذا يمكن أن يكون هذا مفيدًا."
332
333 #. type: Plain text
334 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
335 #: opensuse-tumbleweed
336 msgid ""
337 "If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
338 "I<path> is interpreted relative to the current working directory of the "
339 "calling process (like B<utimes>(2))."
340 msgstr ""
341 "إذا كان المسار I<path> نسبيا وكان I<dirfd> هو القيمة الخاصة B<AT_FDCWD>، "
342 "فسيُفسر I<path> نسبة إلى دليل العمل الحالي للعملية المستدعِيَة (مثل "
343 "B<utimes>(2))."
344
345 #. type: Plain text
346 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
347 #: opensuse-tumbleweed
348 msgid "If I<path> is absolute, then I<dirfd> is ignored."
349 msgstr "إذا كان المسار I<path> مطلقاً، فُيتجاهل I<dirfd>."
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 I<flags> argument is a bit mask created by ORing together zero or more "
356 "of the following values defined in I<E<lt>fcntl.hE<gt>>:"
357 msgstr ""
358 "وسيطة I<flags> هي قناع بتات يُنشأ بواسطة OR معًا صفر أو أكثر من القيم التالية "
359 "المعرفة في I<E<lt>fcntl.hE<gt>>:"
360
361 #. type: TP
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 #, no-wrap
365 msgid "B<AT_EMPTY_PATH> (since Linux 5.8)"
366 msgstr "B<AT_EMPTY_PATH> (منذ لينكس 5.8)"
367
368 #. type: Plain text
369 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
370 #: opensuse-tumbleweed
371 msgid ""
372 "If I<path> is an empty string, operate on the file referred to by I<dirfd> "
373 "(which may have been obtained using the B<open>(2) B<O_PATH> flag). In "
374 "this case, I<dirfd> can refer to any type of file, not just a directory. If "
375 "I<dirfd> is B<AT_FDCWD>, the call operates on the current working "
376 "directory. This flag is Linux-specific; define B<_GNU_SOURCE> to obtain its "
377 "definition."
378 msgstr ""
379 "إذا كان I<path> سلسلة فارغة، فسيُعمل على الملف الذي يشير إليه I<dirfd> (والذي "
380 "ربما تم الحصول عليه باستخدام الراية B<O_PATH> في B<open>(2)). في هذه الحالة، "
381 "يمكن لـ I<dirfd> أن يشير إلى أي نوع من الملفات، وليس فقط المجلدات. وإذا كان "
382 "I<dirfd> هو B<AT_FDCWD>، فسيُنادى على مجلد العمل الحالي. هذه الراية خاصة "
383 "بلينكس؛ عرّف B<_GNU_SOURCE> للحصول على تعريفها."
384
385 #. type: TP
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 #, no-wrap
389 msgid "B<AT_SYMLINK_NOFOLLOW>"
390 msgstr "B<AT_SYMLINK_NOFOLLOW>"
391
392 #. type: Plain text
393 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
394 #: opensuse-tumbleweed
395 msgid ""
396 "If I<path> specifies a symbolic link, then update the timestamps of the "
397 "link, rather than the file to which it refers."
398 msgstr ""
399 "إذا حدد I<path> رابطًا رمزيًا، فحدّث أختام الوقت للرابط، بدلاً من الملف الذي "
400 "يشير إليه."
401
402 #. type: SH
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 #, no-wrap
406 msgid "RETURN VALUE"
407 msgstr "قيمة الإرجاع"
408
409 #. type: Plain text
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 msgid ""
413 "On success, B<utimensat>() and B<futimens>() return 0. On error, -1 is "
414 "returned and I<errno> is set to indicate the error."
415 msgstr ""
416 "عند النجاح، تُرجع B<utimensat>() وB<futimens>() 0. عند الخطأ، يُرجع -1 ويُضبط "
417 "I<errno> للإشارة إلى الخطأ."
418
419 #. type: SH
420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
422 #, no-wrap
423 msgid "ERRORS"
424 msgstr "الأخطاء"
425
426 #. type: TP
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 #, no-wrap
430 msgid "B<EACCES>"
431 msgstr "B<EACCES>"
432
433 #. But Linux 2.6.22 was broken here.
434 #. Traditionally, utime()/utimes() gives the error EACCES for the case
435 #. where the timestamp pointer argument is NULL (i.e., set both timestamps
436 #. to the current time), and the file is owned by a user other than the
437 #. effective UID of the caller, and the file is not writable by the
438 #. effective UID of the program. utimensat() also gives this error in the
439 #. same case. However, in the same circumstances, when utimensat() is
440 #. given a 'times' array in which both tv_nsec fields are UTIME_NOW, which
441 #. provides equivalent functionality to specifying 'times' as NULL, the
442 #. call succeeds. It should fail with the error EACCES in this case.
443 #. POSIX.1-2008 has the following:
444 #. .TP
445 #. .B EACCES
446 #. .RB ( utimensat ())
447 #. .I fd
448 #. was not opened with
449 #. .B O_SEARCH
450 #. and the permissions of the directory to which
451 #. .I fd
452 #. refers do not allow searches.
453 #. EXT2_IMMUTABLE_FL and similar flags for other filesystems.
454 #. type: Plain text
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 msgid ""
458 "I<times> is NULL, or both I<tv_nsec> values are B<UTIME_NOW>, and the "
459 "effective user ID of the caller does not match the owner of the file, the "
460 "caller does not have write access to the file, and the caller is not "
461 "privileged (Linux: does not have either the B<CAP_FOWNER> or the "
462 "B<CAP_DAC_OVERRIDE> capability)."
463 msgstr ""
464 "I<times> هو NULL، أو كلا قيمتي I<tv_nsec> هما B<UTIME_NOW>، ولا يتطابق معرف "
465 "المستخدم الفعّال للمستدعي مع مالك الملف، وليس لدى المستدعي صلاحية الكتابة إلى "
466 "الملف، والمستدعي ليس مميزًا (لينكس: ليس لديه إما القدرة B<CAP_FOWNER> أو "
467 "B<CAP_DAC_OVERRIDE>)."
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<EBADF>"
474 msgstr "B<EBADF>"
475
476 #. type: Plain text
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 msgid "(B<futimens>()) I<fd> is not a valid file descriptor."
480 msgstr "(B<futimens>()) I<fd> ليس واصف ملف صالحًا."
481
482 #. type: Plain text
483 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
484 #: opensuse-tumbleweed
485 msgid ""
486 "(B<utimensat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> "
487 "nor a valid file descriptor."
488 msgstr ""
489 "(B<utimensat>()) I<path> نسبي ولكن I<dirfd> ليس B<AT_FDCWD> ولا واصف ملف "
490 "صالحًا."
491
492 #. type: TP
493 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
494 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
495 #, no-wrap
496 msgid "B<EFAULT>"
497 msgstr "B<EFAULT>"
498
499 #. type: Plain text
500 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
501 #: opensuse-tumbleweed
502 msgid ""
503 "I<times> pointed to an invalid address; or, I<dirfd> was B<AT_FDCWD>, and "
504 "I<path> is NULL or an invalid address."
505 msgstr ""
506 "أشار I<times> إلى عنوان غير صالح؛ أو، كان I<dirfd> B<AT_FDCWD>، و I<path> هو "
507 "NULL أو عنوان غير صالح."
508
509 #. type: TP
510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
512 #, no-wrap
513 msgid "B<EINVAL>"
514 msgstr "B<EINVAL>"
515
516 #. type: Plain text
517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
519 msgid "Invalid value in I<flags>."
520 msgstr "قيمة غير صالحة في I<flags>."
521
522 #. type: Plain text
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 msgid ""
526 "Invalid value in one of the I<tv_nsec> fields (value outside range [0, "
527 "999,999,999], and not B<UTIME_NOW> or B<UTIME_OMIT>); or an invalid value in "
528 "one of the I<tv_sec> fields."
529 msgstr ""
530 "قيمة غير صالحة في أحد حقلي I<tv_nsec> (قيمة خارج النطاق [0, 999,999,999]، "
531 "وليست B<UTIME_NOW> أو B<UTIME_OMIT>)؛ أو قيمة غير صالحة في أحد حقلي "
532 "I<tv_sec>."
533
534 #. SUSv4 does not specify this error.
535 #. type: Plain text
536 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
537 #: opensuse-tumbleweed
538 msgid ""
539 "I<path> is NULL, I<dirfd> is not B<AT_FDCWD>, and I<flags> contains "
540 "B<AT_SYMLINK_NOFOLLOW>."
541 msgstr ""
542 "I<path> هو NULL، و I<dirfd> ليس B<AT_FDCWD>، و I<flags> يحتوي على "
543 "B<AT_SYMLINK_NOFOLLOW>."
544
545 #. type: TP
546 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
547 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
548 #, no-wrap
549 msgid "B<ELOOP>"
550 msgstr "B<ELOOP>"
551
552 #. type: Plain text
553 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
554 #: opensuse-tumbleweed
555 msgid ""
556 "(B<utimensat>()) Too many symbolic links were encountered in resolving "
557 "I<path>."
558 msgstr ""
559 "(B<utimensat>()) تمت مصادفة عدد كبير جدًا من الروابط الرمزية أثناء حل "
560 "I<path>."
561
562 #. type: TP
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
565 #, no-wrap
566 msgid "B<ENAMETOOLONG>"
567 msgstr "B<ENAMETOOLONG>"
568
569 #. type: Plain text
570 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
571 #: opensuse-tumbleweed
572 msgid "(B<utimensat>()) I<path> is too long."
573 msgstr "(B<utimensat>()) I<path> طويل جدًا."
574
575 #. type: TP
576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
578 #, no-wrap
579 msgid "B<ENOENT>"
580 msgstr "B<ENOENT>"
581
582 #. type: Plain text
583 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
584 #: opensuse-tumbleweed
585 msgid ""
586 "(B<utimensat>()) A component of I<path> does not refer to an existing "
587 "directory or file, or I<path> is an empty string."
588 msgstr ""
589 "(B<utimensat>()) أحد مكونات I<path> لا يشير إلى دليل أو ملف موجود، أو "
590 "I<path> هو سلسلة فارغة."
591
592 #. type: TP
593 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
594 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
595 #, no-wrap
596 msgid "B<ENOTDIR>"
597 msgstr "B<ENOTDIR>"
598
599 #. type: Plain text
600 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
601 #: opensuse-tumbleweed
602 msgid ""
603 "(B<utimensat>()) I<path> is relative, but I<dirfd> is neither B<AT_FDCWD> "
604 "nor a file descriptor referring to a directory; or, one of the prefix "
605 "components of I<path> is not a directory."
606 msgstr ""
607 "(B<utimensat>()) I<path> نسبي، لكن I<dirfd> ليس B<AT_FDCWD> ولا واصف ملف "
608 "يشير إلى دليل؛ أو، أحد مكونات البادئة لـ I<path> ليس دليلاً."
609
610 #. type: TP
611 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
612 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
613 #, no-wrap
614 msgid "B<EPERM>"
615 msgstr "B<EPERM>"
616
617 #. type: Plain text
618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
620 msgid ""
621 "The caller attempted to change one or both timestamps to a value other than "
622 "the current time, or to change one of the timestamps to the current time "
623 "while leaving the other timestamp unchanged, (i.e., I<times> is not NULL, "
624 "neither I<tv_nsec> field is B<UTIME_NOW>, and neither I<tv_nsec> field is "
625 "B<UTIME_OMIT>) and either:"
626 msgstr ""
627 "حاول المتصل تغيير طابع زمني واحد أو كليهما إلى قيمة غير الوقت الحالي، أو "
628 "تغيير أحد الطوابع الزمنية إلى الوقت الحالي مع ترك الطابع الزمني الآخر دون "
629 "تغيير، (أي I<times> ليس NULL، ولا حقل I<tv_nsec> هو B<UTIME_NOW>، ولا حقل "
630 "I<tv_nsec> هو B<UTIME_OMIT>) وأيضًا:"
631
632 #. type: Plain text
633 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
634 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
635 msgid ""
636 "the caller's effective user ID does not match the owner of file, and the "
637 "caller is not privileged (Linux: does not have the B<CAP_FOWNER> "
638 "capability); or,"
639 msgstr ""
640 "معرف المستخدم الفعّال للمتصل لا يتطابق مع مالك الملف، والمتصل ليس له صلاحية "
641 "(لينكس: لا يملك إمكانية B<CAP_FOWNER>)؛ أو،"
642
643 #. Linux 2.6.22 was broken here:
644 #. it was not consistent with the old utimes() implementation,
645 #. since the case when both tv_nsec fields are UTIME_NOW, was not
646 #. treated like the (times == NULL) case.
647 #. EXT2_IMMUTABLE_FL EXT_APPEND_FL and similar flags for
648 #. other filesystems.
649 #. Why the inconsistency (which is described under NOTES) between
650 #. EACCES and EPERM, where only EPERM tests for append-only.
651 #. (This was also so for the older utimes() implementation.)
652 #. type: Plain text
653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
655 msgid "the file is marked append-only or immutable (see B<chattr>(1))."
656 msgstr "الملف مُعلّم كملحق فقط أو غير قابل للتغيير (انظر B<chattr>(1))."
657
658 #. type: TP
659 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
660 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
661 #, no-wrap
662 msgid "B<EROFS>"
663 msgstr "B<EROFS>"
664
665 #. type: Plain text
666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
668 msgid "The file is on a read-only filesystem."
669 msgstr "الملف موجود في نظام ملفات للقراءة فقط."
670
671 #. type: TP
672 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
673 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
674 #, no-wrap
675 msgid "B<ESRCH>"
676 msgstr "B<ESRCH>"
677
678 #. type: Plain text
679 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
680 #: opensuse-tumbleweed
681 msgid ""
682 "(B<utimensat>()) Search permission is denied for one of the prefix "
683 "components of I<path>."
684 msgstr "(B<utimensat>()) تم رفض إذن البحث لأحد مكونات البادئة لـ I<path>."
685
686 #. type: SH
687 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
688 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
689 #, no-wrap
690 msgid "ATTRIBUTES"
691 msgstr "السمات"
692
693 #. type: Plain text
694 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
695 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
696 msgid ""
697 "For an explanation of the terms used in this section, see B<attributes>(7)."
698 msgstr ""
699 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
700
701 #. type: tbl table
702 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
703 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
704 #, no-wrap
705 msgid "Interface"
706 msgstr "الواجهة"
707
708 #. type: tbl table
709 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
710 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
711 #, no-wrap
712 msgid "Attribute"
713 msgstr "السمة"
714
715 #. type: tbl table
716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
718 #, no-wrap
719 msgid "Value"
720 msgstr "القيمة"
721
722 #. type: tbl table
723 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
724 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
725 #, no-wrap
726 msgid ".na\n"
727 msgstr ".na\n"
728
729 #. type: tbl table
730 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
731 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
732 #, no-wrap
733 msgid ".nh\n"
734 msgstr ".nh\n"
735
736 #. type: tbl table
737 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
738 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
739 #, no-wrap
740 msgid ""
741 "B<utimensat>(),\n"
742 "B<futimens>()"
743 msgstr ""
744 "B<utimensat>(),\n"
745 "B<futimens>()"
746
747 #. type: tbl table
748 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
749 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
750 #, no-wrap
751 msgid "Thread safety"
752 msgstr "سلامة الخيوط"
753
754 #. type: tbl table
755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
757 #, no-wrap
758 msgid "MT-Safe"
759 msgstr "MT-Safe"
760
761 #. type: SH
762 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
763 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
764 #, no-wrap
765 msgid "VERSIONS"
766 msgstr "الإصدارات"
767
768 #. type: SS
769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
771 #, no-wrap
772 msgid "C library/kernel ABI differences"
773 msgstr "اختلافات ABI بين مكتبة C والنواة"
774
775 #. type: Plain text
776 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
777 #: opensuse-tumbleweed
778 msgid ""
779 "On Linux, B<futimens>() is a library function implemented on top of the "
780 "B<utimensat>() system call. To support this, the Linux B<utimensat>() "
781 "system call implements a nonstandard feature: if I<path> is NULL, then the "
782 "call modifies the timestamps of the file referred to by the file descriptor "
783 "I<dirfd> (which may refer to any type of file). Using this feature, the "
784 "call I<futimens(fd,\\ times)> is implemented as:"
785 msgstr ""
786 "في لينكس، B<futimens>() هي دالة مكتبة مطبقة فوق استدعاء النظام "
787 "B<utimensat>(). لدعم هذا، يطبق استدعاء النظام B<utimensat>() في لينكس ميزة "
788 "غير قياسية: إذا كان I<path> هو NULL، فإن الاستدعاء يعدل الطوابع الزمنية "
789 "للملف المشار إليه بواسطة واصف الملف I<dirfd> (الذي قد يشير إلى أي نوع من "
790 "الملفات). باستخدام هذه الميزة، يتم تنفيذ الاستدعاء I<futimens(fd,\\ times)> "
791 "كالتالي:"
792
793 #. type: Plain text
794 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
795 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
796 #, no-wrap
797 msgid "utimensat(fd, NULL, times, 0);\n"
798 msgstr "utimensat(fd, NULL, times, 0);\n"
799
800 #. type: Plain text
801 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
802 #: opensuse-tumbleweed
803 msgid ""
804 "Note, however, that the glibc wrapper for B<utimensat>() disallows passing "
805 "NULL as the value for I<path>: the wrapper function returns the error "
806 "B<EINVAL> in this case."
807 msgstr ""
808 "لاحظ، مع ذلك، أن غلاف glibc لـ B<utimensat>() يمنع تمرير NULL كقيمة لـ "
809 "I<path>: دالة الغلاف ترجع الخطأ B<EINVAL> في هذه الحالة."
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 "STANDARDS"
816 msgstr "المعايير"
817
818 #. type: Plain text
819 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
820 #: opensuse-tumbleweed
821 msgid "POSIX.1-2024."
822 msgstr "POSIX.1-2024."
823
824 #. type: SH
825 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
826 #: opensuse-tumbleweed
827 #, no-wrap
828 msgid "HISTORY"
829 msgstr "التاريخ"
830
831 #. type: TP
832 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
833 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
834 #, no-wrap
835 msgid "B<utimensat>()"
836 msgstr "B<utimensat>()"
837
838 #. type: Plain text
839 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
840 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
841 msgid "Linux 2.6.22, glibc 2.6. POSIX.1-2008."
842 msgstr "لينكس 2.6.22، glibc 2.6. POSIX.1-2008."
843
844 #. type: TP
845 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
846 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
847 #, no-wrap
848 msgid "B<futimens>()"
849 msgstr "B<futimens>()"
850
851 #. type: Plain text
852 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
853 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
854 msgid "glibc 2.6. POSIX.1-2008."
855 msgstr "glibc 2.6. POSIX.1-2008."
856
857 #. type: SH
858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
860 #, no-wrap
861 msgid "NOTES"
862 msgstr "ملاحظات"
863
864 #. type: Plain text
865 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
866 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
867 msgid "B<utimensat>() obsoletes B<futimesat>(2)."
868 msgstr "B<utimensat>() يلغي B<futimesat>(2)."
869
870 #. type: Plain text
871 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
872 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
873 msgid ""
874 "On Linux, timestamps cannot be changed for a file marked immutable, and the "
875 "only change permitted for files marked append-only is to set the timestamps "
876 "to the current time. (This is consistent with the historical behavior of "
877 "B<utime>(2) and B<utimes>(2) on Linux.)"
878 msgstr ""
879 "في لينكس، لا يمكن تغيير الطوابع الزمنية لملف مُعلّم كغير قابل للتغيير، "
880 "والتغيير الوحيد المسموح به للملفات المُعلّمة كملحق فقط هو تعيين الطوابع "
881 "الزمنية إلى الوقت الحالي. (هذا متسق مع السلوك التاريخي لـ B<utime>(2) و "
882 "B<utimes>(2) على لينكس.)"
883
884 #. type: Plain text
885 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
886 #: opensuse-tumbleweed
887 msgid ""
888 "If both I<tv_nsec> fields are specified as B<UTIME_OMIT>, then the Linux "
889 "implementation of B<utimensat>() succeeds even if the file referred to by "
890 "I<dirfd> and I<path> does not exist."
891 msgstr ""
892 "إذا تم تحديد كلا حقلي I<tv_nsec> كـ B<UTIME_OMIT>، فإن تنفيذ لينكس لـ "
893 "B<utimensat>() ينجح حتى لو كان الملف المشار إليه بواسطة I<dirfd> و I<path> "
894 "غير موجود."
895
896 #. type: SH
897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
899 #, no-wrap
900 msgid "BUGS"
901 msgstr "العلل"
902
903 #. type: Plain text
904 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
905 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
906 msgid ""
907 "Several bugs afflict B<utimensat>() and B<futimens>() before Linux "
908 "2.6.26. These bugs are either nonconformances with the POSIX.1 draft "
909 "specification or inconsistencies with historical Linux behavior."
910 msgstr ""
911 "تعاني B<utimensat>() و B<futimens>() من عدة أخطاء قبل لينكس 2.6.26. هذه "
912 "الأخطاء إما عدم امتثال لمواصفات مسودة POSIX.1 أو عدم تناسق مع سلوك لينكس "
913 "التاريخي."
914
915 #. type: Plain text
916 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
917 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
918 msgid ""
919 "POSIX.1 specifies that if one of the I<tv_nsec> fields has the value "
920 "B<UTIME_NOW> or B<UTIME_OMIT>, then the value of the corresponding I<tv_sec> "
921 "field should be ignored. Instead, the value of the I<tv_sec> field is "
922 "required to be 0 (or the error B<EINVAL> results)."
923 msgstr ""
924 "يحدد POSIX.1 أنه إذا كان أحد حقول I<tv_nsec> له القيمة B<UTIME_NOW> أو "
925 "B<UTIME_OMIT>، فيجب تجاهل قيمة حقل I<tv_sec> المقابل. بدلاً من ذلك، يُطلب أن "
926 "تكون قيمة حقل I<tv_sec> 0 (أو ينتج الخطأ B<EINVAL>)."
927
928 #. Below, the long description of the errors from the previous bullet
929 #. point (abridged because it's too much detail for a man page).
930 #. .IP \[bu]
931 #. If one of the
932 #. .I tv_nsec
933 #. fields is
934 #. .BR UTIME_OMIT
935 #. and the other is
936 #. .BR UTIME_NOW ,
937 #. then the error
938 #. .B EPERM
939 #. should occur if the process's effective user ID does not match
940 #. the file owner and the process is not privileged.
941 #. Instead, the call successfully changes one of the timestamps.
942 #. .IP \[bu]
943 #. If file is not writable by the effective user ID of the process and
944 #. the process's effective user ID does not match the file owner and
945 #. the process is not privileged,
946 #. and
947 #. .I times
948 #. is NULL, then the error
949 #. .B EACCES
950 #. results.
951 #. This error should also occur if
952 #. .I times
953 #. points to an array of structures in which both
954 #. .I tv_nsec
955 #. fields are
956 #. .BR UTIME_NOW .
957 #. Instead the call succeeds.
958 #. .IP \[bu]
959 #. If a file is marked as append-only (see
960 #. .BR chattr (1)),
961 #. then Linux traditionally
962 #. (i.e.,
963 #. .BR utime (2),
964 #. .BR utimes (2)),
965 #. permits a NULL
966 #. .I times
967 #. argument to be used in order to update both timestamps to the current time.
968 #. For consistency,
969 #. .BR utimensat ()
970 #. and
971 #. .BR futimens ()
972 #. should also produce the same result when given a
973 #. .I times
974 #. argument that points to an array of structures in which both
975 #. .I tv_nsec
976 #. fields are
977 #. .BR UTIME_NOW .
978 #. Instead, the call fails with the error
979 #. .BR EPERM .
980 #. .IP \[bu]
981 #. If a file is marked as immutable (see
982 #. .BR chattr (1)),
983 #. then Linux traditionally
984 #. (i.e.,
985 #. .BR utime (2),
986 #. .BR utimes (2)),
987 #. gives an
988 #. .B EACCES
989 #. error if
990 #. .I times
991 #. is NULL.
992 #. For consistency,
993 #. .BR utimensat ()
994 #. and
995 #. .BR futimens ()
996 #. should also produce the same result when given a
997 #. .I times
998 #. that points to an array of structures in which both
999 #. .I tv_nsec
1000 #. fields are
1001 #. .BR UTIME_NOW .
1002 #. Instead, the call fails with the error
1003 #. .BR EPERM .
1004 #. type: Plain text
1005 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1006 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1007 msgid ""
1008 "Various bugs mean that for the purposes of permission checking, the case "
1009 "where both I<tv_nsec> fields are set to B<UTIME_NOW> isn't always treated "
1010 "the same as specifying I<times> as NULL, and the case where one I<tv_nsec> "
1011 "value is B<UTIME_NOW> and the other is B<UTIME_OMIT> isn't treated the same "
1012 "as specifying I<times> as a pointer to an array of structures containing "
1013 "arbitrary time values. As a result, in some cases: a) file timestamps can "
1014 "be updated by a process that shouldn't have permission to perform updates; "
1015 "b) file timestamps can't be updated by a process that should have permission "
1016 "to perform updates; and c) the wrong I<errno> value is returned in case of "
1017 "an error."
1018 msgstr ""
1019 "تعني الأخطاء المختلفة أنه لأغراض التحقق من الإذن، لا يتم دائمًا معالجة الحالة "
1020 "التي يتم فيها تعيين كلا حقلي I<tv_nsec> إلى B<UTIME_NOW> بنفس طريقة تحديد "
1021 "I<times> كـ NULL، والحالة التي تكون فيها قيمة I<tv_nsec> واحدة B<UTIME_NOW> "
1022 "والأخرى B<UTIME_OMIT> لا يتم معالجتها بنفس طريقة تحديد I<times> كمؤشر إلى "
1023 "مصفوفة من الهياكل التي تحتوي على قيم زمنية عشوائية. نتيجة لذلك، في بعض "
1024 "الحالات: أ) يمكن تحديث الطوابع الزمنية للملف بواسطة عملية لا ينبغي أن يكون "
1025 "لها إذن لإجراء التحديثات؛ ب) لا يمكن تحديث الطوابع الزمنية للملف بواسطة "
1026 "عملية يجب أن يكون لها إذن لإجراء التحديثات؛ و ج) يتم إرجاع قيمة I<errno> "
1027 "خاطئة في حالة حدوث خطأ."
1028
1029 #. This means that a process with a file descriptor that allows
1030 #. writing could change the timestamps of a file for which it
1031 #. does not have write permission;
1032 #. conversely, a process with a read-only file descriptor won't
1033 #. be able to update the timestamps of a file,
1034 #. even if it has write permission on the file.
1035 #. type: Plain text
1036 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1037 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1038 msgid ""
1039 "POSIX.1 says that a process that has I<write access to the file> can make a "
1040 "call with I<times> as NULL, or with I<times> pointing to an array of "
1041 "structures in which both I<tv_nsec> fields are B<UTIME_NOW>, in order to "
1042 "update both timestamps to the current time. However, B<futimens>() instead "
1043 "checks whether the I<access mode of the file descriptor allows writing>."
1044 msgstr ""
1045 "يقول POSIX.1 أن العملية التي لديها I<إذن كتابة إلى الملف> يمكنها إجراء "
1046 "استدعاء مع I<times> كـ NULL، أو مع I<times> يشير إلى مصفوفة من الهياكل التي "
1047 "يكون فيها كلا حقلي I<tv_nsec> B<UTIME_NOW>، من أجل تحديث كلا الطابعين "
1048 "الزمنيين إلى الوقت الحالي. ومع ذلك، B<futimens>() بدلاً من ذلك يتحقق مما "
1049 "إذا كان I<وضع الوصول لواصف الملف يسمح بالكتابة>."
1050
1051 #. type: SH
1052 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1053 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1054 #, no-wrap
1055 msgid "SEE ALSO"
1056 msgstr "انظر أيضًا"
1057
1058 #. type: Plain text
1059 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1060 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1061 msgid ""
1062 "B<chattr>(1), B<touch>(1), B<futimesat>(2), B<openat>(2), B<stat>(2), "
1063 "B<utimes>(2), B<futimes>(3), B<timespec>(3), B<inode>(7), "
1064 "B<path_resolution>(7), B<symlink>(7)"
1065 msgstr ""
1066 "B<chattr>(1), B<touch>(1), B<futimesat>(2), B<openat>(2), B<stat>(2), "
1067 "B<utimes>(2), B<futimes>(3), B<timespec>(3), B<inode>(7), "
1068 "B<path_resolution>(7), B<symlink>(7)"
1069
1070 #. type: TH
1071 #: debian-trixie
1072 #, no-wrap
1073 msgid "2024-05-02"
1074 msgstr "2 مايو 2024"
1075
1076 #. type: TH
1077 #: debian-trixie
1078 #, no-wrap
1079 msgid "Linux man-pages 6.9.1"
1080 msgstr "صفحات دليل لينكس 6.9.1"
1081
1082 #. type: Plain text
1083 #: debian-trixie
1084 msgid "Standard C library (I<libc>, I<-lc>)"
1085 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
1086
1087 #. type: Plain text
1088 #: debian-trixie fedora-44 fedora-rawhide
1089 #, no-wrap
1090 msgid ""
1091 "B<int utimensat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
1092 "B< const struct timespec >I<times>B<[_Nullable 2], int >I<flags>B<);>\n"
1093 "B<int futimens(int >I<fd>B<, const struct timespec >I<times>B<[_Nullable 2]);>\n"
1094 msgstr ""
1095 "B<int utimensat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
1096 "B< const struct timespec >I<times>B<[_Nullable 2], int >I<flags>B<);>\n"
1097 "B<int futimens(int >I<fd>B<, const struct timespec >I<times>B<[_Nullable 2]);>\n"
1098
1099 #. type: Plain text
1100 #: debian-trixie fedora-44 fedora-rawhide
1101 msgid ""
1102 "With B<utimensat>() the file is specified via the pathname given in "
1103 "I<pathname>. With B<futimens>() the file whose timestamps are to be "
1104 "updated is specified via an open file descriptor, I<fd>."
1105 msgstr ""
1106 "مع B<utimensat>() يتم تحديد الملف عبر اسم المسار المعطى في I<pathname>. مع "
1107 "B<futimens>() يتم تحديد الملف الذي سيتم تحديث طواطبه الزمنية عبر واصف ملف "
1108 "مفتوح، I<fd>."
1109
1110 #. type: Plain text
1111 #: debian-trixie fedora-44 fedora-rawhide
1112 msgid ""
1113 "If I<pathname> is relative, then by default it is interpreted relative to "
1114 "the directory referred to by the open file descriptor, I<dirfd> (rather than "
1115 "relative to the current working directory of the calling process, as is done "
1116 "by B<utimes>(2) for a relative pathname). See B<openat>(2) for an "
1117 "explanation of why this can be useful."
1118 msgstr ""
1119 "إذا كان I<pathname> نسبيًا، فسيتم تفسيره مبدئيًا بالنسبة إلى الدليل المشار "
1120 "إليه بواسطة واصف الملف المفتوح، I<dirfd> (بدلاً من نسبته إلى دليل العمل "
1121 "الحالي للعملية المتصلة، كما تفعل B<utimes>(2) لاسم مسار نسبي). انظر "
1122 "B<openat>(2) لشرح لماذا يمكن أن يكون هذا مفيدًا."
1123
1124 #. type: Plain text
1125 #: debian-trixie fedora-44 fedora-rawhide
1126 msgid ""
1127 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
1128 "then I<pathname> is interpreted relative to the current working directory of "
1129 "the calling process (like B<utimes>(2))."
1130 msgstr ""
1131 "إذا كان اسم المسار I<pathname> نسبيا وكان I<dirfd> هو القيمة الخاصة "
1132 "B<AT_FDCWD>، فسيُفسر I<pathname> نسبة إلى دليل العمل الحالي للعملية المستدعِيَة "
1133 "(مثل B<utimes>(2))."
1134
1135 #. type: Plain text
1136 #: debian-trixie fedora-44 fedora-rawhide
1137 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
1138 msgstr "إذا كان اسم المسار I<pathname> مطلقاً، فُيتجاهل I<dirfd>."
1139
1140 #. type: Plain text
1141 #: debian-trixie fedora-44 fedora-rawhide
1142 msgid ""
1143 "If I<pathname> is an empty string, operate on the file referred to by "
1144 "I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> "
1145 "flag). In this case, I<dirfd> can refer to any type of file, not just a "
1146 "directory. If I<dirfd> is B<AT_FDCWD>, the call operates on the current "
1147 "working directory. This flag is Linux-specific; define B<_GNU_SOURCE> to "
1148 "obtain its definition."
1149 msgstr ""
1150 "إذا كان I<pathname> سلسلة فارغة، فتُجرى العملية على الملف الذي يشير إليه "
1151 "I<dirfd> (والذي ربما جُلب باستخدام الراية B<O_PATH> في B<open>(2)). في هذه "
1152 "الحالة، يمكن لـ I<dirfd> أن يشير إلى أي نوع من الملفات، وليس مجرد دليل. إذا "
1153 "كان I<dirfd> هو B<AT_FDCWD>، فتُجرى المكالمة على دليل العمل الحالي. هذه "
1154 "الراية خاصة بلينكس؛ عرّف B<_GNU_SOURCE> للحصول على تعريفها."
1155
1156 #. type: Plain text
1157 #: debian-trixie fedora-44 fedora-rawhide
1158 msgid ""
1159 "If I<pathname> specifies a symbolic link, then update the timestamps of the "
1160 "link, rather than the file to which it refers."
1161 msgstr ""
1162 "إذا كان I<pathname> يحدد رابطًا رمزيًا، فقم بتحديث الطوابع الزمنية للرابط، "
1163 "بدلاً من الملف الذي يشير إليه."
1164
1165 #. type: Plain text
1166 #: debian-trixie fedora-44 fedora-rawhide
1167 msgid ""
1168 "(B<utimensat>()) I<pathname> is relative but I<dirfd> is neither "
1169 "B<AT_FDCWD> nor a valid file descriptor."
1170 msgstr ""
1171 "(B<utimensat>()) I<pathname> نسبي لكن I<dirfd> ليس B<AT_FDCWD> ولا واصف ملف "
1172 "صالح."
1173
1174 #. type: Plain text
1175 #: debian-trixie fedora-44 fedora-rawhide
1176 msgid ""
1177 "I<times> pointed to an invalid address; or, I<dirfd> was B<AT_FDCWD>, and "
1178 "I<pathname> is NULL or an invalid address."
1179 msgstr ""
1180 "I<times> أشار إلى عنوان غير صالح؛ أو، كان I<dirfd> B<AT_FDCWD>، و "
1181 "I<pathname> هو NULL أو عنوان غير صالح."
1182
1183 #. SUSv4 does not specify this error.
1184 #. type: Plain text
1185 #: debian-trixie fedora-44 fedora-rawhide
1186 msgid ""
1187 "I<pathname> is NULL, I<dirfd> is not B<AT_FDCWD>, and I<flags> contains "
1188 "B<AT_SYMLINK_NOFOLLOW>."
1189 msgstr ""
1190 "I<pathname> هو NULL، وI<dirfd> ليس B<AT_FDCWD>، وI<flags> يحتوي على "
1191 "B<AT_SYMLINK_NOFOLLOW>."
1192
1193 #. type: Plain text
1194 #: debian-trixie fedora-44 fedora-rawhide
1195 msgid ""
1196 "(B<utimensat>()) Too many symbolic links were encountered in resolving "
1197 "I<pathname>."
1198 msgstr ""
1199 "(B<utimensat>()) تمت مصادفة عدد كبير جدًا من الروابط الرمزية أثناء حل "
1200 "I<pathname>."
1201
1202 #. type: Plain text
1203 #: debian-trixie fedora-44 fedora-rawhide
1204 msgid "(B<utimensat>()) I<pathname> is too long."
1205 msgstr "(B<utimensat>()) I<pathname> طويل جدًا."
1206
1207 #. type: Plain text
1208 #: debian-trixie fedora-44 fedora-rawhide
1209 msgid ""
1210 "(B<utimensat>()) A component of I<pathname> does not refer to an existing "
1211 "directory or file, or I<pathname> is an empty string."
1212 msgstr ""
1213 "(B<utimensat>()) أحد مكونات I<pathname> لا يشير إلى دليل أو ملف موجود، أو "
1214 "I<pathname> هو سلسلة فارغة."
1215
1216 #. type: Plain text
1217 #: debian-trixie fedora-44 fedora-rawhide
1218 msgid ""
1219 "(B<utimensat>()) I<pathname> is a relative pathname, but I<dirfd> is "
1220 "neither B<AT_FDCWD> nor a file descriptor referring to a directory; or, one "
1221 "of the prefix components of I<pathname> is not a directory."
1222 msgstr ""
1223 "(B<utimensat>()) I<pathname> هو اسم مسار نسبي، لكن I<dirfd> ليس B<AT_FDCWD> "
1224 "ولا واصف ملف يشير إلى دليل؛ أو، أحد مكونات البادئة لـ I<pathname> ليس دليلاً."
1225
1226 #. type: Plain text
1227 #: debian-trixie fedora-44 fedora-rawhide
1228 msgid ""
1229 "(B<utimensat>()) Search permission is denied for one of the prefix "
1230 "components of I<pathname>."
1231 msgstr "(B<utimensat>()) تم رفض إذن البحث لأحد مكونات البادئة لـ I<pathname>."
1232
1233 #. type: Plain text
1234 #: debian-trixie fedora-44 fedora-rawhide
1235 msgid ""
1236 "On Linux, B<futimens>() is a library function implemented on top of the "
1237 "B<utimensat>() system call. To support this, the Linux B<utimensat>() "
1238 "system call implements a nonstandard feature: if I<pathname> is NULL, then "
1239 "the call modifies the timestamps of the file referred to by the file "
1240 "descriptor I<dirfd> (which may refer to any type of file). Using this "
1241 "feature, the call I<futimens(fd,\\ times)> is implemented as:"
1242 msgstr ""
1243 "في لينكس، B<futimens>() هي دالة مكتبة مطبقة فوق استدعاء النظام "
1244 "B<utimensat>(). لدعم هذا، ينفذ استدعاء النظام B<utimensat>() في لينكس ميزة "
1245 "غير قياسية: إذا كان I<pathname> هو NULL، فإن الاستدعاء يعدل الطوابع الزمنية "
1246 "للملف المشار إليه بواسطة واصف الملف I<dirfd> (والذي قد يشير إلى أي نوع من "
1247 "الملفات). باستخدام هذه الميزة، يتم تنفيذ الاستدعاء I<futimens(fd,\\ times)> "
1248 "كالتالي:"
1249
1250 #. type: Plain text
1251 #: debian-trixie fedora-44 fedora-rawhide
1252 msgid ""
1253 "Note, however, that the glibc wrapper for B<utimensat>() disallows passing "
1254 "NULL as the value for I<pathname>: the wrapper function returns the error "
1255 "B<EINVAL> in this case."
1256 msgstr ""
1257 "لاحظ، مع ذلك، أن الغلاف glibc لـ B<utimensat>() يمنع تمرير NULL كقيمة لـ "
1258 "I<pathname>: دالة الغلاف ترجع الخطأ B<EINVAL> في هذه الحالة."
1259
1260 #. type: Plain text
1261 #: debian-trixie fedora-44 fedora-rawhide
1262 msgid "POSIX.1-2008."
1263 msgstr "POSIX.1-2008."
1264
1265 #. type: Plain text
1266 #: debian-trixie fedora-44 fedora-rawhide
1267 msgid ""
1268 "If both I<tv_nsec> fields are specified as B<UTIME_OMIT>, then the Linux "
1269 "implementation of B<utimensat>() succeeds even if the file referred to by "
1270 "I<dirfd> and I<pathname> does not exist."
1271 msgstr ""
1272 "إذا تم تحديد كلا حقلي I<tv_nsec> كـ B<UTIME_OMIT>، فإن تنفيذ لينكس لـ "
1273 "B<utimensat>() ينجح حتى لو كان الملف المشار إليه بواسطة I<dirfd> "
1274 "وI<pathname> غير موجود."
1275
1276 #. type: TH
1277 #: fedora-44 fedora-rawhide
1278 #, no-wrap
1279 msgid "2024-07-23"
1280 msgstr "23 يوليو 2024"
1281
1282 #. type: TH
1283 #: fedora-44 fedora-rawhide
1284 #, no-wrap
1285 msgid "Linux man-pages 6.13"
1286 msgstr "صفحات دليل لينكس 6.13"
1287
1288 #. type: TH
1289 #: mageia-cauldron
1290 #, no-wrap
1291 msgid "Linux man-pages 6.17"
1292 msgstr "صفحات دليل لينكس 6.17"
1293
1294 #. type: TH
1295 #: opensuse-leap-16-1 opensuse-tumbleweed
1296 #, no-wrap
1297 msgid "Linux man-pages (unreleased)"
1298 msgstr "صفحات دليل لينكس (لم تصدر بعد)"