Debian Codegraph @

po/ar/man2/open.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:33+0200\n"
9 "PO-Revision-Date: 2026-05-17 17:41+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 "open"
25 msgstr "open"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 فبراير 2026"
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 "open, openat, creat - open and possibly create a file"
51 msgstr "open، openat، creat - فتح ملف وربما إنشاؤه"
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 "B<#include E<lt>fcntl.hE<gt>>\n"
78 msgstr "B<#include E<lt>fcntl.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
82 #: opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<int open(const char *>I<path>B<, int >I<flags>B<, ...>\n"
86 "B< >\\f[R]/*B< mode_t >I<mode>B< >\\f[R]*/B< );>\n"
87 msgstr ""
88 "B<int open(const char *>I<المسار>B<, int >I<الأعلام>B<, ...>\n"
89 "B< >\\f[R]/*B< mode_t >I<الوضع>B< >\\f[R]*/B< );>\n"
90
91 #. type: Plain text
92 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
93 #: opensuse-tumbleweed
94 #, no-wrap
95 msgid "B<int creat(const char *>I<path>B<, mode_t >I<mode>B<);>\n"
96 msgstr "B<int creat(const char *>I<المسار>B<, mode_t >I<الوضع>B<);>\n"
97
98 #. type: Plain text
99 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
100 #: opensuse-tumbleweed
101 #, no-wrap
102 msgid ""
103 "B<int openat(int >I<dirfd>B<, const char *>I<path>B<, int >I<flags>B<, ...>\n"
104 "B< >\\f[R]/*B< mode_t >I<mode>B< >\\f[R]*/B< );>\n"
105 msgstr ""
106 "B<int openat(int >I<واصف_دليل>B<, const char *>I<المسار>B<, int >I<الأعلام>B<, ...>\n"
107 "B< >\\f[R]/*B< mode_t >I<الوضع>B< >\\f[R]*/B< );>\n"
108
109 #. type: Plain text
110 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
111 #: opensuse-tumbleweed
112 #, no-wrap
113 msgid ""
114 "/* Documented separately, in B<openat2>(2):\n"
115 "\\& */\n"
116 "B<int openat2(int >I<dirfd>B<, const char *>I<path>B<,>\n"
117 "B< const struct open_how *>I<how>B<, size_t >I<size>B<);>\n"
118 msgstr ""
119 "/* وُثقت منفصلة في B<openat2>(2):\n"
120 "\\& */\n"
121 "B<int openat2(int >I<واصف_دليل>B<, const char *>I<المسار>B<,>\n"
122 "B< const struct open_how *>I<الكيفية>B<, size_t >I<الحجم>B<);>\n"
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid ""
128 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
129 msgstr ""
130 "متطلبات ماكروات اختبار الميزات لـ glibc (انظر B<feature_test_macros>(7)):"
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 msgid "B<openat>():"
136 msgstr "B<openat>():"
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 #, no-wrap
142 msgid ""
143 " Since glibc 2.10:\n"
144 " _POSIX_C_SOURCE E<gt>= 200809L\n"
145 " Before glibc 2.10:\n"
146 " _ATFILE_SOURCE\n"
147 msgstr ""
148 " منذ glibc 2.10:\n"
149 " _POSIX_C_SOURCE E<gt>= 200809L\n"
150 " قبل glibc 2.10:\n"
151 " _ATFILE_SOURCE\n"
152
153 #. type: SH
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 #, no-wrap
157 msgid "DESCRIPTION"
158 msgstr "الوصف"
159
160 #. type: Plain text
161 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
162 #: opensuse-tumbleweed
163 msgid ""
164 "The B<open>() system call opens the file specified by I<path>. If the "
165 "specified file does not exist, it may optionally (if B<O_CREAT> is specified "
166 "in I<flags>) be created by B<open>()."
167 msgstr ""
168 "يفتح استدعاء النظام B<open>() الملف المحدد بواسطة I<المسار>. إذا كان الملف "
169 "المحدد غير موجود، فيمكن اختيارياً (إذا حُدد B<O_CREAT> في I<الأعلام>) أن يُنشأ "
170 "بواسطة B<open>()."
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "The return value of B<open>() is a file descriptor, a small, nonnegative "
177 "integer that is an index to an entry in the process's table of open file "
178 "descriptors. The file descriptor is used in subsequent system calls "
179 "(B<read>(2), B<write>(2), B<lseek>(2), B<fcntl>(2), etc.) to refer to the "
180 "open file. The file descriptor returned by a successful call will be the "
181 "lowest-numbered file descriptor not currently open for the process."
182 msgstr ""
183 "قيمة الإرجاع لـ B<open>() هي واصف ملف، وهو عدد صحيح صغير غير سالب يمثل فهرساً "
184 "لمدخل في جدول واصفات الملفات المفتوحة للعملية. يُستخدم واصف الملف في "
185 "استدعاءات النظام اللاحقة (B<read>(2)، B<write>(2)، B<lseek>(2)، B<fcntl>(2)، "
186 "إلخ) للإشارة إلى الملف المفتوح. سيكون واصف الملف الذي يعيده استدعاء ناجح هو "
187 "واصف الملف ذو الرقم الأقل غير المفتوح حالياً للعملية."
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid ""
193 "By default, the new file descriptor is set to remain open across an "
194 "B<execve>(2) (i.e., the B<FD_CLOEXEC> file descriptor flag described in "
195 "B<fcntl>(2) is initially disabled); the B<O_CLOEXEC> flag, described below, "
196 "can be used to change this default. The file offset is set to the beginning "
197 "of the file (see B<lseek>(2))."
198 msgstr ""
199 "افتراضياً، يُضبط واصف الملف الجديد ليظل مفتوحاً عبر B<execve>(2) (أي أن علم "
200 "واصف الملف B<FD_CLOEXEC> الموصوف في B<fcntl>(2) يكون معطلاً في البداية)؛ يمكن "
201 "استخدام العلم B<O_CLOEXEC>، الموصوف أدناه، لتغيير هذا المبدأ. يُضبط إزاحة "
202 "الملف على بداية الملف (انظر B<lseek>(2))."
203
204 #. type: Plain text
205 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
206 #: opensuse-tumbleweed
207 msgid ""
208 "A call to B<open>() creates a new I<open file description>, an entry in the "
209 "system-wide table of open files. The open file description records the file "
210 "offset and the file status flags (see below). A file descriptor is a "
211 "reference to an open file description; this reference is unaffected if "
212 "I<path> is subsequently removed or modified to refer to a different file. "
213 "For further details on open file descriptions, see NOTES."
214 msgstr ""
215 "يؤدي استدعاء B<open>() إلى إنشاء I<وصف ملف مفتوح> جديد، وهو مدخل في الجدول "
216 "العام للملفات المفتوحة على مستوى النظام. يسجل وصف الملف المفتوح إزاحة الملف "
217 "وأعلام حالة الملف (انظر أدناه). واصف الملف هو مرجع لوصف ملف مفتوح؛ ولا يتأثر "
218 "هذا المرجع إذا حُذف I<المسار> لاحقًا أو عُدل ليشير إلى ملف مختلف. لمزيد من "
219 "التفاصيل حول أوصاف الملفات المفتوحة، انظر الملاحظات (NOTES)."
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid ""
225 "The argument I<flags> must include one of the following I<access modes>: "
226 "B<O_RDONLY>, B<O_WRONLY>, or B<O_RDWR>. These request opening the file read-"
227 "only, write-only, or read/write, respectively."
228 msgstr ""
229 "يجب أن يتضمن المعامل I<الأعلام> أحد I<أوضاع الوصول> التالية: B<O_RDONLY> أو "
230 "B<O_WRONLY> أو B<O_RDWR>. تطلب هذه الأوضاع فتح الملف للقراءة فقط، أو للكتابة "
231 "فقط، أو للقراءة والكتابة، على التوالي."
232
233 #. SUSv4 divides the flags into:
234 #. * Access mode
235 #. * File creation
236 #. * File status
237 #. * Other (O_CLOEXEC, O_DIRECTORY, O_NOFOLLOW)
238 #. though it's not clear what the difference between "other" and
239 #. "File creation" flags is. I raised an Aardvark to see if this
240 #. can be clarified in SUSv4; 10 Oct 2008.
241 #. http://thread.gmane.org/gmane.comp.standards.posix.austin.general/64/focus=67
242 #. TC1 (balloted in 2013), resolved this, so that those three constants
243 #. are also categorized" as file status flags.
244 #. type: Plain text
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 msgid ""
248 "In addition, zero or more file creation flags and file status flags can be "
249 "bitwise ORed in I<flags>. The I<file creation flags> are B<O_CLOEXEC>, "
250 "B<O_CREAT>, B<O_DIRECTORY>, B<O_EXCL>, B<O_NOCTTY>, B<O_NOFOLLOW>, "
251 "B<O_TMPFILE>, and B<O_TRUNC>. The I<file status flags> are all of the "
252 "remaining flags listed below. The distinction between these two groups of "
253 "flags is that the file creation flags affect the semantics of the open "
254 "operation itself, while the file status flags affect the semantics of "
255 "subsequent I/O operations. The file status flags can be retrieved and (in "
256 "some cases) modified; see B<fcntl>(2) for details."
257 msgstr ""
258 "بالإضافة إلى ذلك، يمكن إجراء عملية OR بتية لصفر أو أكثر من أعلام إنشاء الملف "
259 "وأعلام حالة الملف في I<الأعلام>. I<أعلام إنشاء الملف> هي B<O_CLOEXEC> و "
260 "B<O_CREAT> و B<O_DIRECTORY> و B<O_EXCL> و B<O_NOCTTY> و B<O_NOFOLLOW> و "
261 "B<O_TMPFILE> و B<O_TRUNC>. I<أعلام حالة الملف> هي جميع الأعلام المتبقية "
262 "المدرجة أدناه. الفرق بين هاتين المجموعتين من الأعلام هو أن أعلام إنشاء الملف "
263 "تؤثر على دلالات عملية الفتح نفسها، بينما تؤثر أعلام حالة الملف على دلالات "
264 "عمليات الإدخال/الإخراج اللاحقة. يمكن استرداد أعلام حالة الملف وتعديلها (في "
265 "بعض الحالات)؛ انظر B<fcntl>(2) للتفاصيل."
266
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 ""
271 "The full list of file creation flags and file status flags is as follows:"
272 msgstr "القائمة الكاملة لأعلام إنشاء الملف وأعلام حالة الملف هي كما يلي:"
273
274 #. type: TP
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 #, no-wrap
278 msgid "B<O_APPEND>"
279 msgstr "B<O_APPEND>"
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 msgid ""
285 "The file is opened in append mode. Before each B<write>(2), the file offset "
286 "is positioned at the end of the file, as if with B<lseek>(2). The "
287 "modification of the file offset and the write operation are performed as a "
288 "single atomic step."
289 msgstr ""
290 "يُفتح الملف في وضع الإلحاق. قبل كل عملية B<write>(2)، يتم وضع إزاحة الملف عند "
291 "نهاية الملف، كما هو الحال مع B<lseek>(2). يتم تنفيذ تعديل إزاحة الملف وعملية "
292 "الكتابة كخطوة ذرية واحدة."
293
294 #. For more background, see
295 #. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453946
296 #. http://nfs.sourceforge.net/
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid ""
301 "B<O_APPEND> may lead to corrupted files on NFS filesystems if more than one "
302 "process appends data to a file at once. This is because NFS does not "
303 "support appending to a file, so the client kernel has to simulate it, which "
304 "can't be done without a race condition."
305 msgstr ""
306 "قد يؤدي B<O_APPEND> إلى ملفات تالفة على أنظمة ملفات NFS إذا قامت أكثر من "
307 "عملية بإلحاق بيانات بملف في وقت واحد. هذا لأن NFS لا يدعم الإلحاق بملف، لذا "
308 "يتعين على نواة العميل محاكاته، وهو ما لا يمكن القيام به دون حالة تسابق."
309
310 #. type: TP
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid "B<O_ASYNC>"
315 msgstr "B<O_ASYNC>"
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "Enable signal-driven I/O: generate a signal (B<SIGIO> by default, but this "
322 "can be changed via B<fcntl>(2)) when input or output becomes possible on "
323 "this file descriptor. This feature is available only for terminals, "
324 "pseudoterminals, sockets, and (since Linux 2.6) pipes and FIFOs. See "
325 "B<fcntl>(2) for further details. See also BUGS, below."
326 msgstr ""
327 "تمكين الإدخال/الإخراج المدفوع بالإشارات: توليد إشارة (B<SIGIO> افتراضياً، "
328 "ولكن يمكن تغيير ذلك عبر B<fcntl>(2)) عندما يصبح الإدخال أو الإخراج ممكناً على "
329 "واصف الملف هذا. هذه الميزة متاحة فقط للأطراف، والأطراف الوهمية، والمقابس، "
330 "و(منذ لينكس 2.6) الأنابيب و FIFOs. انظر B<fcntl>(2) لمزيد من التفاصيل. انظر "
331 "أيضًا العلل (BUGS) أدناه."
332
333 #. type: TP
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 #, no-wrap
337 msgid "B<O_CLOEXEC> (since Linux 2.6.23)"
338 msgstr "B<O_CLOEXEC> (منذ لينكس 2.6.23)"
339
340 #. NOTE! several other man pages refer to this text
341 #. FIXME . for later review when Issue 8 is one day released...
342 #. POSIX proposes to fix many APIs that provide hidden FDs
343 #. http://austingroupbugs.net/tag_view_page.php?tag_id=8
344 #. http://austingroupbugs.net/view.php?id=368
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 msgid ""
349 "Enable the close-on-exec flag for the new file descriptor. Specifying this "
350 "flag permits a program to avoid additional B<fcntl>(2) B<F_SETFD> "
351 "operations to set the B<FD_CLOEXEC> flag."
352 msgstr ""
353 "تمكين علم الغلق-عند-التنفيذ (close-on-exec) لواصف الملف الجديد. يسمح تحديد "
354 "هذا العلم للبرنامج بتجنب عمليات B<fcntl>(2) B<F_SETFD> إضافية لضبط علم "
355 "B<FD_CLOEXEC>."
356
357 #. This flag fixes only one form of the race condition;
358 #. The race can also occur with, for example, file descriptors
359 #. returned by accept(), pipe(), etc.
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 msgid ""
364 "Note that the use of this flag is essential in some multithreaded programs, "
365 "because using a separate B<fcntl>(2) B<F_SETFD> operation to set the "
366 "B<FD_CLOEXEC> flag does not suffice to avoid race conditions where one "
367 "thread opens a file descriptor and attempts to set its close-on-exec flag "
368 "using B<fcntl>(2) at the same time as another thread does a B<fork>(2) "
369 "plus B<execve>(2). Depending on the order of execution, the race may lead "
370 "to the file descriptor returned by B<open>() being unintentionally leaked "
371 "to the program executed by the child process created by B<fork>(2). (This "
372 "kind of race is in principle possible for any system call that creates a "
373 "file descriptor whose close-on-exec flag should be set, and various other "
374 "Linux system calls provide an equivalent of the B<O_CLOEXEC> flag to deal "
375 "with this problem.)"
376 msgstr ""
377 "لاحظ أن استخدام هذا العلم ضروري في بعض البرامج متعددة الخيوط، لأن استخدام "
378 "عملية B<fcntl>(2) B<F_SETFD> منفصلة لضبط علم B<FD_CLOEXEC> لا يكفي لتجنب "
379 "حالات التسابق حيث يفتح أحد الخيوط واصف ملف ويحاول ضبط علم الغلق-عند-التنفيذ "
380 "الخاص به باستخدام B<fcntl>(2) في نفس الوقت الذي يقوم فيه خيط آخر بعمل "
381 "B<fork>(2) بالإضافة إلى B<execve>(2). اعتماداً على ترتيب التنفيذ، قد يؤدي "
382 "التسابق إلى تسريب واصف الملف الذي أعاده B<open>() عن غير قصد إلى البرنامج "
383 "الذي تنفذه العملية الابن التي أنشأها B<fork>(2). (هذا النوع من التسابق ممكن "
384 "من حيث المبدأ لأي استدعاء نظام ينشئ واصف ملف يجب ضبط علم الغلق-عند-التنفيذ "
385 "الخاص به، وتوفر العديد من استدعاءات نظام لينكس الأخرى مقابلاً لعلم "
386 "B<O_CLOEXEC> للتعامل مع هذه المشكلة)."
387
388 #. type: TP
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 #, no-wrap
392 msgid "B<O_CREAT>"
393 msgstr "B<O_CREAT>"
394
395 #. type: Plain text
396 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
397 #: opensuse-tumbleweed
398 msgid "If I<path> does not exist, create it as a regular file."
399 msgstr "إذا كان I<المسار> غير موجود، فيُنشأ كملف عادي."
400
401 #. type: Plain text
402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
404 msgid ""
405 "The owner (user ID) of the new file is set to the effective user ID of the "
406 "process."
407 msgstr ""
408 "يُضبط مالك (معرف المستخدم) الملف الجديد على معرف المستخدم الفعلي للعملية."
409
410 #. As at Linux 2.6.25, bsdgroups is supported by ext2, ext3, ext4, and
411 #. XFS (since Linux 2.6.14).
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 msgid ""
416 "The group ownership (group ID) of the new file is set either to the "
417 "effective group ID of the process (System V semantics) or to the group ID "
418 "of the parent directory (BSD semantics). On Linux, the behavior depends on "
419 "whether the set-group-ID mode bit is set on the parent directory: if that "
420 "bit is set, then BSD semantics apply; otherwise, System V semantics apply. "
421 "For some filesystems, the behavior also depends on the I<bsdgroups> and "
422 "I<sysvgroups> mount options described in B<mount>(8)."
423 msgstr ""
424 "يُضبط مالك المجموعة (معرف المجموعة) للملف الجديد إما على معرف المجموعة الفعلي "
425 "للعملية (دلالات System V) أو على معرف المجموعة للدليل الأب (دلالات BSD). على "
426 "لينكس، يعتمد السلوك على ما إذا كانت بتة وضع set-group-ID مضبوطة على الدليل "
427 "الأب: إذا كانت تلك البتة مضبوطة، فستُطبق دلالات BSD؛ وإلا فتُطبق دلالات System "
428 "V. بالنسبة لبعض أنظمة الملفات، يعتمد السلوك أيضًا على خيارات الوصل "
429 "I<bsdgroups> و I<sysvgroups> الموصوفة في B<mount>(8)."
430
431 #. type: Plain text
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 msgid ""
435 "The I<mode> argument specifies the file mode bits to be applied when a new "
436 "file is created. If neither B<O_CREAT> nor B<O_TMPFILE> is specified in "
437 "I<flags>, then I<mode> is ignored (and can thus be specified as 0, or simply "
438 "omitted). The I<mode> argument B<must> be supplied if B<O_CREAT> or "
439 "B<O_TMPFILE> is specified in I<flags>; if it is not supplied, some arbitrary "
440 "bytes from the stack will be applied as the file mode."
441 msgstr ""
442 "يحدد المعامل I<الوضع> بتات وضع الملف التي ستُطبق عند إنشاء ملف جديد. إذا لم "
443 "يُحدد B<O_CREAT> ولا B<O_TMPFILE> في I<الأعلام>، فيتم تجاهل I<الوضع> "
444 "(وبالتالي يمكن تحديده كـ 0، أو حذفه ببساطة). B<يجب> توفير المعامل I<الوضع> "
445 "إذا حُدد B<O_CREAT> أو B<O_TMPFILE> في I<الأعلام>؛ وإذا لم يتم توفيره، فستُطبق "
446 "بعض البايتات العشوائية من المكدس كوضع للملف."
447
448 #. type: Plain text
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 msgid ""
452 "The effective mode is modified by the process's I<umask> in the usual way: "
453 "in the absence of a default ACL, the mode of the created file is I<(mode\\ "
454 "&\\ \\[ti]umask)>."
455 msgstr ""
456 "يُعدل الوضع الفعلي بواسطة I<umask> للعملية بالطريقة المعتادة: في حالة عدم "
457 "وجود ACL مبدئي، يكون وضع الملف المنشأ هو I<(الوضع\\ &\\ \\[ti]umask)>."
458
459 #. type: Plain text
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 msgid ""
463 "Note that I<mode> applies only to future accesses of the newly created file; "
464 "the B<open>() call that creates a read-only file may well return a read/"
465 "write file descriptor."
466 msgstr ""
467 "لاحظ أن I<الوضع> ينطبق فقط على الوصول المستقبلي للملف المنشأ حديثاً؛ قد يعيد "
468 "استدعاء B<open>() الذي ينشئ ملفاً للقراءة فقط واصف ملف للقراءة والكتابة."
469
470 #. type: Plain text
471 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
472 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
473 msgid "The following symbolic constants are provided for I<mode>:"
474 msgstr "تتوفر الثوابت الرمزية التالية لـ I<الوضع>:"
475
476 #. type: TP
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 #, no-wrap
480 msgid "B<S_IRWXU>"
481 msgstr "B<S_IRWXU>"
482
483 #. type: Plain text
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 msgid "00700 user (file owner) has read, write, and execute permission"
487 msgstr "00700 يمتلك المستخدم (مالك الملف) أذونات القراءة والكتابة والتنفيذ"
488
489 #. type: TP
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 #, no-wrap
493 msgid "B<S_IRUSR>"
494 msgstr "B<S_IRUSR>"
495
496 #. type: Plain text
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 msgid "00400 user has read permission"
500 msgstr "00400 يمتلك المستخدم إذن القراءة"
501
502 #. type: TP
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 #, no-wrap
506 msgid "B<S_IWUSR>"
507 msgstr "B<S_IWUSR>"
508
509 #. type: Plain text
510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
512 msgid "00200 user has write permission"
513 msgstr "00200 يمتلك المستخدم إذن الكتابة"
514
515 #. type: TP
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 #, no-wrap
519 msgid "B<S_IXUSR>"
520 msgstr "B<S_IXUSR>"
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 "00100 user has execute permission"
526 msgstr "00100 يمتلك المستخدم إذن التنفيذ"
527
528 #. type: TP
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 #, no-wrap
532 msgid "B<S_IRWXG>"
533 msgstr "B<S_IRWXG>"
534
535 #. type: Plain text
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 msgid "00070 group has read, write, and execute permission"
539 msgstr "00070 تمتلك المجموعة أذونات القراءة والكتابة والتنفيذ"
540
541 #. type: TP
542 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
543 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
544 #, no-wrap
545 msgid "B<S_IRGRP>"
546 msgstr "B<S_IRGRP>"
547
548 #. type: Plain text
549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
551 msgid "00040 group has read permission"
552 msgstr "00040 تمتلك المجموعة إذن القراءة"
553
554 #. type: TP
555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
557 #, no-wrap
558 msgid "B<S_IWGRP>"
559 msgstr "B<S_IWGRP>"
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 "00020 group has write permission"
565 msgstr "00020 تمتلك المجموعة إذن الكتابة"
566
567 #. type: TP
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 #, no-wrap
571 msgid "B<S_IXGRP>"
572 msgstr "B<S_IXGRP>"
573
574 #. type: Plain text
575 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
576 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
577 msgid "00010 group has execute permission"
578 msgstr "00010 تمتلك المجموعة إذن التنفيذ"
579
580 #. type: TP
581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
582 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
583 #, no-wrap
584 msgid "B<S_IRWXO>"
585 msgstr "B<S_IRWXO>"
586
587 #. type: Plain text
588 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
589 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
590 msgid "00007 others have read, write, and execute permission"
591 msgstr "00007 يمتلك الآخرون أذونات القراءة والكتابة والتنفيذ"
592
593 #. type: TP
594 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
595 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
596 #, no-wrap
597 msgid "B<S_IROTH>"
598 msgstr "B<S_IROTH>"
599
600 #. type: Plain text
601 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
602 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
603 msgid "00004 others have read permission"
604 msgstr "00004 يمتلك الآخرون إذن القراءة"
605
606 #. type: TP
607 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
608 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
609 #, no-wrap
610 msgid "B<S_IWOTH>"
611 msgstr "B<S_IWOTH>"
612
613 #. type: Plain text
614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
616 msgid "00002 others have write permission"
617 msgstr "00002 يمتلك الآخرون إذن الكتابة"
618
619 #. type: TP
620 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
621 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
622 #, no-wrap
623 msgid "B<S_IXOTH>"
624 msgstr "B<S_IXOTH>"
625
626 #. type: Plain text
627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
629 msgid "00001 others have execute permission"
630 msgstr "00001 يمتلك الآخرون إذن التنفيذ"
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 "According to POSIX, the effect when other bits are set in I<mode> is "
637 "unspecified. On Linux, the following bits are also honored in I<mode>:"
638 msgstr ""
639 "وفقاً لـ POSIX، يكون التأثير عند ضبط بتات أخرى في I<الوضع> غير محدد. على "
640 "لينكس، تُحترم أيضًا البتات التالية في I<الوضع>:"
641
642 #. type: TP
643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
644 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
645 #, no-wrap
646 msgid "B<S_ISUID>"
647 msgstr "B<S_ISUID>"
648
649 #. type: Plain text
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 msgid "0004000 set-user-ID bit"
653 msgstr "0004000 بتة set-user-ID"
654
655 #. type: TP
656 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
657 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
658 #, no-wrap
659 msgid "B<S_ISGID>"
660 msgstr "B<S_ISGID>"
661
662 #. type: Plain text
663 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
664 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
665 msgid "0002000 set-group-ID bit (see B<inode>(7))."
666 msgstr "0002000 بتة set-group-ID (انظر B<inode>(7))."
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<S_ISVTX>"
673 msgstr "B<S_ISVTX>"
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 "0001000 sticky bit (see B<inode>(7))."
679 msgstr "0001000 البتة اللاصقة (sticky bit) (انظر B<inode>(7))."
680
681 #. type: TP
682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
684 #, no-wrap
685 msgid "B<O_DIRECT> (since Linux 2.4.10)"
686 msgstr "B<O_DIRECT> (منذ لينكس 2.4.10)"
687
688 #. type: Plain text
689 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
690 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
691 msgid ""
692 "Try to minimize cache effects of the I/O to and from this file. In general "
693 "this will degrade performance, but it is useful in special situations, such "
694 "as when applications do their own caching. File I/O is done directly to/"
695 "from user-space buffers. The B<O_DIRECT> flag on its own makes an effort to "
696 "transfer data synchronously, but does not give the guarantees of the "
697 "B<O_SYNC> flag that data and necessary metadata are transferred. To "
698 "guarantee synchronous I/O, B<O_SYNC> must be used in addition to "
699 "B<O_DIRECT>. See NOTES below for further discussion."
700 msgstr ""
701 "محاولة تقليل آثار الخبيئة للإدخال/الإخراج من وإلى هذا الملف. بشكل عام، سيؤدي "
702 "ذلك إلى تدهور الأداء، ولكنه مفيد في حالات خاصة، مثل عندما تقوم التطبيقات "
703 "بعمليات التخبئة الخاصة بها. يتم الإدخال/الإخراج للملف مباشرة من/إلى مخازن "
704 "مساحة المستخدم. يبذل العلم B<O_DIRECT> بمفرده جهداً لنقل البيانات بشكل "
705 "متزامن، ولكنه لا يعطي ضمانات العلم B<O_SYNC> بأن البيانات والبيانات الوصفية "
706 "اللازمة قد نُقلت. لضمان إدخال/إخراج متزامن، يجب استخدام B<O_SYNC> بالإضافة "
707 "إلى B<O_DIRECT>. انظر الملاحظات (NOTES) أدناه لمزيد من النقاش."
708
709 #. type: Plain text
710 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
711 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
712 msgid ""
713 "A semantically similar (but deprecated) interface for block devices is "
714 "described in B<raw>(8)."
715 msgstr "وُصفت واجهة مشابهة دلالياً (ولكنها مهجورة) للأجهزة الكتلية في B<raw>(8)."
716
717 #. #-#-#-#-# archlinux: open.2.pot (PACKAGE VERSION) #-#-#-#-#
718 #. type: TQ
719 #. #-#-#-#-# debian-trixie: open.2.pot (PACKAGE VERSION) #-#-#-#-#
720 #. type: TP
721 #. #-#-#-#-# debian-unstable: open.2.pot (PACKAGE VERSION) #-#-#-#-#
722 #. type: TQ
723 #. #-#-#-#-# fedora-44: open.2.pot (PACKAGE VERSION) #-#-#-#-#
724 #. type: TP
725 #. #-#-#-#-# fedora-rawhide: open.2.pot (PACKAGE VERSION) #-#-#-#-#
726 #. type: TP
727 #. #-#-#-#-# mageia-cauldron: open.2.pot (PACKAGE VERSION) #-#-#-#-#
728 #. type: TQ
729 #. #-#-#-#-# opensuse-leap-16-1: open.2.pot (PACKAGE VERSION) #-#-#-#-#
730 #. type: TQ
731 #. #-#-#-#-# opensuse-tumbleweed: open.2.pot (PACKAGE VERSION) #-#-#-#-#
732 #. type: TQ
733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
734 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
735 #, no-wrap
736 msgid "B<O_DIRECTORY>"
737 msgstr "B<O_DIRECTORY>"
738
739 #. But see the following and its replies:
740 #. http://marc.theaimsgroup.com/?t=112748702800001&r=1&w=2
741 #. [PATCH] open: O_DIRECTORY and O_CREAT together should fail
742 #. O_DIRECTORY | O_CREAT causes O_DIRECTORY to be ignored.
743 #. type: Plain text
744 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
745 #: opensuse-tumbleweed
746 msgid ""
747 "If I<path> is not a directory, cause B<open>() to fail. This flag was "
748 "added in Linux 2.1.126, to avoid denial-of-service problems if "
749 "B<opendir>(3) is called on a FIFO or tape device."
750 msgstr ""
751 "إذا لم يكن I<المسار> دليلاً، فسيؤدي ذلك إلى فشل B<open>(). أُضيف هذا العلم في "
752 "لينكس 2.1.126، لتجنب مشاكل الحرمان من الخدمة إذا استُدعي B<opendir>(3) على "
753 "FIFO أو جهاز شريط."
754
755 #. type: TP
756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
757 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
758 #, no-wrap
759 msgid "B<O_DSYNC>"
760 msgstr "B<O_DSYNC>"
761
762 #. type: Plain text
763 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
764 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
765 msgid ""
766 "Write operations on the file will complete according to the requirements of "
767 "synchronized I/O I<data> integrity completion."
768 msgstr ""
769 "ستكتمل عمليات الكتابة على الملف وفقاً لمتطلبات اكتمال سلامة I<بيانات> الإدخال/"
770 "الإخراج المتزامنة."
771
772 #. type: Plain text
773 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
774 #: opensuse-leap-16-1 opensuse-tumbleweed
775 msgid ""
776 "By the time B<write>(2) (and similar) return, the output data has been "
777 "transferred to the underlying hardware, along with any file metadata that "
778 "would be required to retrieve that data (i.e., as though each B<write>(2) "
779 "was followed by a call to B<fdatasync>(2)). See VERSIONS."
780 msgstr ""
781 "بحلول وقت عودة B<write>(2) (وما شابه)، تكون بيانات المخرج قد نُقلت إلى العتاد "
782 "الأساسي، إلى جانب أي بيانات وصفية للملف قد تكون مطلوبة لاسترداد تلك البيانات "
783 "(أي كما لو أن كل عملية B<write>(2) تبعها استدعاء لـ B<fdatasync>(2)). انظر "
784 "الإصدارات (VERSIONS)."
785
786 #. type: TP
787 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
788 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
789 #, no-wrap
790 msgid "B<O_EXCL>"
791 msgstr "B<O_EXCL>"
792
793 #. type: Plain text
794 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
795 #: opensuse-tumbleweed
796 msgid ""
797 "Ensure that this call creates the file: if this flag is specified in "
798 "conjunction with B<O_CREAT>, and I<path> already exists, then B<open>() "
799 "fails with the error B<EEXIST>."
800 msgstr ""
801 "التأكد من أن هذا الاستدعاء ينشئ الملف: إذا حُدد هذا العلم بالاقتران مع "
802 "B<O_CREAT>، وكان I<المسار> موجوداً بالفعل، فسيَفشل B<open>() مع الخطأ "
803 "B<EEXIST>."
804
805 #. POSIX.1-2001 explicitly requires this behavior.
806 #. type: Plain text
807 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
808 #: opensuse-tumbleweed
809 msgid ""
810 "When these two flags are specified, symbolic links are not followed: if "
811 "I<path> is a symbolic link, then B<open>() fails regardless of where the "
812 "symbolic link points."
813 msgstr ""
814 "عند تحديد هذين العلمين، لا تُتبع الروابط الرمزية: إذا كان I<المسار> رابطاً "
815 "رمزياً، فسيَفشل B<open>() بغض النظر عن المكان الذي يشير إليه الرابط الرمزي."
816
817 #. type: Plain text
818 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
819 #: opensuse-tumbleweed
820 msgid ""
821 "In general, the behavior of B<O_EXCL> is undefined if it is used without "
822 "B<O_CREAT>. There is one exception: on Linux 2.6 and later, B<O_EXCL> can "
823 "be used without B<O_CREAT> if I<path> refers to a block device. If the "
824 "block device is in use by the system (e.g., mounted), B<open>() fails with "
825 "the error B<EBUSY>."
826 msgstr ""
827 "بشكل عام، يكون سلوك B<O_EXCL> غير محدد إذا استُخدم بدون B<O_CREAT>. هناك "
828 "استثناء واحد: في لينكس 2.6 وما بعده، يمكن استخدام B<O_EXCL> بدون B<O_CREAT> "
829 "إذا كان I<المسار> يشير إلى جهاز كتلي. إذا كان الجهاز الكتلي قيد الاستخدام من "
830 "قبل النظام (مثلاً، موصول)، فسيَفشل B<open>() مع الخطأ B<EBUSY>."
831
832 #. type: Plain text
833 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
834 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
835 msgid ""
836 "On NFS, B<O_EXCL> is supported only when using NFSv3 or later on kernel 2.6 "
837 "or later. In NFS environments where B<O_EXCL> support is not provided, "
838 "programs that rely on it for performing locking tasks will contain a race "
839 "condition. Portable programs that want to perform atomic file locking using "
840 "a lockfile, and need to avoid reliance on NFS support for B<O_EXCL>, can "
841 "create a unique file on the same filesystem (e.g., incorporating hostname "
842 "and PID), and use B<link>(2) to make a link to the lockfile. If "
843 "B<link>(2) returns 0, the lock is successful. Otherwise, use B<stat>(2) "
844 "on the unique file to check if its link count has increased to 2, in which "
845 "case the lock is also successful."
846 msgstr ""
847 "على NFS، يُدعم B<O_EXCL> فقط عند استخدام NFSv3 أو أحدث على نواة 2.6 أو أحدث. "
848 "في بيئات NFS حيث لا يتوفر دعم B<O_EXCL>، فإن البرامج التي تعتمد عليه لأداء "
849 "مهام القفل ستحتوي على حالة تسابق. يمكن للبرامج المنقولة التي تريد إجراء قفل "
850 "ملف ذري باستخدام ملف قفل، وتحتاج إلى تجنب الاعتماد على دعم NFS لـ B<O_EXCL>، "
851 "أن تنشئ ملفاً فريداً على نفس نظام الملفات (مثلاً، بدمج اسم المضيف ومعرف "
852 "العملية)، واستخدام B<link>(2) لعمل رابط لملف القفل. إذا أعاد B<link>(2) "
853 "القيمة 0، فقد نجح القفل. وإلا، فاستخدم B<stat>(2) على الملف الفريد للتحقق "
854 "مما إذا كان عدد روابطه قد زاد إلى 2، وفي هذه الحالة يكون القفل قد نجح أيضًا."
855
856 #. type: TP
857 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
858 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
859 #, no-wrap
860 msgid "B<O_LARGEFILE>"
861 msgstr "B<O_LARGEFILE>"
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 "(LFS) Allow files whose sizes cannot be represented in an I<off_t> (but can "
868 "be represented in an I<off64_t>) to be opened. The B<_LARGEFILE64_SOURCE> "
869 "macro must be defined (before including I<any> header files) in order to "
870 "obtain this definition. Setting the B<_FILE_OFFSET_BITS> feature test macro "
871 "to 64 (rather than using B<O_LARGEFILE>) is the preferred method of "
872 "accessing large files on 32-bit systems (see B<feature_test_macros>(7))."
873 msgstr ""
874 "(LFS) السماح بفتح الملفات التي لا يمكن تمثيل أحجامها في I<off_t> (ولكن يمكن "
875 "تمثيلها في I<off64_t>). يجب تعريف ماكرو B<_LARGEFILE64_SOURCE> (قبل تضمين "
876 "I<أي> ملفات ترويسة) للحصول على هذا التعريف. إن ضبط ماكرو اختبار الميزات "
877 "B<_FILE_OFFSET_BITS> على 64 (بدلاً من استخدام B<O_LARGEFILE>) هو الطريقة "
878 "المفضلة للوصول إلى الملفات الكبيرة على الأنظمة ذات 32 بت (انظر "
879 "B<feature_test_macros>(7))."
880
881 #. type: TP
882 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
883 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
884 #, no-wrap
885 msgid "B<O_NOATIME> (since Linux 2.6.8)"
886 msgstr "B<O_NOATIME> (منذ لينكس 2.6.8)"
887
888 #. type: Plain text
889 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
890 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
891 msgid ""
892 "Do not update the file last access time (I<st_atime> in the inode) when the "
893 "file is B<read>(2)."
894 msgstr ""
895 "عدم تحديث وقت آخر وصول للملف (I<st_atime> في inode) عندما يُقرأ الملف بواسطة "
896 "B<read>(2)."
897
898 #. type: Plain text
899 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
900 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
901 msgid ""
902 "This flag can be employed only if one of the following conditions is true:"
903 msgstr "يمكن توظيف هذا العلم فقط إذا تحقق أحد الشروط التالية:"
904
905 #. type: IP
906 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
907 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
908 #, no-wrap
909 msgid "\\[bu]"
910 msgstr "\\[bu]"
911
912 #. Strictly speaking: the filesystem UID
913 #. type: Plain text
914 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
915 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
916 msgid "The effective UID of the process matches the owner UID of the file."
917 msgstr "معرف المستخدم الفعلي للعملية يطابق معرف المستخدم لمالك الملف."
918
919 #. type: Plain text
920 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
921 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
922 msgid ""
923 "The calling process has the B<CAP_FOWNER> capability in its user namespace "
924 "and the owner UID of the file has a mapping in the namespace."
925 msgstr ""
926 "العملية المستدعِية تمتلك قدرة B<CAP_FOWNER> في فضاء أسماء المستخدم الخاص بها "
927 "ومعرف المستخدم لمالك الملف لديه تعيين (mapping) في فضاء الأسماء."
928
929 #. The O_NOATIME flag also affects the treatment of st_atime
930 #. by mmap() and readdir(2), MTK, Dec 04.
931 #. type: Plain text
932 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
933 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
934 msgid ""
935 "This flag is intended for use by indexing or backup programs, where its use "
936 "can significantly reduce the amount of disk activity. This flag may not be "
937 "effective on all filesystems. One example is NFS, where the server "
938 "maintains the access time."
939 msgstr ""
940 "هذا العلم مخصص للاستخدام من قبل برامج الفهرسة أو النسخ الاحتياطي، حيث يمكن "
941 "لاستخدامه أن يقلل بشكل كبير من مقدار نشاط القرص. قد لا يكون هذا العلم فعالاً "
942 "على جميع أنظمة الملفات. أحد الأمثلة هو NFS، حيث يحتفظ الخادم بوقت الوصول."
943
944 #. type: TP
945 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
946 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
947 #, no-wrap
948 msgid "B<O_NOCTTY>"
949 msgstr "B<O_NOCTTY>"
950
951 #. type: Plain text
952 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
953 #: opensuse-tumbleweed
954 msgid ""
955 "If I<path> refers to a terminal device\\[em]see B<tty>(4)\\[em]it will not "
956 "become the process's controlling terminal even if the process does not have "
957 "one."
958 msgstr ""
959 "إذا كان I<المسار> يشير إلى جهاز طرفي\\[em]انظر B<tty>(4)\\[em]فلن يصبح "
960 "الطرفية المتحكمة في العملية حتى لو لم يكن للعملية واحدة."
961
962 #. #-#-#-#-# archlinux: open.2.pot (PACKAGE VERSION) #-#-#-#-#
963 #. type: TQ
964 #. #-#-#-#-# debian-trixie: open.2.pot (PACKAGE VERSION) #-#-#-#-#
965 #. type: TP
966 #. #-#-#-#-# debian-unstable: open.2.pot (PACKAGE VERSION) #-#-#-#-#
967 #. type: TQ
968 #. #-#-#-#-# fedora-44: open.2.pot (PACKAGE VERSION) #-#-#-#-#
969 #. type: TP
970 #. #-#-#-#-# fedora-rawhide: open.2.pot (PACKAGE VERSION) #-#-#-#-#
971 #. type: TP
972 #. #-#-#-#-# mageia-cauldron: open.2.pot (PACKAGE VERSION) #-#-#-#-#
973 #. type: TQ
974 #. #-#-#-#-# opensuse-leap-16-1: open.2.pot (PACKAGE VERSION) #-#-#-#-#
975 #. type: TQ
976 #. #-#-#-#-# opensuse-tumbleweed: open.2.pot (PACKAGE VERSION) #-#-#-#-#
977 #. type: TQ
978 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
979 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
980 #, no-wrap
981 msgid "B<O_NOFOLLOW>"
982 msgstr "B<O_NOFOLLOW>"
983
984 #. type: Plain text
985 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
986 #: opensuse-tumbleweed
987 msgid ""
988 "If the trailing component (i.e., basename) of I<path> is a symbolic link, "
989 "then the open fails, with the error B<ELOOP>. Symbolic links in earlier "
990 "components of the pathname will still be followed. (Note that the B<ELOOP> "
991 "error that can occur in this case is indistinguishable from the case where "
992 "an open fails because there are too many symbolic links found while "
993 "resolving components in the path prefix of the pathname.)"
994 msgstr ""
995 "إذا كان المكون الأخير (أي الاسم الأساسي) لـ I<المسار> رابطاً رمزياً، فسيَفشل "
996 "الفتح مع الخطأ B<ELOOP>. ستظل الروابط الرمزية في المكونات السابقة لاسم "
997 "المسار تُتتبع. (لاحظ أن خطأ B<ELOOP> الذي يمكن أن يحدث في هذه الحالة لا يمكن "
998 "تمييزه عن الحالة التي يفشل فيها الفتح لوجود عدد كبير جداً من الروابط الرمزية "
999 "أثناء حل المكونات في بادئة المسار لاسم المسار)."
1000
1001 #. type: Plain text
1002 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1003 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1004 msgid ""
1005 "This flag is a FreeBSD extension, which was added in Linux 2.1.126, and has "
1006 "subsequently been standardized in POSIX.1-2008."
1007 msgstr ""
1008 "هذا العلم هو امتداد لـ FreeBSD، أُضيف في لينكس 2.1.126، ووُحد لاحقًا في "
1009 "POSIX.1-2008."
1010
1011 #. #-#-#-#-# archlinux: open.2.pot (PACKAGE VERSION) #-#-#-#-#
1012 #. The headers from glibc 2.0.100 and later include a
1013 #. definition of this flag; \f[I]kernels before Linux 2.1.126 will ignore it if
1014 #. used\f[].
1015 #. type: Plain text
1016 #. #-#-#-#-# debian-trixie: open.2.pot (PACKAGE VERSION) #-#-#-#-#
1017 #. The headers from glibc 2.0.100 and later include a
1018 #. definition of this flag; \fIkernels before Linux 2.1.126 will ignore it if
1019 #. used\fP.
1020 #. type: Plain text
1021 #. #-#-#-#-# debian-unstable: open.2.pot (PACKAGE VERSION) #-#-#-#-#
1022 #. The headers from glibc 2.0.100 and later include a
1023 #. definition of this flag; \f[I]kernels before Linux 2.1.126 will ignore it if
1024 #. used\f[].
1025 #. type: Plain text
1026 #. #-#-#-#-# fedora-44: open.2.pot (PACKAGE VERSION) #-#-#-#-#
1027 #. The headers from glibc 2.0.100 and later include a
1028 #. definition of this flag; \fIkernels before Linux 2.1.126 will ignore it if
1029 #. used\fP.
1030 #. type: Plain text
1031 #. #-#-#-#-# fedora-rawhide: open.2.pot (PACKAGE VERSION) #-#-#-#-#
1032 #. The headers from glibc 2.0.100 and later include a
1033 #. definition of this flag; \fIkernels before Linux 2.1.126 will ignore it if
1034 #. used\fP.
1035 #. type: Plain text
1036 #. #-#-#-#-# mageia-cauldron: open.2.pot (PACKAGE VERSION) #-#-#-#-#
1037 #. The headers from glibc 2.0.100 and later include a
1038 #. definition of this flag; \f[I]kernels before Linux 2.1.126 will ignore it if
1039 #. used\f[].
1040 #. type: Plain text
1041 #. #-#-#-#-# opensuse-leap-16-1: open.2.pot (PACKAGE VERSION) #-#-#-#-#
1042 #. The headers from glibc 2.0.100 and later include a
1043 #. definition of this flag; \f[I]kernels before Linux 2.1.126 will ignore it if
1044 #. used\f[].
1045 #. type: Plain text
1046 #. #-#-#-#-# opensuse-tumbleweed: open.2.pot (PACKAGE VERSION) #-#-#-#-#
1047 #. The headers from glibc 2.0.100 and later include a
1048 #. definition of this flag; \f[I]kernels before Linux 2.1.126 will ignore it if
1049 #. used\f[].
1050 #. type: Plain text
1051 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1052 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1053 msgid "See also B<O_PATH> below."
1054 msgstr "انظر أيضًا B<O_PATH> أدناه."
1055
1056 #. type: TP
1057 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1058 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1059 #, no-wrap
1060 msgid "B<O_NONBLOCK> or B<O_NDELAY>"
1061 msgstr "B<O_NONBLOCK> أو B<O_NDELAY>"
1062
1063 #. type: Plain text
1064 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1065 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1066 msgid ""
1067 "When possible, the file is opened in nonblocking mode. Neither the "
1068 "B<open>() nor any subsequent I/O operations on the file descriptor which is "
1069 "returned will cause the calling process to wait."
1070 msgstr ""
1071 "يُفتح الملف في وضع غير مانع (nonblocking) كلما أمكن ذلك. لن يتسبب استدعاء "
1072 "B<open>() ولا أي عمليات إدخال/إخراج لاحقة على واصف الملف المعاد في جعل عملية "
1073 "الاستدعاء تنتظر."
1074
1075 #. type: Plain text
1076 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1077 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1078 msgid ""
1079 "Note that the setting of this flag has no effect on the operation of "
1080 "B<poll>(2), B<select>(2), B<epoll>(7), and similar, since those interfaces "
1081 "merely inform the caller about whether a file descriptor is \"ready\", "
1082 "meaning that an I/O operation performed on the file descriptor with the "
1083 "B<O_NONBLOCK> flag I<clear> would not block."
1084 msgstr ""
1085 "لاحظ أن ضبط هذه العلامة ليس له أي تأثير على عمل B<poll>(2) و B<select>(2) و "
1086 "B<epoll>(7) وما شابهها، بما أن تلك الواجهات تكتفي بإبلاغ B<المستدعِي> بما إذا "
1087 "كان واصف الملف \"جاهزًا\"، وهو ما يعني أن عملية إدخال/إخراج تُجرى على واصف "
1088 "الملف مع I<مسح> علامة B<O_NONBLOCK> لن تمنع (block)."
1089
1090 #. type: Plain text
1091 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1092 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1093 msgid ""
1094 "Note that this flag has no effect for regular files and block devices; that "
1095 "is, I/O operations will (briefly) block when device activity is required, "
1096 "regardless of whether B<O_NONBLOCK> is set. Since B<O_NONBLOCK> semantics "
1097 "might eventually be implemented, applications should not depend upon "
1098 "blocking behavior when specifying this flag for regular files and block "
1099 "devices."
1100 msgstr ""
1101 "لاحظ أن هذه العلامة ليس لها أي تأثير على الملفات العادية والأجهزة الكتلية؛ "
1102 "أي أن عمليات الإدخال/الإخراج ستُمنع (لفترة وجيزة) عندما يتطلب الأمر نشاطًا "
1103 "للجهاز، بغض النظر عما إذا كان قد ضُبطت B<O_NONBLOCK>. بما أن دلالات "
1104 "B<O_NONBLOCK> قد تُطبق في نهاية المطاف، فلا ينبغي للتطبيقات أن تعتمد على سلوك "
1105 "المنع عند تحديد هذه العلامة للملفات العادية والأجهزة الكتلية."
1106
1107 #. type: Plain text
1108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1110 msgid ""
1111 "For the handling of FIFOs (named pipes), see also B<fifo>(7). For a "
1112 "discussion of the effect of B<O_NONBLOCK> in conjunction with mandatory file "
1113 "locks and with file leases, see B<fcntl>(2)."
1114 msgstr ""
1115 "للتعامل مع الأنابيب المسماة (FIFOs)، انظر أيضًا B<fifo>(7). لمناقشة تأثير "
1116 "B<O_NONBLOCK> بالاقتران مع أقفال الملفات الإلزامية وعقود إيجار الملفات، انظر "
1117 "B<fcntl>(2)."
1118
1119 #. type: TP
1120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1122 #, no-wrap
1123 msgid "B<O_PATH> (since Linux 2.6.39)"
1124 msgstr "B<O_PATH> (منذ لينكس 2.6.39)"
1125
1126 #
1127 #. commit 1abf0c718f15a56a0a435588d1b104c7a37dc9bd
1128 #. commit 326be7b484843988afe57566b627fb7a70beac56
1129 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
1130 #. http://thread.gmane.org/gmane.linux.man/2790/focus=3496
1131 #. Subject: Re: [PATCH] open(2): document O_PATH
1132 #. Newsgroups: gmane.linux.man, gmane.linux.kernel
1133 #. type: Plain text
1134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1136 msgid ""
1137 "Obtain a file descriptor that can be used for two purposes: to indicate a "
1138 "location in the filesystem tree and to perform operations that act purely at "
1139 "the file descriptor level. The file itself is not opened, and other file "
1140 "operations (e.g., B<read>(2), B<write>(2), B<fchmod>(2), B<fchown>(2), "
1141 "B<fgetxattr>(2), B<ioctl>(2), B<mmap>(2)) fail with the error B<EBADF>."
1142 msgstr ""
1143 "الحصول على واصف ملف يمكن استخدامه لغرضين: للإشارة إلى موقع في شجرة نظام "
1144 "الملفات، ولإجراء عمليات تعمل فقط على مستوى واصف الملف. لا يُفتح الملف نفسه، "
1145 "وتفشل عمليات الملف الأخرى (مثل B<read>(2) و B<write>(2) و B<fchmod>(2) و "
1146 "B<fchown>(2) و B<fgetxattr>(2) و B<ioctl>(2) و B<mmap>(2)) بالخطأ B<EBADF>."
1147
1148 #. type: Plain text
1149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1151 msgid ""
1152 "The following operations I<can> be performed on the resulting file "
1153 "descriptor:"
1154 msgstr "العمليات التالية I<يمكن> إجراؤها على واصف الملف الناتج:"
1155
1156 #. type: Plain text
1157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1159 msgid "B<close>(2)."
1160 msgstr "B<close>(2)."
1161
1162 #. commit 332a2e1244bd08b9e3ecd378028513396a004a24
1163 #. type: Plain text
1164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1166 msgid ""
1167 "B<fchdir>(2), if the file descriptor refers to a directory (since Linux 3.5)."
1168 msgstr "B<fchdir>(2)، إذا كان واصف الملف يشير إلى دليل (منذ لينكس 3.5)."
1169
1170 #. type: Plain text
1171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1173 msgid "B<fstat>(2) (since Linux 3.6)."
1174 msgstr "B<fstat>(2) (منذ لينكس 3.6)."
1175
1176 #. fstat(): commit 55815f70147dcfa3ead5738fd56d3574e2e3c1c2
1177 #. fstatfs(): commit 9d05746e7b16d8565dddbe3200faa1e669d23bbf
1178 #. type: Plain text
1179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1181 msgid "B<fstatfs>(2) (since Linux 3.12)."
1182 msgstr "B<fstatfs>(2) (منذ لينكس 3.12)."
1183
1184 #. type: Plain text
1185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1187 msgid ""
1188 "Duplicating the file descriptor (B<dup>(2), B<fcntl>(2) B<F_DUPFD>, etc.)."
1189 msgstr "مضاعفة واصف الملف (B<dup>(2)، B<fcntl>(2) B<F_DUPFD>، وما إلى ذلك)."
1190
1191 #. type: Plain text
1192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1194 msgid ""
1195 "Getting and setting file descriptor flags (B<fcntl>(2) B<F_GETFD> and "
1196 "B<F_SETFD>)."
1197 msgstr "جلب وضبط علامات واصف الملف (B<fcntl>(2) B<F_GETFD> و B<F_SETFD>)."
1198
1199 #. type: Plain text
1200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1202 msgid ""
1203 "Retrieving open file status flags using the B<fcntl>(2) B<F_GETFL> "
1204 "operation: the returned flags will include the bit B<O_PATH>."
1205 msgstr ""
1206 "استرجاع علامات حالة الملف المفتوح باستخدام عملية B<fcntl>(2) B<F_GETFL>: "
1207 "ستتضمن العلامات المعادة البت B<O_PATH>."
1208
1209 #. type: Plain text
1210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1212 msgid ""
1213 "Passing the file descriptor as the I<dirfd> argument of B<openat>() and the "
1214 "other \"*at()\" system calls. This includes B<linkat>(2) with "
1215 "B<AT_EMPTY_PATH> (or via procfs using B<AT_SYMLINK_FOLLOW>) even if the "
1216 "file is not a directory."
1217 msgstr ""
1218 "تمرير واصف الملف كمعامل I<dirfd> لـ B<openat>() واستدعاءات النظام الأخرى "
1219 "\"*at()\". يتضمن ذلك B<linkat>(2) مع B<AT_EMPTY_PATH> (أو عبر procfs "
1220 "باستخدام B<AT_SYMLINK_FOLLOW>) حتى لو لم يكن الملف دليلاً."
1221
1222 #. type: Plain text
1223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1225 msgid ""
1226 "Passing the file descriptor to another process via a UNIX domain socket (see "
1227 "B<SCM_RIGHTS> in B<unix>(7))."
1228 msgstr ""
1229 "تمرير واصف الملف إلى عملية أخرى عبر مقبس نطاق يونكس (انظر B<SCM_RIGHTS> في "
1230 "B<unix>(7))."
1231
1232 #. type: Plain text
1233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1235 msgid ""
1236 "When B<O_PATH> is specified in I<flags>, flag bits other than B<O_CLOEXEC>, "
1237 "B<O_DIRECTORY>, and B<O_NOFOLLOW> are ignored."
1238 msgstr ""
1239 "عند تحديد B<O_PATH> في I<flags>، تُتجاهل بتات العلامات الأخرى باستثناء "
1240 "B<O_CLOEXEC> و B<O_DIRECTORY> و B<O_NOFOLLOW>."
1241
1242 #. type: Plain text
1243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1245 msgid ""
1246 "Opening a file or directory with the B<O_PATH> flag requires no permissions "
1247 "on the object itself (but does require execute permission on the directories "
1248 "in the path prefix). Depending on the subsequent operation, a check for "
1249 "suitable file permissions may be performed (e.g., B<fchdir>(2) requires "
1250 "execute permission on the directory referred to by its file descriptor "
1251 "argument). By contrast, obtaining a reference to a filesystem object by "
1252 "opening it with the B<O_RDONLY> flag requires that the caller have read "
1253 "permission on the object, even when the subsequent operation (e.g., "
1254 "B<fchdir>(2), B<fstat>(2)) does not require read permission on the object."
1255 msgstr ""
1256 "فتح ملف أو دليل باستخدام العلامة B<O_PATH> لا يتطلب أي أذونات على الكائن "
1257 "نفسه (ولكنه يتطلب إذن التنفيذ على الأدلة في بادئة المسار). اعتمادًا على "
1258 "العملية اللاحقة، قد يُجرى فحص لأذونات الملف المناسبة (على سبيل المثال، يتطلب "
1259 "B<fchdir>(2) إذن التنفيذ على الدليل المشار إليه بواسطة معامل واصف الملف "
1260 "الخاص به). في المقابل، يتطلب الحصول على مرجع لكائن نظام ملفات عن طريق فتحه "
1261 "بالعلامة B<O_RDONLY> أن يكون لدى B<المستدعِي> إذن القراءة على الكائن، حتى "
1262 "عندما لا تتطلب العملية اللاحقة (مثل B<fchdir>(2) و B<fstat>(2)) إذن القراءة "
1263 "على الكائن."
1264
1265 #. type: Plain text
1266 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1267 #: opensuse-tumbleweed
1268 msgid ""
1269 "If I<path> is a symbolic link and the B<O_NOFOLLOW> flag is also specified, "
1270 "then the call returns a file descriptor referring to the symbolic link. "
1271 "This file descriptor can be used as the I<dirfd> argument in calls to "
1272 "B<fchownat>(2), B<fstatat>(2), B<linkat>(2), and B<readlinkat>(2) with an "
1273 "empty pathname to have the calls operate on the symbolic link."
1274 msgstr ""
1275 "إذا كان I<path> وصلة رمزية وحُددت أيضًا العلامة B<O_NOFOLLOW>، فحينئذٍ يعيد "
1276 "الاستدعاء واصف ملف يشير إلى الوصلة الرمزية. يمكن استخدام واصف الملف هذا "
1277 "كمعامل I<dirfd> في استدعاءات B<fchownat>(2) و B<fstatat>(2) و B<linkat>(2) و "
1278 "B<readlinkat>(2) مع مسار فارغ لجعل الاستدعاءات تعمل على الوصلة الرمزية."
1279
1280 #. type: Plain text
1281 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1282 #: opensuse-tumbleweed
1283 msgid ""
1284 "If I<path> refers to an automount point that has not yet been triggered, so "
1285 "no other filesystem is mounted on it, then the call returns a file "
1286 "descriptor referring to the automount directory without triggering a mount. "
1287 "B<fstatfs>(2) can then be used to determine if it is, in fact, an "
1288 "untriggered automount point (B<.f_type == AUTOFS_SUPER_MAGIC>)."
1289 msgstr ""
1290 "إذا كان I<path> يشير إلى نقطة وصل آلي لم تُحفز بعد، بحيث لا يوجد نظام ملفات "
1291 "آخر موصول عليها، فإن الاستدعاء يعيد واصف ملف يشير إلى دليل الوصل الآلي دون "
1292 "تحفيز عملية وصل. يمكن بعد ذلك استخدام B<fstatfs>(2) لتحديد ما إذا كانت في "
1293 "الواقع نقطة وصل آلي غير محفزة (B<.f_type == AUTOFS_SUPER_MAGIC>)."
1294
1295 #. type: Plain text
1296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1298 msgid ""
1299 "One use of B<O_PATH> for regular files is to provide the equivalent of "
1300 "POSIX.1's B<O_EXEC> functionality. This permits us to open a file for which "
1301 "we have execute permission but not read permission, and then execute that "
1302 "file, with steps something like the following:"
1303 msgstr ""
1304 "أحد استخدامات B<O_PATH> للملفات العادية هو توفير ما يعادل وظيفة B<O_EXEC> في "
1305 "POSIX.1. يسمح لنا ذلك بفتح ملف نملك إذن تنفيذه ولكن ليس لدينا إذن قراءته، ثم "
1306 "تنفيذ ذلك الملف بخطوات تشبه ما يلي:"
1307
1308 #. type: Plain text
1309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1311 #, no-wrap
1312 msgid ""
1313 "char buf[PATH_MAX];\n"
1314 "fd = open(\"some_prog\", O_PATH);\n"
1315 "snprintf(buf, PATH_MAX, \"/proc/self/fd/%d\", fd);\n"
1316 "execl(buf, \"some_prog\", (char *) NULL);\n"
1317 msgstr ""
1318 "char buf[PATH_MAX];\n"
1319 "fd = open(\"some_prog\", O_PATH);\n"
1320 "snprintf(buf, PATH_MAX, \"/proc/self/fd/%d\", fd);\n"
1321 "execl(buf, \"some_prog\", (char *) NULL);\n"
1322
1323 #. type: Plain text
1324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1326 msgid ""
1327 "An B<O_PATH> file descriptor can also be passed as the argument of "
1328 "B<fexecve>(3)."
1329 msgstr "يمكن أيضًا تمرير واصف ملف B<O_PATH> كمعامل لـ B<fexecve>(3)."
1330
1331 #. type: TP
1332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1334 #, no-wrap
1335 msgid "B<O_SYNC>"
1336 msgstr "B<O_SYNC>"
1337
1338 #. type: Plain text
1339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1341 msgid ""
1342 "Write operations on the file will complete according to the requirements of "
1343 "synchronized I/O I<file> integrity completion (by contrast with the "
1344 "synchronized I/O I<data> integrity completion provided by B<O_DSYNC>.)"
1345 msgstr ""
1346 "ستكتمل عمليات الكتابة على الملف وفقًا لمتطلبات إكمال سلامة I<ملف> الإدخال/"
1347 "الإخراج المتزامن (على عكس إكمال سلامة I<بيانات> الإدخال/الإخراج المتزامن "
1348 "الذي توفره B<O_DSYNC>.)"
1349
1350 #. type: Plain text
1351 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1352 #: opensuse-leap-16-1 opensuse-tumbleweed
1353 msgid ""
1354 "By the time B<write>(2) (or similar) returns, the output data and "
1355 "associated file metadata have been transferred to the underlying hardware (i."
1356 "e., as though each B<write>(2) was followed by a call to B<fsync>(2)). See "
1357 "VERSIONS."
1358 msgstr ""
1359 "بحلول وقت عودة B<write>(2) (أو ما شابه)، تكون بيانات الإخراج والبيانات "
1360 "الوصفية للملف المرتبطة بها قد نُقلت إلى العتاد الأساسي (أي كما لو أن كل "
1361 "B<write>(2) تُبع باستدعاء لـ B<fsync>(2)). انظر VERSIONS."
1362
1363 #. type: TP
1364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1366 #, no-wrap
1367 msgid "B<O_TMPFILE> (since Linux 3.11)"
1368 msgstr "B<O_TMPFILE> (منذ لينكس 3.11)"
1369
1370 #. commit 60545d0d4610b02e55f65d141c95b18ccf855b6e
1371 #. commit f4e0c30c191f87851c4a53454abb55ee276f4a7e
1372 #. commit bb458c644a59dbba3a1fe59b27106c5e68e1c4bd
1373 #. type: Plain text
1374 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1375 #: opensuse-tumbleweed
1376 msgid ""
1377 "Create an unnamed temporary regular file. The I<path> argument specifies a "
1378 "directory; an unnamed inode will be created in that directory's filesystem. "
1379 "Anything written to the resulting file will be lost when the last file "
1380 "descriptor is closed, unless the file is given a name."
1381 msgstr ""
1382 "إنشاء ملف عادي مؤقت غير مسمى. يحدد معامل I<path> دليلاً؛ وستُنشأ عقدة فهارس "
1383 "(inode) غير مسماة في نظام ملفات ذلك الدليل. أي شيء يُكتب في الملف الناتج "
1384 "سيُفقد عند إغلاق آخر واصف ملف، ما لم يُعطَ الملف اسمًا."
1385
1386 #. type: Plain text
1387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1389 msgid ""
1390 "B<O_TMPFILE> must be specified with one of B<O_RDWR> or B<O_WRONLY> and, "
1391 "optionally, B<O_EXCL>. If B<O_EXCL> is not specified, then B<linkat>(2) "
1392 "can be used to link the temporary file into the filesystem, making it "
1393 "permanent, using code like the following:"
1394 msgstr ""
1395 "يجب تحديد B<O_TMPFILE> مع أحد B<O_RDWR> أو B<O_WRONLY> و B<O_EXCL> اختياريًا. "
1396 "إذا لم تُحدد B<O_EXCL>، فيمكن استخدام B<linkat>(2) لربط الملف المؤقت بنظام "
1397 "الملفات، مما يجعله دائمًا، باستخدام كود مثل التالي:"
1398
1399 #. type: Plain text
1400 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1401 #: opensuse-tumbleweed
1402 #, no-wrap
1403 msgid ""
1404 "char path[PATH_MAX];\n"
1405 "fd = open(\"/path/to/dir\", O_TMPFILE | O_RDWR,\n"
1406 " S_IRUSR | S_IWUSR);\n"
1407 "\\&\n"
1408 "/* File I/O on \\[aq]fd\\[aq]... */\n"
1409 "\\&\n"
1410 "linkat(fd, \"\", AT_FDCWD, \"/path/for/file\", AT_EMPTY_PATH);\n"
1411 "\\&\n"
1412 "/* If the caller doesn\\[aq]t have the CAP_DAC_READ_SEARCH\n"
1413 " capability (needed to use AT_EMPTY_PATH with linkat(2)),\n"
1414 " and there is a proc(5) filesystem mounted, then the\n"
1415 " linkat(2) call above can be replaced with:\n"
1416 "\\&\n"
1417 "snprintf(path, PATH_MAX, \"/proc/self/fd/%d\", fd);\n"
1418 "linkat(AT_FDCWD, path, AT_FDCWD, \"/path/for/file\",\n"
1419 " AT_SYMLINK_FOLLOW);\n"
1420 "*/\n"
1421 msgstr ""
1422 "char path[PATH_MAX];\n"
1423 "fd = open(\"/path/to/dir\", O_TMPFILE | O_RDWR,\n"
1424 " S_IRUSR | S_IWUSR);\n"
1425 "\\&\n"
1426 "/* إدخال/إخراج ملف على \\[aq]fd\\[aq]... */\n"
1427 "\\&\n"
1428 "linkat(fd, \"\", AT_FDCWD, \"/path/for/file\", AT_EMPTY_PATH);\n"
1429 "\\&\n"
1430 "/* إذا لم يكن لدى المستدعِي إمكانية CAP_DAC_READ_SEARCH\n"
1431 " (المطلوبة لاستخدام AT_EMPTY_PATH مع linkat(2))،\n"
1432 " وكان هناك نظام ملفات proc(5) موصول، فيمكن استبدال\n"
1433 " استدعاء linkat(2) أعلاه بـ:\n"
1434 "\\&\n"
1435 "snprintf(path, PATH_MAX, \"/proc/self/fd/%d\", fd);\n"
1436 "linkat(AT_FDCWD, path, AT_FDCWD, \"/path/for/file\",\n"
1437 " AT_SYMLINK_FOLLOW);\n"
1438 "*/\n"
1439
1440 #. type: Plain text
1441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1443 msgid ""
1444 "In this case, the B<open>() I<mode> argument determines the file permission "
1445 "mode, as with B<O_CREAT>."
1446 msgstr ""
1447 "في هذه الحالة، يحدد معامل B<open>() I<mode> وضع أذونات الملف، كما هو الحال "
1448 "مع B<O_CREAT>."
1449
1450 #. type: Plain text
1451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1453 msgid ""
1454 "Specifying B<O_EXCL> in conjunction with B<O_TMPFILE> prevents a temporary "
1455 "file from being linked into the filesystem in the above manner. (Note that "
1456 "the meaning of B<O_EXCL> in this case is different from the meaning of "
1457 "B<O_EXCL> otherwise.)"
1458 msgstr ""
1459 "تحديد B<O_EXCL> بالاقتران مع B<O_TMPFILE> يمنع ربط ملف مؤقت بنظام الملفات "
1460 "بالطريقة المذكورة أعلاه. (لاحظ أن معنى B<O_EXCL> في هذه الحالة يختلف عن معنى "
1461 "B<O_EXCL> في حالات أخرى)."
1462
1463 #. Inspired by http://lwn.net/Articles/559147/
1464 #. type: Plain text
1465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1467 msgid "There are two main use cases for B<O_TMPFILE>:"
1468 msgstr "هناك حالتا استخدام رئيستان لـ B<O_TMPFILE>:"
1469
1470 #. type: Plain text
1471 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1472 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1473 msgid ""
1474 "Improved B<tmpfile>(3) functionality: race-free creation of temporary files "
1475 "that (1) are automatically deleted when closed; (2) can never be reached via "
1476 "any pathname; (3) are not subject to symlink attacks; and (4) do not require "
1477 "the caller to devise unique names."
1478 msgstr ""
1479 "وظيفة B<tmpfile>(3) محسنة: إنشاء ملفات مؤقتة خالية من حالات السباق (race-"
1480 "free) بحيث: (1) تُحذف آليًا عند إغلاقها؛ (2) لا يمكن الوصول إليها أبدًا عبر أي "
1481 "مسار؛ (3) لا تخضع لهجمات الوصلات الرمزية؛ (4) لا تتطلب من B<المستدعِي> ابتكار "
1482 "أسماء فريدة."
1483
1484 #. type: Plain text
1485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1487 msgid ""
1488 "Creating a file that is initially invisible, which is then populated with "
1489 "data and adjusted to have appropriate filesystem attributes (B<fchown>(2), "
1490 "B<fchmod>(2), B<fsetxattr>(2), etc.) before being atomically linked into "
1491 "the filesystem in a fully formed state (using B<linkat>(2) as described "
1492 "above)."
1493 msgstr ""
1494 "إنشاء ملف غير مرئي في البداية، ثم ملؤه بالبيانات وتعديله للحصول على سمات "
1495 "نظام ملفات مناسبة (B<fchown>(2) و B<fchmod>(2) و B<fsetxattr>(2) وما إلى "
1496 "ذلك) قبل ربطه ذريًا بنظام الملفات في حالة كاملة التكوين (باستخدام "
1497 "B<linkat>(2) كما هو موضح أعلاه)."
1498
1499 #. To check for support, grep for "tmpfile" in kernel sources
1500 #. commit 99b6436bc29e4f10e4388c27a3e4810191cc4788
1501 #. commit ab29743117f9f4c22ac44c13c1647fb24fb2bafe
1502 #. commit ef3b9af50bfa6a1f02cd7b3f5124b712b1ba3e3c
1503 #. commit 50732df02eefb39ab414ef655979c2c9b64ad21c
1504 #. type: Plain text
1505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1507 msgid ""
1508 "B<O_TMPFILE> requires support by the underlying filesystem; only a subset of "
1509 "Linux filesystems provide that support. In the initial implementation, "
1510 "support was provided in the ext2, ext3, ext4, UDF, Minix, and tmpfs "
1511 "filesystems. Support for other filesystems has subsequently been added as "
1512 "follows: XFS (Linux 3.15); Btrfs (Linux 3.16); F2FS (Linux 3.16); and ubifs "
1513 "(Linux 4.9)"
1514 msgstr ""
1515 "يتطلب B<O_TMPFILE> دعمًا من نظام الملفات الأساسي؛ توفر مجموعة فرعية فقط من "
1516 "أنظمة ملفات لينكس ذلك الدعم. في التنفيذ الأولي، وُفر الدعم في أنظمة ملفات "
1517 "ext2 و ext3 و ext4 و UDF و Minix و tmpfs. أُضيف الدعم لأنظمة ملفات أخرى لاحقًا "
1518 "كما يلي: XFS (لينكس 3.15)؛ Btrfs (لينكس 3.16)؛ F2FS (لينكس 3.16)؛ و ubifs "
1519 "(لينكس 4.9)"
1520
1521 #. type: TP
1522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1524 #, no-wrap
1525 msgid "B<O_TRUNC>"
1526 msgstr "B<O_TRUNC>"
1527
1528 #. type: Plain text
1529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1531 msgid ""
1532 "If the file already exists and is a regular file and the access mode allows "
1533 "writing (i.e., is B<O_RDWR> or B<O_WRONLY>) it will be truncated to length "
1534 "0. If the file is a FIFO or terminal device file, the B<O_TRUNC> flag is "
1535 "ignored. Otherwise, the effect of B<O_TRUNC> is unspecified."
1536 msgstr ""
1537 "إذا كان الملف موجودًا بالفعل وكان ملفًا عاديًا وكان وضع الوصول يسمح بالكتابة "
1538 "(أي B<O_RDWR> أو B<O_WRONLY>) فسيُبتر إلى الطول 0. إذا كان الملف عبارة عن "
1539 "FIFO أو ملف جهاز طرفي، فسيُتجاهل العلم B<O_TRUNC>. بخلاف ذلك، يكون تأثير "
1540 "B<O_TRUNC> غير محدد."
1541
1542 #. type: SS
1543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1545 #, no-wrap
1546 msgid "creat()"
1547 msgstr "creat()"
1548
1549 #. type: Plain text
1550 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1551 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1552 msgid ""
1553 "A call to B<creat>() is equivalent to calling B<open>() with I<flags> "
1554 "equal to B<O_CREAT|O_WRONLY|O_TRUNC>."
1555 msgstr ""
1556 "استدعاء B<creat>() يعادل استدعاء B<open>() بـ I<flags> تساوي B<O_CREAT|"
1557 "O_WRONLY|O_TRUNC>."
1558
1559 #. type: SS
1560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1562 #, no-wrap
1563 msgid "openat()"
1564 msgstr "openat()"
1565
1566 #. type: Plain text
1567 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1568 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1569 msgid ""
1570 "The B<openat>() system call operates in exactly the same way as B<open>(), "
1571 "except for the differences described here."
1572 msgstr ""
1573 "يعمل استدعاء النظام B<openat>() بنفس طريقة B<open>() تمامًا، باستثناء "
1574 "الاختلافات الموضحة هنا."
1575
1576 #. type: Plain text
1577 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1578 #: opensuse-tumbleweed
1579 msgid ""
1580 "The I<dirfd> argument is used in conjunction with the I<path> argument as "
1581 "follows:"
1582 msgstr "يُستخدم معامل I<dirfd> بالاقتران مع معامل I<path> كما يلي:"
1583
1584 #. type: Plain text
1585 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1586 #: opensuse-tumbleweed
1587 msgid "If the pathname given in I<path> is absolute, then I<dirfd> is ignored."
1588 msgstr "إذا كان اسم المسار المعطى في I<path> مطلقًا، فسيُتجاهل I<dirfd>."
1589
1590 #. type: Plain text
1591 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1592 #: opensuse-tumbleweed
1593 msgid ""
1594 "If the pathname given in I<path> is relative and I<dirfd> is the special "
1595 "value B<AT_FDCWD>, then I<path> is interpreted relative to the current "
1596 "working directory of the calling process (like B<open>())."
1597 msgstr ""
1598 "إذا كان اسم المسار المعطى في I<path> نسبيًا وكان I<dirfd> هو القيمة الخاصة "
1599 "B<AT_FDCWD>، فسيُفسر I<path> بالنسبة لدليل العمل الحالي للعملية المستدعية "
1600 "(مثل B<open>())."
1601
1602 #. type: Plain text
1603 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1604 #: opensuse-tumbleweed
1605 msgid ""
1606 "If the pathname given in I<path> is relative, then it is interpreted "
1607 "relative to the directory referred to by the file descriptor I<dirfd> "
1608 "(rather than relative to the current working directory of the calling "
1609 "process, as is done by B<open>() for a relative pathname). In this case, "
1610 "I<dirfd> must be a directory that was opened for reading (B<O_RDONLY>) or "
1611 "using the B<O_PATH> flag."
1612 msgstr ""
1613 "إذا كان اسم المسار المعطى في I<path> نسبيًا، فسيُفسر بالنسبة للدليل المشار "
1614 "إليه بواسطة واصف الملف I<dirfd> (بدلاً من تفسيره بالنسبة لدليل العمل الحالي "
1615 "للعملية المستدعية، كما يفعل B<open>() للمسار النسبي). في هذه الحالة، يجب أن "
1616 "يكون I<dirfd> دليلاً فُتح للقراءة (B<O_RDONLY>) أو باستخدام العلامة B<O_PATH>."
1617
1618 #. type: Plain text
1619 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1620 #: opensuse-tumbleweed
1621 msgid ""
1622 "If the pathname given in I<path> is relative, and I<dirfd> is not a valid "
1623 "file descriptor, an error (B<EBADF>) results. (Specifying an invalid file "
1624 "descriptor number in I<dirfd> can be used as a means to ensure that I<path> "
1625 "is absolute.)"
1626 msgstr ""
1627 "إذا كان اسم المسار المعطى في I<path> نسبيًا، ولم يكن I<dirfd> واصف ملف صالحًا، "
1628 "فسينتج خطأ (B<EBADF>). (يمكن استخدام تحديد رقم واصف ملف غير صالح في I<dirfd> "
1629 "كوسيلة لضمان أن I<path> مطلق)."
1630
1631 #. type: SS
1632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1634 #, no-wrap
1635 msgid "openat2(2)"
1636 msgstr "openat2(2)"
1637
1638 #. type: Plain text
1639 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1640 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1641 msgid ""
1642 "The B<openat2>(2) system call is an extension of B<openat>(), and provides "
1643 "a superset of the features of B<openat>(). It is documented separately, in "
1644 "B<openat2>(2)."
1645 msgstr ""
1646 "استدعاء النظام B<openat2>(2) هو امتداد لـ B<openat>()، ويوفر مجموعة فوقية من "
1647 "ميزات B<openat>(). وثّق بشكل منفصل في B<openat2>(2)."
1648
1649 #. type: SH
1650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1652 #, no-wrap
1653 msgid "RETURN VALUE"
1654 msgstr "قيمة الإرجاع"
1655
1656 #. type: Plain text
1657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1659 msgid ""
1660 "On success, B<open>(), B<openat>(), and B<creat>() return the new file "
1661 "descriptor (a nonnegative integer). On error, -1 is returned and I<errno> "
1662 "is set to indicate the error."
1663 msgstr ""
1664 "عند النجاح، تعيد B<open>() و B<openat>() و B<creat>() واصف الملف الجديد (عدد "
1665 "صحيح غير سالب). عند الخطأ، يعاد -1 وتُضبط I<errno> للإشارة إلى الخطأ."
1666
1667 #. type: SH
1668 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1669 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1670 #, no-wrap
1671 msgid "ERRORS"
1672 msgstr "الأخطاء"
1673
1674 #. type: Plain text
1675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1677 msgid ""
1678 "B<open>(), B<openat>(), and B<creat>() can fail with the following errors:"
1679 msgstr "يمكن أن تفشل B<open>() و B<openat>() و B<creat>() بالأخطاء التالية:"
1680
1681 #. type: TP
1682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1684 #, no-wrap
1685 msgid "B<EACCES>"
1686 msgstr "B<EACCES>"
1687
1688 #. type: Plain text
1689 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1690 #: opensuse-tumbleweed
1691 msgid ""
1692 "The requested access to the file is not allowed, or search permission is "
1693 "denied for one of the directories in the path prefix of I<path>, or the file "
1694 "did not exist yet and write access to the parent directory is not allowed. "
1695 "(See also B<path_resolution>(7).)"
1696 msgstr ""
1697 "الوصول المطلوب للملف غير مسموح به، أو أُرفض إذن البحث لأحد الأدلة في بادئة "
1698 "مسار I<path>، أو الملف لم يكن موجودًا بعد والوصول للكتابة إلى الدليل الأب غير "
1699 "مسموح به. (انظر أيضًا B<path_resolution>(7).)"
1700
1701 #. commit 30aba6656f61ed44cba445a3c0d38b296fa9e8f5
1702 #. type: Plain text
1703 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1704 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1705 msgid ""
1706 "Where B<O_CREAT> is specified, the I<protected_fifos> or "
1707 "I<protected_regular> sysctl is enabled, the file already exists and is a "
1708 "FIFO or regular file, the owner of the file is neither the current user nor "
1709 "the owner of the containing directory, and the containing directory is both "
1710 "world- or group-writable and sticky. For details, see the descriptions of "
1711 "I</proc/sys/fs/protected_fifos> and I</proc/sys/fs/protected_regular> in "
1712 "B<proc_sys_fs>(5)."
1713 msgstr ""
1714 "عند تحديد B<O_CREAT>، وتمكين I<protected_fifos> أو I<protected_regular> في "
1715 "sysctl، والملف موجود بالفعل وهو FIFO أو ملف عادي، ومالك الملف ليس المستخدم "
1716 "الحالي ولا مالك الدليل المحتوي، والدليل المحتوي قابل للكتابة من قبل العالم "
1717 "أو المجموعة وله سمة الالتصاق (sticky). للتفاصيل، انظر أوصاف I</proc/sys/fs/"
1718 "protected_fifos> و I</proc/sys/fs/protected_regular> في B<proc_sys_fs>(5)."
1719
1720 #. type: TP
1721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1723 #, no-wrap
1724 msgid "B<EBADF>"
1725 msgstr "B<EBADF>"
1726
1727 #. type: Plain text
1728 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1729 #: opensuse-tumbleweed
1730 msgid ""
1731 "(B<openat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> nor a "
1732 "valid file descriptor."
1733 msgstr ""
1734 "(B<openat>()) المسار I<path> نسبي ولكن I<dirfd> ليس B<AT_FDCWD> ولا واصف ملف "
1735 "صالحًا."
1736
1737 #. type: TP
1738 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1739 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1740 #, no-wrap
1741 msgid "B<EBUSY>"
1742 msgstr "B<EBUSY>"
1743
1744 #. type: Plain text
1745 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1746 #: opensuse-tumbleweed
1747 msgid ""
1748 "B<O_EXCL> was specified in I<flags> and I<path> refers to a block device "
1749 "that is in use by the system (e.g., it is mounted)."
1750 msgstr ""
1751 "حُددت B<O_EXCL> في I<flags> ويشير I<path> إلى جهاز كتلي قيد الاستخدام من قبل "
1752 "النظام (على سبيل المثال، هو موصول)."
1753
1754 #. type: TP
1755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1757 #, no-wrap
1758 msgid "B<EDQUOT>"
1759 msgstr "B<EDQUOT>"
1760
1761 #. type: Plain text
1762 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1763 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1764 msgid ""
1765 "Where B<O_CREAT> is specified, the file does not exist, and the user's quota "
1766 "of disk blocks or inodes on the filesystem has been exhausted."
1767 msgstr ""
1768 "عند تحديد B<O_CREAT>، والملف غير موجود، وتجاوزت حصة (quota) المستخدم من كتل "
1769 "القرص أو عقد الفهارس (inodes) على نظام الملفات."
1770
1771 #. type: TP
1772 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1773 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1774 #, no-wrap
1775 msgid "B<EEXIST>"
1776 msgstr "B<EEXIST>"
1777
1778 #. type: Plain text
1779 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1780 #: opensuse-tumbleweed
1781 msgid "I<path> already exists and B<O_CREAT> and B<O_EXCL> were used."
1782 msgstr "المسار I<path> موجود بالفعل واستُخدمت B<O_CREAT> و B<O_EXCL>."
1783
1784 #. type: TP
1785 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1786 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1787 #, no-wrap
1788 msgid "B<EFAULT>"
1789 msgstr "B<EFAULT>"
1790
1791 #. type: Plain text
1792 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1793 #: opensuse-tumbleweed
1794 msgid "I<path> points outside your accessible address space."
1795 msgstr "المسار I<path> يشير إلى خارج مساحة العناوين التي يمكن الوصول إليها."
1796
1797 #. type: TP
1798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1800 #, no-wrap
1801 msgid "B<EFBIG>"
1802 msgstr "B<EFBIG>"
1803
1804 #. type: Plain text
1805 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1806 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1807 msgid "See B<EOVERFLOW>."
1808 msgstr "انظر B<EOVERFLOW>."
1809
1810 #. type: TP
1811 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1812 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1813 #, no-wrap
1814 msgid "B<EINTR>"
1815 msgstr "B<EINTR>"
1816
1817 #. type: Plain text
1818 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1819 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1820 msgid ""
1821 "While blocked waiting to complete an open of a slow device (e.g., a FIFO; "
1822 "see B<fifo>(7)), the call was interrupted by a signal handler; see "
1823 "B<signal>(7)."
1824 msgstr ""
1825 "أثناء المنع لانتظار اكتمال فتح جهاز بطيء (مثل FIFO؛ انظر B<fifo>(7))، قاطع "
1826 "الاستدعاء بواسطة معالج إشارة؛ انظر B<signal>(7)."
1827
1828 #. type: TP
1829 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1830 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1831 #, no-wrap
1832 msgid "B<EINVAL>"
1833 msgstr "B<EINVAL>"
1834
1835 #. type: Plain text
1836 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1837 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1838 msgid ""
1839 "The filesystem does not support the B<O_DIRECT> flag. See B<NOTES> for more "
1840 "information."
1841 msgstr ""
1842 "نظام الملفات لا يدعم العلامة B<O_DIRECT>. انظر B<NOTES> لمزيد من المعلومات."
1843
1844 #. In particular, __O_TMPFILE instead of O_TMPFILE
1845 #. type: Plain text
1846 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1847 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1848 msgid "Invalid value in I<flags>."
1849 msgstr "قيمة غير صالحة في I<flags>."
1850
1851 #. type: Plain text
1852 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1853 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1854 msgid ""
1855 "B<O_TMPFILE> was specified in I<flags>, but neither B<O_WRONLY> nor "
1856 "B<O_RDWR> was specified."
1857 msgstr ""
1858 "حُددت B<O_TMPFILE> في I<flags>، ولكن لم يحدد أي من B<O_WRONLY> أو B<O_RDWR>."
1859
1860 #. type: Plain text
1861 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1862 #: opensuse-tumbleweed
1863 msgid ""
1864 "B<O_CREAT> and B<O_DIRECTORY> were both specified in I<flags ,> and the "
1865 "Linux kernel version is 6.4 or later. (Earlier kernels were inconsistent in "
1866 "this area, and POSIX does not specify the behavior.)"
1867 msgstr ""
1868 "حُدد كل من B<O_CREAT> و B<O_DIRECTORY> في I<flags>، وإصدار نواة لينكس هو 6.4 "
1869 "أو أحدث. (كانت النوى السابقة غير متسقة في هذا المجال، ولا يحدد POSIX هذا "
1870 "السلوك)."
1871
1872 #. type: Plain text
1873 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1874 #: opensuse-tumbleweed
1875 msgid ""
1876 "B<O_CREAT> was specified in I<flags> and the final component (\"basename\") "
1877 "of the new file's I<path> is invalid (e.g., it contains characters not "
1878 "permitted by the underlying filesystem)."
1879 msgstr ""
1880 "حُددت B<O_CREAT> في I<flags> والمكون الأخير (\"basename\") لـ I<path> الملف "
1881 "الجديد غير صالح (على سبيل المثال، يحتوي على محارف غير مسموح بها في نظام "
1882 "الملفات الأساسي)."
1883
1884 #. type: Plain text
1885 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1886 #: opensuse-tumbleweed
1887 msgid ""
1888 "The final component (\"basename\") of I<path> is invalid (e.g., it contains "
1889 "characters not permitted by the underlying filesystem)."
1890 msgstr ""
1891 "المكون الأخير (\"basename\") لـ I<path> غير صالح (على سبيل المثال، يحتوي على "
1892 "محارف غير مسموح بها في نظام الملفات الأساسي)."
1893
1894 #. type: TP
1895 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1896 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1897 #, no-wrap
1898 msgid "B<EISDIR>"
1899 msgstr "B<EISDIR>"
1900
1901 #. type: Plain text
1902 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1903 #: opensuse-tumbleweed
1904 msgid ""
1905 "I<path> refers to a directory and the access requested involved writing "
1906 "(that is, B<O_WRONLY> or B<O_RDWR> is set)."
1907 msgstr ""
1908 "يشير I<path> إلى دليل والوصول المطلوب تضمن الكتابة (أي ضُبطت B<O_WRONLY> أو "
1909 "B<O_RDWR>)."
1910
1911 #. type: Plain text
1912 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1913 #: opensuse-tumbleweed
1914 msgid ""
1915 "I<path> refers to an existing directory, B<O_TMPFILE> and one of B<O_WRONLY> "
1916 "or B<O_RDWR> were specified in I<flags>, but this kernel version does not "
1917 "provide the B<O_TMPFILE> functionality."
1918 msgstr ""
1919 "يشير I<path> إلى دليل موجود، وحُددت B<O_TMPFILE> وأحد B<O_WRONLY> أو "
1920 "B<O_RDWR> في I<flags>، ولكن إصدار النواة هذا لا يوفر وظيفة B<O_TMPFILE>."
1921
1922 #. type: TP
1923 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1924 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1925 #, no-wrap
1926 msgid "B<ELOOP>"
1927 msgstr "B<ELOOP>"
1928
1929 #. type: Plain text
1930 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1931 #: opensuse-tumbleweed
1932 msgid "Too many symbolic links were encountered in resolving I<path>."
1933 msgstr "وُجد عدد كبير جدًا من الوصلات الرمزية أثناء تحليل I<path>."
1934
1935 #. type: Plain text
1936 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1937 #: opensuse-tumbleweed
1938 msgid ""
1939 "I<path> was a symbolic link, and I<flags> specified B<O_NOFOLLOW> but not "
1940 "B<O_PATH>."
1941 msgstr ""
1942 "كان I<path> وصلة رمزية، وحددت I<flags> القيمة B<O_NOFOLLOW> ولكن ليس "
1943 "B<O_PATH>."
1944
1945 #. type: TP
1946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1948 #, no-wrap
1949 msgid "B<EMFILE>"
1950 msgstr "B<EMFILE>"
1951
1952 #. type: Plain text
1953 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1954 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1955 msgid ""
1956 "The per-process limit on the number of open file descriptors has been "
1957 "reached (see the description of B<RLIMIT_NOFILE> in B<getrlimit>(2))."
1958 msgstr ""
1959 "وُصل إلى الحد الأقصى لعدد واصفات الملفات المفتوحة لكل عملية (انظر وصف "
1960 "B<RLIMIT_NOFILE> في B<getrlimit>(2))."
1961
1962 #. type: TP
1963 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1964 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1965 #, no-wrap
1966 msgid "B<ENAMETOOLONG>"
1967 msgstr "B<ENAMETOOLONG>"
1968
1969 #. type: Plain text
1970 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1971 #: opensuse-tumbleweed
1972 msgid "I<path> was too long."
1973 msgstr "المسار I<path> كان طويلاً جداً."
1974
1975 #. type: TP
1976 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1977 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1978 #, no-wrap
1979 msgid "B<ENFILE>"
1980 msgstr "B<ENFILE>"
1981
1982 #. type: Plain text
1983 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1984 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1985 msgid ""
1986 "The system-wide limit on the total number of open files has been reached."
1987 msgstr "وُصل إلى الحد الأقصى لإجمالي عدد الملفات المفتوحة على مستوى النظام."
1988
1989 #. type: TP
1990 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1991 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1992 #, no-wrap
1993 msgid "B<ENODEV>"
1994 msgstr "B<ENODEV>"
1995
1996 #. type: Plain text
1997 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1998 #: opensuse-tumbleweed
1999 msgid ""
2000 "I<path> refers to a device special file and no corresponding device exists. "
2001 "(This is a Linux kernel bug; in this situation B<ENXIO> must be returned.)"
2002 msgstr ""
2003 "يشير I<path> إلى ملف جهاز خاص ولا يوجد جهاز مقابل له. (هذا خطأ في نواة "
2004 "لينكس؛ في هذه الحالة يجب إعادة B<ENXIO>)."
2005
2006 #. type: TP
2007 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2008 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2009 #, no-wrap
2010 msgid "B<ENOENT>"
2011 msgstr "B<ENOENT>"
2012
2013 #. type: Plain text
2014 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2015 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2016 msgid "B<O_CREAT> is not set and the named file does not exist."
2017 msgstr "لم تضبط B<O_CREAT> والملف المسمى غير موجود."
2018
2019 #. type: Plain text
2020 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2021 #: opensuse-tumbleweed
2022 msgid ""
2023 "A directory component in I<path> does not exist or is a dangling symbolic "
2024 "link."
2025 msgstr "مكون الدليل في I<path> غير موجود أو أنه وصلة رمزية معلقة."
2026
2027 #. type: Plain text
2028 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2029 #: opensuse-tumbleweed
2030 msgid ""
2031 "I<path> refers to a nonexistent directory, B<O_TMPFILE> and one of "
2032 "B<O_WRONLY> or B<O_RDWR> were specified in I<flags>, but this kernel version "
2033 "does not provide the B<O_TMPFILE> functionality."
2034 msgstr ""
2035 "يشير I<path> إلى دليل غير موجود، وحُددت B<O_TMPFILE> وأحد B<O_WRONLY> أو "
2036 "B<O_RDWR> في I<flags>، ولكن إصدار النواة هذا لا يوفر وظيفة B<O_TMPFILE>."
2037
2038 #. type: TP
2039 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2040 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2041 #, no-wrap
2042 msgid "B<ENOMEM>"
2043 msgstr "B<ENOMEM>"
2044
2045 #. type: Plain text
2046 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2047 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2048 msgid ""
2049 "The named file is a FIFO, but memory for the FIFO buffer can't be allocated "
2050 "because the per-user hard limit on memory allocation for pipes has been "
2051 "reached and the caller is not privileged; see B<pipe>(7)."
2052 msgstr ""
2053 "الملف المسمى هو FIFO، ولكن تعذر تخصيص ذاكرة لخبيئة FIFO لأن الحد الأقصى "
2054 "الصارم لكل مستخدم لتخصيص الذاكرة للأنابيب قد وُصل إليه و B<المستدعِي> لا يملك "
2055 "صلاحيات؛ انظر B<pipe>(7)."
2056
2057 #. type: Plain text
2058 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2059 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2060 msgid "Insufficient kernel memory was available."
2061 msgstr "ذاكرة النواة المتوفرة غير كافية."
2062
2063 #. type: TP
2064 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2065 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2066 #, no-wrap
2067 msgid "B<ENOSPC>"
2068 msgstr "B<ENOSPC>"
2069
2070 #. type: Plain text
2071 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2072 #: opensuse-tumbleweed
2073 msgid ""
2074 "I<path> was to be created but the device containing I<path> has no room for "
2075 "the new file."
2076 msgstr ""
2077 "كان من المفترض إنشاء I<path> ولكن الجهاز الذي يحتوي على I<path> لا يملك "
2078 "مساحة للملف الجديد."
2079
2080 #. type: TP
2081 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2082 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2083 #, no-wrap
2084 msgid "B<ENOTDIR>"
2085 msgstr "B<ENOTDIR>"
2086
2087 #. type: Plain text
2088 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2089 #: opensuse-tumbleweed
2090 msgid ""
2091 "A component used as a directory in I<path> is not, in fact, a directory, or "
2092 "B<O_DIRECTORY> was specified and I<path> was not a directory."
2093 msgstr ""
2094 "أحد المكونات المستخدمة كدليل في I<path> ليس دليلاً في الواقع، أو حُدد "
2095 "B<O_DIRECTORY> ولم يكن I<path> دليلاً."
2096
2097 #. type: Plain text
2098 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2099 #: opensuse-tumbleweed
2100 msgid ""
2101 "(B<openat>()) I<path> is a relative pathname and I<dirfd> is a file "
2102 "descriptor referring to a file other than a directory."
2103 msgstr ""
2104 "(B<openat>()) يكون I<path> مساراً نسبياً و I<dirfd> واصف ملف يشير إلى ملف آخر "
2105 "غير الدليل."
2106
2107 #. type: TP
2108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2110 #, no-wrap
2111 msgid "B<ENXIO>"
2112 msgstr "B<ENXIO>"
2113
2114 #. type: Plain text
2115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2117 msgid ""
2118 "B<O_NONBLOCK> | B<O_WRONLY> is set, the named file is a FIFO, and no process "
2119 "has the FIFO open for reading."
2120 msgstr ""
2121 "عُين B<O_NONBLOCK> | B<O_WRONLY>، والملف المسمى هو FIFO، ولا توجد عملية فتحت "
2122 "FIFO للقراءة."
2123
2124 #. type: Plain text
2125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2127 msgid "The file is a device special file and no corresponding device exists."
2128 msgstr "الملف هو ملف جهاز خاص ولا يوجد جهاز مطابق له."
2129
2130 #. type: Plain text
2131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2133 msgid "The file is a UNIX domain socket."
2134 msgstr "الملف هو مقبس نطاق UNIX."
2135
2136 #. type: TP
2137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2139 #, no-wrap
2140 msgid "B<EOPNOTSUPP>"
2141 msgstr "B<EOPNOTSUPP>"
2142
2143 #. type: Plain text
2144 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2145 #: opensuse-tumbleweed
2146 msgid "The filesystem containing I<path> does not support B<O_TMPFILE>."
2147 msgstr "نظام ملفات الذي يحتوي على I<path> لا يدعم B<O_TMPFILE>."
2148
2149 #. type: TP
2150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2152 #, no-wrap
2153 msgid "B<EOVERFLOW>"
2154 msgstr "B<EOVERFLOW>"
2155
2156 #. See http://bugzilla.kernel.org/show_bug.cgi?id=7253
2157 #. "Open of a large file on 32-bit fails with EFBIG, should be EOVERFLOW"
2158 #. Reported 2006-10-03
2159 #. type: Plain text
2160 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2161 #: opensuse-tumbleweed
2162 msgid ""
2163 "I<path> refers to a regular file that is too large to be opened. The usual "
2164 "scenario here is that an application compiled on a 32-bit platform without "
2165 "I<-D_FILE_OFFSET_BITS=64> tried to open a file whose size exceeds "
2166 "I<(1E<lt>E<lt>31)-1> bytes; see also B<O_LARGEFILE> above. This is the "
2167 "error specified by POSIX.1; before Linux 2.6.24, Linux gave the error "
2168 "B<EFBIG> for this case."
2169 msgstr ""
2170 "يشير I<path> إلى ملف عادي كبير جداً لدرجة لا يمكن فتحه. السيناريو المعتاد هنا "
2171 "هو أن تطبيقاً جُمّع على منصة 32 بت بدون I<-D_FILE_OFFSET_BITS=64> حاول فتح ملف "
2172 "يتجاوز حجمه I<(1E<lt>E<lt>31)-1> بايت؛ انظر أيضًا B<O_LARGEFILE> أعلاه. هذا "
2173 "هو الخطأ المحدد بواسطة POSIX.1؛ قبل لينكس 2.6.24، كان لينكس يعطي الخطأ "
2174 "B<EFBIG> لهذه الحالة."
2175
2176 #. type: TP
2177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2179 #, no-wrap
2180 msgid "B<EPERM>"
2181 msgstr "B<EPERM>"
2182
2183 #. #-#-#-#-# archlinux: open.2.pot (PACKAGE VERSION) #-#-#-#-#
2184 #. Strictly speaking, it's the filesystem UID... (MTK)
2185 #. type: Plain text
2186 #. #-#-#-#-# debian-trixie: open.2.pot (PACKAGE VERSION) #-#-#-#-#
2187 #. Strictly speaking, it's the filesystem UID... (MTK)
2188 #. type: Plain text
2189 #. #-#-#-#-# debian-unstable: open.2.pot (PACKAGE VERSION) #-#-#-#-#
2190 #. Strictly speaking, it's the filesystem UID... (MTK)
2191 #. type: Plain text
2192 #. #-#-#-#-# fedora-44: open.2.pot (PACKAGE VERSION) #-#-#-#-#
2193 #. Strictly speaking, it's the filesystem UID... (MTK)
2194 #. type: Plain text
2195 #. #-#-#-#-# fedora-rawhide: open.2.pot (PACKAGE VERSION) #-#-#-#-#
2196 #. Strictly speaking, it's the filesystem UID... (MTK)
2197 #. type: Plain text
2198 #. #-#-#-#-# mageia-cauldron: open.2.pot (PACKAGE VERSION) #-#-#-#-#
2199 #. Strictly speaking, it's the filesystem UID... (MTK)
2200 #. type: Plain text
2201 #. #-#-#-#-# opensuse-leap-16-1: open.2.pot (PACKAGE VERSION) #-#-#-#-#
2202 #. Strictly speaking, it's the filesystem UID... (MTK)
2203 #. type: Plain text
2204 #. #-#-#-#-# opensuse-tumbleweed: open.2.pot (PACKAGE VERSION) #-#-#-#-#
2205 #. Strictly speaking, it's the filesystem UID... (MTK)
2206 #. type: Plain text
2207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2209 msgid ""
2210 "The B<O_NOATIME> flag was specified, but the effective user ID of the caller "
2211 "did not match the owner of the file and the caller was not privileged."
2212 msgstr ""
2213 "حُددت الراية B<O_NOATIME>، ولكن معرف المستخدم الفعلي لـ B<المستدعِي> لم يطابق "
2214 "مالك الملف ولم يكن B<المستدعِي> ذا صلاحيات."
2215
2216 #. type: Plain text
2217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2219 msgid "The operation was prevented by a file seal; see B<fcntl>(2)."
2220 msgstr "مُنعت العملية بواسطة ختم ملف؛ انظر B<fcntl>(2)."
2221
2222 #. type: TP
2223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2225 #, no-wrap
2226 msgid "B<EROFS>"
2227 msgstr "B<EROFS>"
2228
2229 #. type: Plain text
2230 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2231 #: opensuse-tumbleweed
2232 msgid ""
2233 "I<path> refers to a file on a read-only filesystem and write access was "
2234 "requested."
2235 msgstr "يشير I<path> إلى ملف على نظام ملفات للقراءة فقط وطُلب وصول للكتابة."
2236
2237 #. type: TP
2238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2240 #, no-wrap
2241 msgid "B<ETXTBSY>"
2242 msgstr "B<ETXTBSY>"
2243
2244 #. type: Plain text
2245 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2246 #: opensuse-tumbleweed
2247 msgid ""
2248 "I<path> refers to an executable image which is currently being executed and "
2249 "write access was requested."
2250 msgstr "يشير I<path> إلى صورة تنفيذية تُنفذ حالياً وطُلب وصول للكتابة."
2251
2252 #. type: Plain text
2253 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2254 #: opensuse-tumbleweed
2255 msgid ""
2256 "I<path> refers to a file that is currently in use as a swap file, and the "
2257 "B<O_TRUNC> flag was specified."
2258 msgstr "يشير I<path> إلى ملف مُستخدم حالياً كملف تبديل، وحُددت الراية B<O_TRUNC>."
2259
2260 #. type: Plain text
2261 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2262 #: opensuse-tumbleweed
2263 msgid ""
2264 "I<path> refers to a file that is currently being read by the kernel (e.g., "
2265 "for module/firmware loading), and write access was requested."
2266 msgstr ""
2267 "يشير I<path> إلى ملف يُقرأ حالياً بواسطة B<نواة> (مثلاً، لتحميل وحدة/برمجية "
2268 "ثابتة)، وطُلب وصول للكتابة."
2269
2270 #. type: TP
2271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2273 #, no-wrap
2274 msgid "B<EWOULDBLOCK>"
2275 msgstr "B<EWOULDBLOCK>"
2276
2277 #. type: Plain text
2278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2280 msgid ""
2281 "The B<O_NONBLOCK> flag was specified, and an incompatible lease was held on "
2282 "the file (see B<fcntl>(2))."
2283 msgstr ""
2284 "حُددت الراية B<O_NONBLOCK>، وكان هناك عقد إيجار غير متوافق للملف (انظر "
2285 "B<fcntl>(2))."
2286
2287 #. type: SH
2288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2290 #, no-wrap
2291 msgid "VERSIONS"
2292 msgstr "الإصدارات"
2293
2294 #. Linux 2.0, 2.5: truncate
2295 #. Solaris 5.7, 5.8: truncate
2296 #. Irix 6.5: truncate
2297 #. Tru64 5.1B: truncate
2298 #. HP-UX 11.22: truncate
2299 #. FreeBSD 4.7: truncate
2300 #. type: Plain text
2301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2303 msgid ""
2304 "The (undefined) effect of B<O_RDONLY | O_TRUNC> varies among "
2305 "implementations. On many systems the file is actually truncated."
2306 msgstr ""
2307 "يختلف التأثير (غير المحدد) لـ B<O_RDONLY | O_TRUNC> باختلاف التطبيقات. في "
2308 "عديد من الأنظمة، يُقتطع الملف بالفعل."
2309
2310 #. type: SS
2311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2313 #, no-wrap
2314 msgid "Synchronized I/O"
2315 msgstr "المدخلات/المخرجات المتزامنة"
2316
2317 #. type: Plain text
2318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2320 msgid ""
2321 "The POSIX.1-2008 \"synchronized I/O\" option specifies different variants of "
2322 "synchronized I/O, and specifies the B<open>() flags B<O_SYNC>, B<O_DSYNC>, "
2323 "and B<O_RSYNC> for controlling the behavior. Regardless of whether an "
2324 "implementation supports this option, it must at least support the use of "
2325 "B<O_SYNC> for regular files."
2326 msgstr ""
2327 "يحدد خيار \"المدخلات/المخرجات المتزامنة\" في POSIX.1-2008 أنواعاً مختلفة من "
2328 "المدخلات/المخرجات المتزامنة، ويحدد رايات B<open>()‏ B<O_SYNC> و B<O_DSYNC> و "
2329 "B<O_RSYNC> للتحكم في السلوك. وبغض النظر عما إذا كان التطبيق يدعم هذا الخيار، "
2330 "يجب أن يدعم على الأقل استخدام B<O_SYNC> للملفات العادية."
2331
2332 #. type: Plain text
2333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2335 msgid ""
2336 "Linux implements B<O_SYNC> and B<O_DSYNC>, but not B<O_RSYNC>. Somewhat "
2337 "incorrectly, glibc defines B<O_RSYNC> to have the same value as B<O_SYNC>. "
2338 "(B<O_RSYNC> is defined in the Linux header file I<E<lt>asm/fcntl.hE<gt>> on "
2339 "HP PA-RISC, but it is not used.)"
2340 msgstr ""
2341 "ينفذ لينكس B<O_SYNC> و B<O_DSYNC>، ولكن ليس B<O_RSYNC>. وبشكل غير دقيق إلى "
2342 "حد ما، تعرّف glibc‏ B<O_RSYNC> لتكون لها نفس قيمة B<O_SYNC>. (عُرّفت B<O_RSYNC> "
2343 "في ملف ترويسة لينكس I<E<lt>asm/fcntl.hE<gt>> على HP PA-RISC، ولكنها غير "
2344 "مستخدمة.)"
2345
2346 #. type: Plain text
2347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2349 msgid ""
2350 "B<O_SYNC> provides synchronized I/O I<file> integrity completion, meaning "
2351 "write operations will flush data and all associated metadata to the "
2352 "underlying hardware. B<O_DSYNC> provides synchronized I/O I<data> integrity "
2353 "completion, meaning write operations will flush data to the underlying "
2354 "hardware, but will only flush metadata updates that are required to allow a "
2355 "subsequent read operation to complete successfully. Data integrity "
2356 "completion can reduce the number of disk operations that are required for "
2357 "applications that don't need the guarantees of file integrity completion."
2358 msgstr ""
2359 "يوفر B<O_SYNC> إكمال سلامة I<ملف> المدخلات/المخرجات المتزامن، مما يعني أن "
2360 "عمليات الكتابة ستدفع البيانات وجميع البيانات الوصفية المرتبطة بها إلى العتاد "
2361 "الأساسي. يوفر B<O_DSYNC> إكمال سلامة I<بيانات> المدخلات/المخرجات المتزامن، "
2362 "مما يعني أن عمليات الكتابة ستدفع البيانات إلى العتاد الأساسي، ولكنها ستدفع "
2363 "فقط تحديثات البيانات الوصفية المطلوبة للسماح لعملية قراءة لاحقة بالاكتمال "
2364 "بنجاح. يمكن أن يقلل إكمال سلامة البيانات من عدد عمليات القرص المطلوبة "
2365 "للتطبيقات التي لا تحتاج إلى ضمانات إكمال سلامة الملف."
2366
2367 #. type: Plain text
2368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2370 msgid ""
2371 "To understand the difference between the two types of completion, consider "
2372 "two pieces of file metadata: the file last modification timestamp "
2373 "(I<st_mtime>) and the file length. All write operations will update the "
2374 "last file modification timestamp, but only writes that add data to the end "
2375 "of the file will change the file length. The last modification timestamp is "
2376 "not needed to ensure that a read completes successfully, but the file length "
2377 "is. Thus, B<O_DSYNC> would only guarantee to flush updates to the file "
2378 "length metadata (whereas B<O_SYNC> would also always flush the last "
2379 "modification timestamp metadata)."
2380 msgstr ""
2381 "لفهم الفرق بين نوعي الإكمال، تأمل في قطعتين من البيانات الوصفية للملف: طابع "
2382 "وقت آخر تعديل للملف (I<st_mtime>) وطول الملف. ستعمل جميع عمليات الكتابة على "
2383 "تحديث طابع وقت آخر تعديل للملف، ولكن الكتابات التي تضيف بيانات إلى نهاية "
2384 "الملف فقط هي التي ستغير طول الملف. طابع وقت آخر تعديل ليس مطلوباً لضمان "
2385 "اكتمال القراءة بنجاح، ولكن طول الملف مطلوب. وبذلك، يضمن B<O_DSYNC> فقط دفع "
2386 "تحديثات البيانات الوصفية لطول الملف (بينما سيدفع B<O_SYNC> دائماً أيضًا "
2387 "البيانات الوصفية لطابع وقت آخر تعديل)."
2388
2389 #. type: Plain text
2390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2392 msgid ""
2393 "Before Linux 2.6.33, Linux implemented only the B<O_SYNC> flag for "
2394 "B<open>(). However, when that flag was specified, most filesystems actually "
2395 "provided the equivalent of synchronized I/O I<data> integrity completion (i."
2396 "e., B<O_SYNC> was actually implemented as the equivalent of B<O_DSYNC>)."
2397 msgstr ""
2398 "قبل لينكس 2.6.33، نفذ لينكس فقط الراية B<O_SYNC> لـ B<open>(). ومع ذلك، عند "
2399 "تحديد هذه الراية، كانت معظم أنظمة الملفات توفر فعلياً ما يعادل إكمال سلامة "
2400 "I<بيانات> المدخلات/المخرجات المتزامن (أي أن B<O_SYNC> نُفذت فعلياً بما يعادل "
2401 "B<O_DSYNC>)."
2402
2403 #. type: Plain text
2404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2406 msgid ""
2407 "Since Linux 2.6.33, proper B<O_SYNC> support is provided. However, to "
2408 "ensure backward binary compatibility, B<O_DSYNC> was defined with the same "
2409 "value as the historical B<O_SYNC>, and B<O_SYNC> was defined as a new (two-"
2410 "bit) flag value that includes the B<O_DSYNC> flag value. This ensures that "
2411 "applications compiled against new headers get at least B<O_DSYNC> semantics "
2412 "before Linux 2.6.33."
2413 msgstr ""
2414 "منذ لينكس 2.6.33، دُعم B<O_SYNC> بشكل صحيح. ومع ذلك، لضمان التوافق الثنائي "
2415 "التراجعي، عُرّفت B<O_DSYNC> بنفس قيمة B<O_SYNC> التاريخية، وعُرّفت B<O_SYNC> "
2416 "كقيمة راية جديدة (بتّين) تتضمن قيمة راية B<O_DSYNC>. يضمن هذا حصول التطبيقات "
2417 "التي جُمّعت باستخدام الترويسات الجديدة على الأقل على دلالات B<O_DSYNC> قبل "
2418 "لينكس 2.6.33."
2419
2420 #. type: SS
2421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2423 #, no-wrap
2424 msgid "C library/kernel differences"
2425 msgstr "الاختلافات بين مكتبة C والنواة"
2426
2427 #. type: Plain text
2428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2430 msgid ""
2431 "Since glibc 2.26, the glibc wrapper function for B<open>() employs the "
2432 "B<openat>() system call, rather than the kernel's B<open>() system call. "
2433 "For certain architectures, this is also true before glibc 2.26."
2434 msgstr ""
2435 "منذ glibc 2.26، توظف دالة الغلاف glibc لـ B<open>() استدعاء النظام "
2436 "B<openat>()، بدلاً من استدعاء النظام B<open>() الخاص بالنواة. بالنسبة "
2437 "لمعماريات معينة، ينطبق هذا أيضًا قبل glibc 2.26."
2438
2439 #. type: SS
2440 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2441 #: opensuse-tumbleweed
2442 #, no-wrap
2443 msgid "POSIX"
2444 msgstr "POSIX"
2445
2446 #. type: Plain text
2447 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2448 #: opensuse-tumbleweed
2449 msgid "POSIX.1-2024 specifies B<O_CLOFORK>, but Linux doesn't support it."
2450 msgstr "يحدد POSIX.1-2024‏ B<O_CLOFORK>، لكن لينكس لا يدعمه."
2451
2452 #. type: SH
2453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2455 #, no-wrap
2456 msgid "STANDARDS"
2457 msgstr "المعايير"
2458
2459 #. type: TP
2460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2462 #, no-wrap
2463 msgid "B<open>()"
2464 msgstr "B<open>()"
2465
2466 #. type: TQ
2467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2469 #, no-wrap
2470 msgid "B<creat>()"
2471 msgstr "B<creat>()"
2472
2473 #. type: TP
2474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2476 #, no-wrap
2477 msgid "B<openat>()"
2478 msgstr "B<openat>()"
2479
2480 #. type: Plain text
2481 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2482 #: opensuse-tumbleweed
2483 msgid "POSIX.1-2024."
2484 msgstr "POSIX.1-2024."
2485
2486 #. type: TP
2487 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2488 #: opensuse-tumbleweed
2489 #, no-wrap
2490 msgid "B<openat2>(2)"
2491 msgstr "B<openat2>(2)"
2492
2493 #. type: Plain text
2494 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2495 #: opensuse-tumbleweed
2496 msgid "Linux."
2497 msgstr "لينكس."
2498
2499 #. type: TP
2500 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2501 #: opensuse-tumbleweed
2502 #, no-wrap
2503 msgid "B<O_DIRECT>"
2504 msgstr "B<O_DIRECT>"
2505
2506 #. type: TQ
2507 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2508 #: opensuse-tumbleweed
2509 #, no-wrap
2510 msgid "B<O_NOATIME>"
2511 msgstr "B<O_NOATIME>"
2512
2513 #. type: TQ
2514 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2515 #: opensuse-tumbleweed
2516 #, no-wrap
2517 msgid "B<O_PATH>"
2518 msgstr "B<O_PATH>"
2519
2520 #. type: TQ
2521 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2522 #: opensuse-tumbleweed
2523 #, no-wrap
2524 msgid "B<O_TMPFILE>"
2525 msgstr "B<O_TMPFILE>"
2526
2527 #. type: SH
2528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2530 #, no-wrap
2531 msgid "HISTORY"
2532 msgstr "التاريخ"
2533
2534 #. type: Plain text
2535 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2536 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2537 msgid "SVr4, 4.3BSD, POSIX.1-2001."
2538 msgstr "SVr4، 4.3BSD، POSIX.1-2001."
2539
2540 #. type: Plain text
2541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2543 msgid "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
2544 msgstr "POSIX.1-2008. لينكس 2.6.16،‏ glibc 2.4."
2545
2546 #. type: TP
2547 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2548 #: opensuse-tumbleweed
2549 #, no-wrap
2550 msgid "B<O_CLOEXEC>"
2551 msgstr "B<O_CLOEXEC>"
2552
2553 #. type: Plain text
2554 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2555 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2556 msgid "POSIX.1-2008."
2557 msgstr "POSIX.1-2008."
2558
2559 #. type: SH
2560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2562 #, no-wrap
2563 msgid "NOTES"
2564 msgstr "ملاحظات"
2565
2566 #. type: Plain text
2567 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2568 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2569 msgid ""
2570 "Under Linux, the B<O_NONBLOCK> flag is sometimes used in cases where one "
2571 "wants to open but does not necessarily have the intention to read or write. "
2572 "For example, this may be used to open a device in order to get a file "
2573 "descriptor for use with B<ioctl>(2)."
2574 msgstr ""
2575 "تحت نظام لينكس، تُستخدم الراية B<O_NONBLOCK> أحياناً في الحالات التي يُراد فيها "
2576 "الفتح ولكن ليس بالضرورة نية القراءة أو الكتابة. على سبيل المثال، قد يُستخدم "
2577 "هذا لفتح جهاز من أجل الحصول على واصف ملف لاستخدامه مع B<ioctl>(2)."
2578
2579 #. type: Plain text
2580 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2581 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2582 msgid ""
2583 "Note that B<open>() can open device special files, but B<creat>() cannot "
2584 "create them; use B<mknod>(2) instead."
2585 msgstr ""
2586 "لاحظ أن B<open>() يمكنه فتح ملفات الأجهزة الخاصة، لكن B<creat>() لا يمكنه "
2587 "إنشاءها؛ استخدم B<mknod>(2) بدلاً من ذلك."
2588
2589 #. type: Plain text
2590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2592 msgid ""
2593 "If the file is newly created, its I<st_atime>, I<st_ctime>, I<st_mtime> "
2594 "fields (respectively, time of last access, time of last status change, and "
2595 "time of last modification; see B<stat>(2)) are set to the current time, and "
2596 "so are the I<st_ctime> and I<st_mtime> fields of the parent directory. "
2597 "Otherwise, if the file is modified because of the B<O_TRUNC> flag, its "
2598 "I<st_ctime> and I<st_mtime> fields are set to the current time."
2599 msgstr ""
2600 "إذا أُنشئ الملف حديثاً، تُعين حقول I<st_atime> و I<st_ctime> و I<st_mtime> "
2601 "الخاصة به (على التوالي، وقت آخر وصول، ووقت آخر تغيير للحالة، ووقت آخر تعديل؛ "
2602 "انظر B<stat>(2)) إلى الوقت الحالي، وكذلك حقول I<st_ctime> و I<st_mtime> "
2603 "للدليل الأصل. وإلا، إذا عُدل الملف بسبب الراية B<O_TRUNC>، تُعين حقول "
2604 "I<st_ctime> و I<st_mtime> الخاصة به إلى الوقت الحالي."
2605
2606 #. type: Plain text
2607 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2608 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2609 msgid ""
2610 "The files in the I</proc/>pidI</fd> directory show the open file descriptors "
2611 "of the process with the PID I<pid>. The files in the I</proc/>pidI</fdinfo> "
2612 "directory show even more information about these file descriptors. See "
2613 "B<proc>(5) for further details of both of these directories."
2614 msgstr ""
2615 "تُظهر الملفات الموجودة في دليل I</proc/>pidI</fd> واصفات الملفات المفتوحة "
2616 "للعملية ذات المعرف I<pid>. تُظهر الملفات في دليل I</proc/>pidI</fdinfo> "
2617 "معلومات أكثر عن واصفات الملفات هذه. انظر B<proc>(5) لمزيد من التفاصيل حول "
2618 "كلا الدليلين."
2619
2620 #. type: Plain text
2621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2623 msgid ""
2624 "The Linux header file B<E<lt>asm/fcntl.hE<gt>> doesn't define B<O_ASYNC>; "
2625 "the (BSD-derived) B<FASYNC> synonym is defined instead."
2626 msgstr ""
2627 "لا يعرف ملف ترويسة لينكس B<E<lt>asm/fcntl.hE<gt>>‏ B<O_ASYNC>؛ بل عُرّف المرادف "
2628 "B<FASYNC> (المشتق من BSD) بدلاً منه."
2629
2630 #. type: SS
2631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2633 #, no-wrap
2634 msgid "Open file descriptions"
2635 msgstr "أوصاف الملفات المفتوحة"
2636
2637 #. type: Plain text
2638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2640 msgid ""
2641 "The term open file description is the one used by POSIX to refer to the "
2642 "entries in the system-wide table of open files. In other contexts, this "
2643 "object is variously also called an \"open file object\", a \"file handle\", "
2644 "an \"open file table entry\", or\\[em]in kernel-developer parlance\\[em]a "
2645 "I<struct file>."
2646 msgstr ""
2647 "مصطلح وصف الملف المفتوح هو المصطلح الذي يستخدمه POSIX للإشارة إلى المدخلات "
2648 "في جدول الملفات المفتوحة على مستوى النظام. في سياقات أخرى، يُسمى هذا الكائن "
2649 "أيضًا بأسماء متنوعة مثل \"كائن ملف مفتوح\"، أو \"مقبض ملف\"، أو \"مدخل جدول "
2650 "ملفات مفتوحة\"، أو\\[em]بلغة مطوري النواة\\[em]‏ I<struct file>."
2651
2652 #. type: Plain text
2653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2655 msgid ""
2656 "When a file descriptor is duplicated (using B<dup>(2) or similar), the "
2657 "duplicate refers to the same open file description as the original file "
2658 "descriptor, and the two file descriptors consequently share the file offset "
2659 "and file status flags. Such sharing can also occur between processes: a "
2660 "child process created via B<fork>(2) inherits duplicates of its parent's "
2661 "file descriptors, and those duplicates refer to the same open file "
2662 "descriptions."
2663 msgstr ""
2664 "عند مضاعفة واصف ملف (باستخدام B<dup>(2) أو ما شابه)، تشير النسخة المكررة إلى "
2665 "نفس وصف الملف المفتوح الذي يشير إليه واصف الملف الأصلي، وبالتالي يتشارك "
2666 "واصفا الملف في إزاحة الملف ورايات حالة الملف. يمكن أن يحدث هذا التشارك أيضًا "
2667 "بين العمليات: ترث العملية الابنة المنشأة عبر B<fork>(2) نسخاً مكررة من واصفات "
2668 "ملفات والدها، وتشير تلك النسخ إلى نفس أوصاف الملفات المفتوحة."
2669
2670 #. type: Plain text
2671 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2672 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2673 msgid ""
2674 "Each B<open>() of a file creates a new open file description; thus, there "
2675 "may be multiple open file descriptions corresponding to a file inode."
2676 msgstr ""
2677 "كل B<open>() لملف ينشئ وصف ملف مفتوحاً جديداً؛ وبالتالي، قد يكون هناك عدة "
2678 "أوصاف ملفات مفتوحة تقابل ملفاً واحداً (inode)."
2679
2680 #. type: Plain text
2681 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2682 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2683 msgid ""
2684 "On Linux, one can use the B<kcmp>(2) B<KCMP_FILE> operation to test whether "
2685 "two file descriptors (in the same process or in two different processes) "
2686 "refer to the same open file description."
2687 msgstr ""
2688 "في لينكس، يمكن استخدام عملية B<KCMP_FILE> في B<kcmp>(2) لاختبار ما إذا كان "
2689 "واصفا ملف (في نفس العملية أو في عمليتين مختلفتين) يشيران إلى نفس وصف الملف "
2690 "المفتوح."
2691
2692 #. type: SS
2693 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2694 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2695 #, no-wrap
2696 msgid "NFS"
2697 msgstr "NFS"
2698
2699 #. type: Plain text
2700 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2701 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2702 msgid ""
2703 "There are many infelicities in the protocol underlying NFS, affecting "
2704 "amongst others B<O_SYNC> and B<O_NDELAY>."
2705 msgstr ""
2706 "هناك العديد من العيوب في البروتوكول الأساسي لـ NFS، مما يؤثر من بين أمور "
2707 "أخرى على B<O_SYNC> و B<O_NDELAY>."
2708
2709 #. type: Plain text
2710 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2711 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2712 msgid ""
2713 "On NFS filesystems with UID mapping enabled, B<open>() may return a file "
2714 "descriptor but, for example, B<read>(2) requests are denied with "
2715 "B<EACCES>. This is because the client performs B<open>() by checking the "
2716 "permissions, but UID mapping is performed by the server upon read and write "
2717 "requests."
2718 msgstr ""
2719 "في أنظمة ملفات NFS مع تفعيل تخطيط UID، قد يعيد B<open>() واصف ملف ولكن، على "
2720 "سبيل المثال، تُرفض طلبات B<read>(2) مع الخطأ B<EACCES>. هذا لأن العميل ينفذ "
2721 "B<open>() عبر التحقق من الأذونات، ولكن تخطيط UID ينفذه الخادم عند طلبات "
2722 "القراءة والكتابة."
2723
2724 #. type: SS
2725 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2726 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2727 #, no-wrap
2728 msgid "FIFOs"
2729 msgstr "FIFOs"
2730
2731 #. type: Plain text
2732 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2733 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2734 msgid ""
2735 "Opening the read or write end of a FIFO blocks until the other end is also "
2736 "opened (by another process or thread). See B<fifo>(7) for further details."
2737 msgstr ""
2738 "يؤدي فتح طرف القراءة أو الكتابة لـ FIFO إلى الحظر حتى يُفتح الطرف الآخر أيضًا "
2739 "(بواسطة عملية أو خيط آخر). انظر B<fifo>(7) لمزيد من التفاصيل."
2740
2741 #. type: SS
2742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2744 #, no-wrap
2745 msgid "File access mode"
2746 msgstr "وضع الوصول للملف"
2747
2748 #. type: Plain text
2749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2751 msgid ""
2752 "Unlike the other values that can be specified in I<flags>, the I<access "
2753 "mode> values B<O_RDONLY>, B<O_WRONLY>, and B<O_RDWR> do not specify "
2754 "individual bits. Rather, they define the low order two bits of I<flags>, "
2755 "and are defined respectively as 0, 1, and 2. In other words, the "
2756 "combination B<O_RDONLY | O_WRONLY> is a logical error, and certainly does "
2757 "not have the same meaning as B<O_RDWR>."
2758 msgstr ""
2759 "على عكس القيم الأخرى التي يمكن تحديدها في I<flags>، فإن قيم I<access mode>‏ "
2760 "B<O_RDONLY> و B<O_WRONLY> و B<O_RDWR> لا تحدد بتاتاً فردية. بدلاً من ذلك، "
2761 "فإنها تعرف البتّين الأدنى في I<flags>، وتعرف على التوالي كـ 0 و 1 و 2. بمعنى "
2762 "آخر، الجمع B<O_RDONLY | O_WRONLY> هو خطأ منطقي، وبالتأكيد ليس له نفس معنى "
2763 "B<O_RDWR>."
2764
2765 #. See for example util-linux's disk-utils/setfdprm.c
2766 #. For some background on access mode 3, see
2767 #. http://thread.gmane.org/gmane.linux.kernel/653123
2768 #. "[RFC] correct flags to f_mode conversion in __dentry_open"
2769 #. LKML, 12 Mar 2008
2770 #. type: Plain text
2771 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2772 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2773 msgid ""
2774 "Linux reserves the special, nonstandard access mode 3 (binary 11) in "
2775 "I<flags> to mean: check for read and write permission on the file and return "
2776 "a file descriptor that can't be used for reading or writing. This "
2777 "nonstandard access mode is used by some Linux drivers to return a file "
2778 "descriptor that is to be used only for device-specific B<ioctl>(2) "
2779 "operations."
2780 msgstr ""
2781 "يحتفظ لينكس بوضع الوصول الخاص غير المعياري 3 (ثنائي 11) في I<flags> ليعني: "
2782 "التحقق من إذن القراءة والكتابة على الملف وإعادة واصف ملف لا يمكن استخدامه "
2783 "للقراءة أو الكتابة. يُستخدم وضع الوصول غير المعياري هذا بواسطة بعض برامج "
2784 "قيادة لينكس لإعادة واصف ملف ليُستخدم فقط لعمليات B<ioctl>(2) الخاصة بالجهاز."
2785
2786 #. type: SS
2787 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2788 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2789 #, no-wrap
2790 msgid "Rationale for openat() and other directory file descriptor APIs"
2791 msgstr "الأساس المنطقي لـ openat() وواجهات برمجة تطبيقات واصف ملف الدليل الأخرى"
2792
2793 #. type: Plain text
2794 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2795 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2796 msgid ""
2797 "B<openat>() and the other system calls and library functions that take a "
2798 "directory file descriptor argument (i.e., B<execveat>(2), B<faccessat>(2), "
2799 "B<fanotify_mark>(2), B<fchmodat>(2), B<fchownat>(2), B<fspick>(2), "
2800 "B<fstatat>(2), B<futimesat>(2), B<linkat>(2), B<mkdirat>(2), B<mknodat>(2), "
2801 "B<mount_setattr>(2), B<move_mount>(2), B<name_to_handle_at>(2), "
2802 "B<open_tree>(2), B<openat2>(2), B<readlinkat>(2), B<renameat>(2), "
2803 "B<renameat2>(2), B<statx>(2), B<symlinkat>(2), B<unlinkat>(2), "
2804 "B<utimensat>(2), B<mkfifoat>(3), and B<scandirat>(3)) address two problems "
2805 "with the older interfaces that preceded them. Here, the explanation is in "
2806 "terms of the B<openat>() call, but the rationale is analogous for the other "
2807 "interfaces."
2808 msgstr ""
2809 "تعالج B<openat>() واستدعاءات النظام الأخرى ودوال المكتبة التي تأخذ وسيط واصف "
2810 "ملف الدليل (مثل B<execveat>(2) و B<faccessat>(2) و B<fanotify_mark>(2) و "
2811 "B<fchmodat>(2) و B<fchownat>(2) و B<fspick>(2) و B<fstatat>(2) و "
2812 "B<futimesat>(2) و B<linkat>(2) و B<mkdirat>(2) و B<mknodat>(2) و "
2813 "B<mount_setattr>(2) و B<move_mount>(2) و B<name_to_handle_at>(2) و "
2814 "B<open_tree>(2) و B<openat2>(2) و B<readlinkat>(2) و B<renameat>(2) و "
2815 "B<renameat2>(2) و B<statx>(2) و B<symlinkat>(2) و B<unlinkat>(2) و "
2816 "B<utimensat>(2) و B<mkfifoat>(3) و B<scandirat>(3)) مشكلتين في الواجهات "
2817 "الأقدم التي سبقتها. التفسير هنا بمصطلحات استدعاء B<openat>()، لكن الأساس "
2818 "المنطقي مماثل للواجهات الأخرى."
2819
2820 #. type: Plain text
2821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2823 msgid ""
2824 "First, B<openat>() allows an application to avoid race conditions that "
2825 "could occur when using B<open>() to open files in directories other than "
2826 "the current working directory. These race conditions result from the fact "
2827 "that some component of the directory prefix given to B<open>() could be "
2828 "changed in parallel with the call to B<open>(). Suppose, for example, that "
2829 "we wish to create the file I<dir1/dir2/xxx.dep> if the file I<dir1/dir2/xxx> "
2830 "exists. The problem is that between the existence check and the file-"
2831 "creation step, I<dir1> or I<dir2> (which might be symbolic links) could be "
2832 "modified to point to a different location. Such races can be avoided by "
2833 "opening a file descriptor for the target directory, and then specifying that "
2834 "file descriptor as the I<dirfd> argument of (say) B<fstatat>(2) and "
2835 "B<openat>(). The use of the I<dirfd> file descriptor also has other "
2836 "benefits:"
2837 msgstr ""
2838 "أولاً، تسمح B<openat>() للتطبيق بتجنب حالات السباق التي قد تحدث عند استخدام "
2839 "B<open>() لفتح ملفات في أدلة غير دليل العمل الحالي. تنتج حالات السباق هذه عن "
2840 "حقيقة أن بعض مكونات بادئة الدليل المعطاة لـ B<open>() يمكن تغييرها بالتوازي "
2841 "مع استدعاء B<open>(). لنفترض، على سبيل المثال، أننا نرغب في إنشاء الملف "
2842 "I<dir1/dir2/xxx.dep> إذا كان الملف I<dir1/dir2/xxx> موجوداً. المشكلة هي أنه "
2843 "بين التحقق من الوجود وخطوة إنشاء الملف، يمكن تعديل I<dir1> أو I<dir2> (والتي "
2844 "قد تكون وصلات رمزية) لتشير إلى موقع مختلف. يمكن تجنب مثل هذه السباقات بفتح "
2845 "واصف ملف للدليل المستهدف، ثم تحديد واصف الملف هذا كوسيط I<dirfd> لـ (مثلاً) "
2846 "B<fstatat>(2) و B<openat>(). لاستخدام واصف الملف I<dirfd> فوائد أخرى أيضًا:"
2847
2848 #. type: Plain text
2849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2851 msgid ""
2852 "the file descriptor is a stable reference to the directory, even if the "
2853 "directory is renamed; and"
2854 msgstr "واصف الملف هو مرجع مستقر للدليل، حتى لو أُعيدت تسمية الدليل؛ و"
2855
2856 #. type: Plain text
2857 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2858 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2859 msgid ""
2860 "the open file descriptor prevents the underlying filesystem from being "
2861 "dismounted, just as when a process has a current working directory on a "
2862 "filesystem."
2863 msgstr ""
2864 "واصف الملف المفتوح يمنع نظام ملفات الأساسي من أن يُفصل، تماماً كما لو كان "
2865 "للعملية دليل عمل حالي على نظام ملفات."
2866
2867 #. type: Plain text
2868 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2869 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2870 msgid ""
2871 "Second, B<openat>() allows the implementation of a per-thread \"current "
2872 "working directory\", via file descriptor(s) maintained by the application. "
2873 "(This functionality can also be obtained by tricks based on the use of I</"
2874 "proc/self/fd/>dirfd, but less efficiently.)"
2875 msgstr ""
2876 "ثانياً، تسمح B<openat>() بتنفيذ \"دليل عمل حالي\" لكل خيط، عبر واصف(ات) ملفات "
2877 "يصونها التطبيق. (يمكن أيضًا الحصول على هذه الوظيفة من خلال حيل تعتمد على "
2878 "استخدام I</proc/self/fd/>dirfd، ولكن بكفاءة أقل)."
2879
2880 #. type: Plain text
2881 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2882 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2883 msgid ""
2884 "The I<dirfd> argument for these APIs can be obtained by using B<open>() or "
2885 "B<openat>() to open a directory (with either the B<O_RDONLY> or the "
2886 "B<O_PATH> flag). Alternatively, such a file descriptor can be obtained by "
2887 "applying B<dirfd>(3) to a directory stream created using B<opendir>(3)."
2888 msgstr ""
2889 "يمكن الحصول على الوسيط I<dirfd> لواجهات برمجة التطبيقات هذه باستخدام "
2890 "B<open>() أو B<openat>() لفتح دليل (بإحدى الرايتين B<O_RDONLY> أو "
2891 "B<O_PATH>). بدلاً من ذلك، يمكن الحصول على واصف ملف كهذا بتطبيق B<dirfd>(3) "
2892 "على دفق دليل أُنشئ باستخدام B<opendir>(3)."
2893
2894 #. type: Plain text
2895 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2896 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2897 msgid ""
2898 "When these APIs are given a I<dirfd> argument of B<AT_FDCWD> or the "
2899 "specified pathname is absolute, then they handle their pathname argument in "
2900 "the same way as the corresponding conventional APIs. However, in this case, "
2901 "several of the APIs have a I<flags> argument that provides access to "
2902 "functionality that is not available with the corresponding conventional APIs."
2903 msgstr ""
2904 "عندما تُعطى واجهات برمجة التطبيقات هذه الوسيط I<dirfd> كـ B<AT_FDCWD> أو يكون "
2905 "المسار المحدد مطلقاً، فإنها تتعامل مع وسيط المسار بنفس الطريقة التي تتعامل "
2906 "بها واجهات برمجة التطبيقات التقليدية المقابلة. ومع ذلك، في هذه الحالة، تملك "
2907 "العديد من واجهات برمجة التطبيقات وسيط I<flags> يوفر وصولاً إلى وظائف غير "
2908 "متوفرة في الواجهات التقليدية المقابلة."
2909
2910 #. type: SS
2911 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2912 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2913 #, no-wrap
2914 msgid "O_DIRECT"
2915 msgstr "O_DIRECT"
2916
2917 #. type: Plain text
2918 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2919 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2920 msgid ""
2921 "The B<O_DIRECT> flag may impose alignment restrictions on the length and "
2922 "address of user-space buffers and the file offset of I/Os. In Linux "
2923 "alignment restrictions vary by filesystem and kernel version and might be "
2924 "absent entirely. The handling of misaligned B<O_DIRECT> I/Os also varies; "
2925 "they can either fail with B<EINVAL> or fall back to buffered I/O."
2926 msgstr ""
2927 "قد تفرض الراية B<O_DIRECT> قيود محاذاة على طول وعناوين مخازن مساحة المستخدم "
2928 "وإزاحة الملف للمدخلات/المخرجات. في لينكس تختلف قيود المحاذاة حسب نظام ملفات "
2929 "وإصدار B<نواة> وقد تغيب تماماً. يختلف التعامل مع المدخلات/المخرجات "
2930 "B<O_DIRECT> غير المحاذية أيضًا؛ فيمكن أن تفشل مع B<EINVAL> أو تتراجع إلى "
2931 "المدخلات/المخرجات المخزنة (buffered)."
2932
2933 #. type: Plain text
2934 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2935 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2936 msgid ""
2937 "Since Linux 6.1, B<O_DIRECT> support and alignment restrictions for a file "
2938 "can be queried using B<statx>(2), using the B<STATX_DIOALIGN> flag. Support "
2939 "for B<STATX_DIOALIGN> varies by filesystem; see B<statx>(2)."
2940 msgstr ""
2941 "منذ لينكس 6.1، يمكن الاستعلام عن دعم B<O_DIRECT> وقيود المحاذاة لملف "
2942 "باستخدام B<statx>(2)، وباستخدام الراية B<STATX_DIOALIGN>. يختلف دعم "
2943 "B<STATX_DIOALIGN> حسب نظام ملفات؛ انظر B<statx>(2)."
2944
2945 #. type: Plain text
2946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2948 msgid ""
2949 "Some filesystems provide their own interfaces for querying B<O_DIRECT> "
2950 "alignment restrictions, for example the B<XFS_IOC_DIOINFO> operation in "
2951 "B<xfsctl>(3). B<STATX_DIOALIGN> should be used instead when it is available."
2952 msgstr ""
2953 "توفر بعض أنظمة الملفات واجهات خاصة بها للاستعلام عن قيود محاذاة B<O_DIRECT>، "
2954 "على سبيل المثال عملية B<XFS_IOC_DIOINFO> في B<xfsctl>(3). يجب استخدام "
2955 "B<STATX_DIOALIGN> بدلاً منها عندما تكون متاحة."
2956
2957 #. type: Plain text
2958 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2959 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2960 msgid ""
2961 "If none of the above is available, then direct I/O support and alignment "
2962 "restrictions can only be assumed from known characteristics of the "
2963 "filesystem, the individual file, the underlying storage device(s), and the "
2964 "kernel version. In Linux 2.4, most filesystems based on block devices "
2965 "require that the file offset and the length and memory address of all I/O "
2966 "segments be multiples of the filesystem block size (typically 4096 bytes). "
2967 "In Linux 2.6.0, this was relaxed to the logical block size of the block "
2968 "device (typically 512 bytes). A block device's logical block size can be "
2969 "determined using the B<ioctl>(2) B<BLKSSZGET> operation or from the shell "
2970 "using the command:"
2971 msgstr ""
2972 "إذا لم يتوفر أي مما سبق، فلا يمكن افتراض دعم المدخلات/المخرجات المباشرة "
2973 "وقيود المحاذاة إلا من الخصائص المعروفة لـ نظام ملفات، والملف الفردي، وجهاز "
2974 "(أجهزة) التخزين الأساسية، وإصدار النواة. في لينكس 2.4، تتطلب معظم أنظمة "
2975 "الملفات القائمة على أجهزة كتلية أن تكون إزاحة الملف وطول وعنوان الذاكرة "
2976 "لجميع أجزاء المدخلات/المخرجات مضاعفات لحجم كتلة نظام ملفات (عادة 4096 بايت). "
2977 "في لينكس 2.6.0، خُفف هذا إلى حجم الكتلة المنطقية لـ B<جهاز كتلي> (عادة 512 "
2978 "بايت). يمكن تحديد حجم الكتلة المنطقية لـ B<جهاز كتلي> باستخدام عملية "
2979 "B<ioctl>(2) B<BLKSSZGET> أو من B<صدفة> باستخدام الأمر:"
2980
2981 #. type: Plain text
2982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2983 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2984 #, no-wrap
2985 msgid "blockdev --getss\n"
2986 msgstr "blockdev --getss\n"
2987
2988 #. type: Plain text
2989 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2990 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2991 msgid ""
2992 "B<O_DIRECT> I/Os should never be run concurrently with the B<fork>(2) "
2993 "system call, if the memory buffer is a private mapping (i.e., any mapping "
2994 "created with the B<mmap>(2) B<MAP_PRIVATE> flag; this includes memory "
2995 "allocated on the heap and statically allocated buffers). Any such I/Os, "
2996 "whether submitted via an asynchronous I/O interface or from another thread "
2997 "in the process, should be completed before B<fork>(2) is called. Failure "
2998 "to do so can result in data corruption and undefined behavior in parent and "
2999 "child processes. This restriction does not apply when the memory buffer for "
3000 "the B<O_DIRECT> I/Os was created using B<shmat>(2) or B<mmap>(2) with the "
3001 "B<MAP_SHARED> flag. Nor does this restriction apply when the memory buffer "
3002 "has been advised as B<MADV_DONTFORK> with B<madvise>(2), ensuring that it "
3003 "will not be available to the child after B<fork>(2)."
3004 msgstr ""
3005 "يجب عدم تشغيل مدخلات/مخرجات B<O_DIRECT> بالتزامن مع استدعاء النظام "
3006 "B<fork>(2)، إذا كان مخزن الذاكرة تخطيطاً خاصاً (أي أي تخطيط أُنشئ باستخدام راية "
3007 "B<mmap>(2) B<MAP_PRIVATE>؛ وهذا يشمل الذاكرة المخصصة على الكومة والمخازن "
3008 "المخصصة سكونياً). أي مدخلات/مخرجات كهذه، سواء أُرسلت عبر واجهة مدخلات/مخرجات "
3009 "غير متزامنة أو من خيط آخر في العملية، يجب أن تكتمل قبل استدعاء B<fork>(2). "
3010 "الفشل في القيام بذلك قد يؤدي إلى تلف البيانات وسلوك غير محدد في العمليات "
3011 "الوالدة والابنة. لا ينطبق هذا القيد عندما يكون مخزن الذاكرة لـ مدخلات/مخرجات "
3012 "B<O_DIRECT> قد أُنشئ باستخدام B<shmat>(2) أو B<mmap>(2) مع راية "
3013 "B<MAP_SHARED>. ولا ينطبق هذا القيد أيضًا عندما يُنصح مخزن الذاكرة كـ "
3014 "B<MADV_DONTFORK> باستخدام B<madvise>(2)، مما يضمن عدم توفره للابن بعد "
3015 "B<fork>(2)."
3016
3017 #. type: Plain text
3018 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3019 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3020 msgid ""
3021 "The B<O_DIRECT> flag was introduced in SGI IRIX, where it has alignment "
3022 "restrictions similar to those of Linux 2.4. IRIX has also a B<fcntl>(2) "
3023 "call to query appropriate alignments, and sizes. FreeBSD 4.x introduced a "
3024 "flag of the same name, but without alignment restrictions."
3025 msgstr ""
3026 "قُدمت الراية B<O_DIRECT> في SGI IRIX، حيث تملك قيود محاذاة مماثلة لقيود لينكس "
3027 "2.4. تملك IRIX أيضًا استدعاء B<fcntl>(2) للاستعلام عن المحاذات والأحجام "
3028 "المناسبة. قدم FreeBSD 4.x راية بنفس الاسم، ولكن بدون قيود محاذاة."
3029
3030 #. type: Plain text
3031 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3032 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3033 msgid ""
3034 "B<O_DIRECT> support was added in Linux 2.4.10. Older Linux kernels simply "
3035 "ignore this flag. Some filesystems may not implement the flag, in which "
3036 "case B<open>() fails with the error B<EINVAL> if it is used."
3037 msgstr ""
3038 "أُضيف دعم B<O_DIRECT> في لينكس 2.4.10. نوى لينكس الأقدم تتجاهل هذه الراية "
3039 "ببساطة. قد لا تنفذ بعض أنظمة الملفات هذه الراية، وفي هذه الحالة يفشل "
3040 "B<open>() مع الخطأ B<EINVAL> إذا استُخدمت."
3041
3042 #. type: Plain text
3043 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3044 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3045 msgid ""
3046 "Applications should avoid mixing B<O_DIRECT> and normal I/O to the same "
3047 "file, and especially to overlapping byte regions in the same file. Even "
3048 "when the filesystem correctly handles the coherency issues in this "
3049 "situation, overall I/O throughput is likely to be slower than using either "
3050 "mode alone. Likewise, applications should avoid mixing B<mmap>(2) of files "
3051 "with direct I/O to the same files."
3052 msgstr ""
3053 "يجب على التطبيقات تجنب خلط B<O_DIRECT> والمدخلات/المخرجات العادية لنفس "
3054 "الملف، وخاصة لمناطق البايتات المتداخلة في نفس الملف. حتى عندما يتعامل نظام "
3055 "ملفات بشكل صحيح مع قضايا التماسك في هذه الحالة، فمن المرجح أن تكون الإنتاجية "
3056 "الإجمالية للمدخلات/المخرجات أبطأ من استخدام أي من الوضعين وحده. وبالمثل، يجب "
3057 "على التطبيقات تجنب خلط B<mmap>(2) للملفات مع المدخلات/المخرجات المباشرة لنفس "
3058 "الملفات."
3059
3060 #. type: Plain text
3061 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3062 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3063 msgid ""
3064 "The behavior of B<O_DIRECT> with NFS will differ from local filesystems. "
3065 "Older kernels, or kernels configured in certain ways, may not support this "
3066 "combination. The NFS protocol does not support passing the flag to the "
3067 "server, so B<O_DIRECT> I/O will bypass the page cache only on the client; "
3068 "the server may still cache the I/O. The client asks the server to make the "
3069 "I/O synchronous to preserve the synchronous semantics of B<O_DIRECT>. Some "
3070 "servers will perform poorly under these circumstances, especially if the I/O "
3071 "size is small. Some servers may also be configured to lie to clients about "
3072 "the I/O having reached stable storage; this will avoid the performance "
3073 "penalty at some risk to data integrity in the event of server power "
3074 "failure. The Linux NFS client places no alignment restrictions on "
3075 "B<O_DIRECT> I/O."
3076 msgstr ""
3077 "سوف يختلف سلوك B<O_DIRECT> مع NFS عن أنظمة الملفات المحلية. قد لا تدعم النوى "
3078 "الأقدم، أو النوى التي ضُبطت بطرق معينة، هذا المزيج. لا يدعم بروتوكول NFS "
3079 "تمرير الراية إلى الخادم، لذا ستتجاوز مدخلات/مخرجات B<O_DIRECT> B<خبيئة> "
3080 "الصفحة في العميل فقط؛ وقد يظل الخادم يخبئ المدخلات/المخرجات. يطلب العميل من "
3081 "الخادم جعل المدخلات/المخرجات متزامنة للحفاظ على الدلالات المتزامنة لـ "
3082 "B<O_DIRECT>. ستعمل بعض الخوادم بشكل سيئ في هذه الظروف، خاصة إذا كان حجم "
3083 "المدخلات/المخرجات صغيراً. قد تُضبط بعض الخوادم أيضًا لتكذب على العملاء بشأن "
3084 "وصول المدخلات/المخرجات إلى وحدة التخزين المستقرة؛ سيؤدي ذلك إلى تجنب عقوبة "
3085 "الأداء مع وجود بعض المخاطر على سلامة البيانات في حالة انقطاع طاقة الخادم. لا "
3086 "يضع عميل Linux NFS أي قيود محاذاة على مدخلات/مخرجات B<O_DIRECT>."
3087
3088 #. type: Plain text
3089 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3090 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3091 msgid ""
3092 "In summary, B<O_DIRECT> is a potentially powerful tool that should be used "
3093 "with caution. It is recommended that applications treat use of B<O_DIRECT> "
3094 "as a performance option which is disabled by default."
3095 msgstr ""
3096 "باختصار، B<O_DIRECT> هي أداة قوية محتملة يجب استخدامها بحذر. يوصى بأن تعامل "
3097 "التطبيقات استخدام B<O_DIRECT> كخيار أداء يكون معطلاً بشكل B<مبدئي>."
3098
3099 #. type: SH
3100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3102 #, no-wrap
3103 msgid "BUGS"
3104 msgstr "العلل"
3105
3106 #. FIXME . Check bugzilla report on open(O_ASYNC)
3107 #. See http://bugzilla.kernel.org/show_bug.cgi?id=5993
3108 #. type: Plain text
3109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3111 msgid ""
3112 "Currently, it is not possible to enable signal-driven I/O by specifying "
3113 "B<O_ASYNC> when calling B<open>(); use B<fcntl>(2) to enable this flag."
3114 msgstr ""
3115 "حالياً، لا يمكن تمكين المدخلات/المخرجات المدفوعة بالإشارة عبر تحديد "
3116 "B<O_ASYNC> عند استدعاء B<open>()؛ استخدم B<fcntl>(2) لتمكين هذه الراية."
3117
3118 #. type: Plain text
3119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3121 msgid ""
3122 "One must check for two different error codes, B<EISDIR> and B<ENOENT>, when "
3123 "trying to determine whether the kernel supports B<O_TMPFILE> functionality."
3124 msgstr ""
3125 "يجب التحقق من رمزي خطأ مختلفين، B<EISDIR> و B<ENOENT>، عند محاولة تحديد ما "
3126 "إذا كانت النواة تدعم وظيفة B<O_TMPFILE>."
3127
3128 #. type: SH
3129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3131 #, no-wrap
3132 msgid "SEE ALSO"
3133 msgstr "انظر أيضًا"
3134
3135 #. type: Plain text
3136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3138 msgid ""
3139 "B<chmod>(2), B<chown>(2), B<close>(2), B<dup>(2), B<fcntl>(2), B<link>(2), "
3140 "B<lseek>(2), B<mknod>(2), B<mmap>(2), B<mount>(2), B<open_by_handle_at>(2), "
3141 "B<openat2>(2), B<read>(2), B<socket>(2), B<stat>(2), B<umask>(2), "
3142 "B<unlink>(2), B<write>(2), B<fopen>(3), B<acl>(5), B<fifo>(7), B<inode>(7), "
3143 "B<path_resolution>(7), B<symlink>(7)"
3144 msgstr ""
3145 "B<chmod>(2), B<chown>(2), B<close>(2), B<dup>(2), B<fcntl>(2), B<link>(2), "
3146 "B<lseek>(2), B<mknod>(2), B<mmap>(2), B<mount>(2), B<open_by_handle_at>(2), "
3147 "B<openat2>(2), B<read>(2), B<socket>(2), B<stat>(2), B<umask>(2), "
3148 "B<unlink>(2), B<write>(2), B<fopen>(3), B<acl>(5), B<fifo>(7), B<inode>(7), "
3149 "B<path_resolution>(7), B<symlink>(7)"
3150
3151 #. type: TH
3152 #: debian-trixie
3153 #, no-wrap
3154 msgid "2024-05-02"
3155 msgstr "2 مايو 2024"
3156
3157 #. type: TH
3158 #: debian-trixie
3159 #, no-wrap
3160 msgid "Linux man-pages 6.9.1"
3161 msgstr "صفحات دليل لينكس 6.9.1"
3162
3163 #. type: Plain text
3164 #: debian-trixie
3165 msgid "Standard C library (I<libc>, I<-lc>)"
3166 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
3167
3168 #. type: Plain text
3169 #: debian-trixie fedora-44 fedora-rawhide
3170 #, no-wrap
3171 msgid ""
3172 "B<int open(const char *>I<pathname>B<, int >I<flags>B<, ...>\n"
3173 "B< >/*B< mode_t >I<mode>B< >*/B< );>\n"
3174 msgstr ""
3175 "B<int open(const char *>I<pathname>B<, int >I<flags>B<, ...>\n"
3176 "B< >/*B< mode_t >I<mode>B< >*/B< );>\n"
3177
3178 #. type: Plain text
3179 #: debian-trixie fedora-44 fedora-rawhide
3180 #, no-wrap
3181 msgid "B<int creat(const char *>I<pathname>B<, mode_t >I<mode>B<);>\n"
3182 msgstr "B<int creat(const char *>I<pathname>B<, mode_t >I<mode>B<);>\n"
3183
3184 #. type: Plain text
3185 #: debian-trixie fedora-44 fedora-rawhide
3186 #, no-wrap
3187 msgid ""
3188 "B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<, ...>\n"
3189 "B< >/*B< mode_t >I<mode>B< >*/B< );>\n"
3190 msgstr ""
3191 "B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<, ...>\n"
3192 "B< >/*B< mode_t >I<mode>B< >*/B< );>\n"
3193
3194 #. type: Plain text
3195 #: debian-trixie fedora-44 fedora-rawhide
3196 #, no-wrap
3197 msgid ""
3198 "/* Documented separately, in B<openat2>(2):\n"
3199 "\\& */\n"
3200 "B<int openat2(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
3201 "B< const struct open_how *>I<how>B<, size_t >I<size>B<);>\n"
3202 msgstr ""
3203 "/* موثق بشكل منفصل، في B<openat2>(2):\n"
3204 "\\& */\n"
3205 "B<int openat2(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
3206 "B< const struct open_how *>I<how>B<, size_t >I<size>B<);>\n"
3207
3208 #. type: Plain text
3209 #: debian-trixie fedora-44 fedora-rawhide
3210 msgid ""
3211 "The B<open>() system call opens the file specified by I<pathname>. If the "
3212 "specified file does not exist, it may optionally (if B<O_CREAT> is specified "
3213 "in I<flags>) be created by B<open>()."
3214 msgstr ""
3215 "يفتح استدعاء النظام B<open>() الملف المحدد بواسطة I<pathname>. إذا كان الملف "
3216 "المحدد غير موجود، فمن الممكن اختيارياً (إذا حُدد B<O_CREAT> في I<flags>) أن "
3217 "يُنشأ بواسطة B<open>()."
3218
3219 #. type: Plain text
3220 #: debian-trixie fedora-44 fedora-rawhide
3221 msgid ""
3222 "A call to B<open>() creates a new I<open file description>, an entry in the "
3223 "system-wide table of open files. The open file description records the file "
3224 "offset and the file status flags (see below). A file descriptor is a "
3225 "reference to an open file description; this reference is unaffected if "
3226 "I<pathname> is subsequently removed or modified to refer to a different "
3227 "file. For further details on open file descriptions, see NOTES."
3228 msgstr ""
3229 "يُنشئ استدعاء B<open>() I<وصفاً لملف مفتوح> جديداً، وهو مدخل في جدول الملفات "
3230 "المفتوحة على مستوى النظام. يسجل وصف الملف المفتوح إزاحة الملف وأعلام حالة "
3231 "الملف (انظر أدناه). واصف الملف هو مرجع لوصف ملف مفتوح؛ ولا يتأثر هذا المرجع "
3232 "إذا حُذف I<pathname> لاحقًا أو عُدّل ليشير إلى ملف مختلف. لمزيد من التفاصيل حول "
3233 "أوصاف الملفات المفتوحة، انظر الملاحظات (NOTES)."
3234
3235 #. type: Plain text
3236 #: debian-trixie fedora-44 fedora-rawhide
3237 msgid "If I<pathname> does not exist, create it as a regular file."
3238 msgstr "إذا كان I<pathname> غير موجود، فأنشئه كملف عادي."
3239
3240 #. But see the following and its replies:
3241 #. http://marc.theaimsgroup.com/?t=112748702800001&r=1&w=2
3242 #. [PATCH] open: O_DIRECTORY and O_CREAT together should fail
3243 #. O_DIRECTORY | O_CREAT causes O_DIRECTORY to be ignored.
3244 #. type: Plain text
3245 #: debian-trixie fedora-44 fedora-rawhide
3246 msgid ""
3247 "If I<pathname> is not a directory, cause the open to fail. This flag was "
3248 "added in Linux 2.1.126, to avoid denial-of-service problems if "
3249 "B<opendir>(3) is called on a FIFO or tape device."
3250 msgstr ""
3251 "إذا لم يكن I<pathname> دليلاً، فاجعل الفتح يفشل. أُضيف هذا العلم في لينكس "
3252 "2.1.126، لتجنب مشاكل حجب الخدمة إذا استُدعي B<opendir>(3) على جهاز FIFO أو "
3253 "جهاز شريط."
3254
3255 #. type: Plain text
3256 #: debian-trixie
3257 msgid ""
3258 "By the time B<write>(2) (and similar) return, the output data has been "
3259 "transferred to the underlying hardware, along with any file metadata that "
3260 "would be required to retrieve that data (i.e., as though each B<write>(2) "
3261 "was followed by a call to B<fdatasync>(2)). I<See NOTES below>."
3262 msgstr ""
3263 "بحلول الوقت الذي يعود فيه B<write>(2) (وما شابهه)، تكون بيانات المخرج قد "
3264 "نُقلت إلى العتاد الأساسي، جنبًا إلى جنب مع أي بيانات وصفية للملف تكون مطلوبة "
3265 "لاسترداد تلك البيانات (أي كما لو أن كل B<write>(2) تبعه استدعاء لـ "
3266 "B<fdatasync>(2)). I<انظر الملاحظات أدناه>."
3267
3268 #. type: Plain text
3269 #: debian-trixie fedora-44 fedora-rawhide
3270 msgid ""
3271 "Ensure that this call creates the file: if this flag is specified in "
3272 "conjunction with B<O_CREAT>, and I<pathname> already exists, then B<open>() "
3273 "fails with the error B<EEXIST>."
3274 msgstr ""
3275 "تأكد من أن هذا الاستدعاء يُنشئ الملف: إذا حُدد هذا العلم بالاقتران مع "
3276 "B<O_CREAT>، وكان I<pathname> موجوداً بالفعل، فإن B<open>() يفشل مع الخطأ "
3277 "B<EEXIST>."
3278
3279 #. POSIX.1-2001 explicitly requires this behavior.
3280 #. type: Plain text
3281 #: debian-trixie fedora-44 fedora-rawhide
3282 msgid ""
3283 "When these two flags are specified, symbolic links are not followed: if "
3284 "I<pathname> is a symbolic link, then B<open>() fails regardless of where "
3285 "the symbolic link points."
3286 msgstr ""
3287 "عند تحديد هذين العلمين، لا تُتّبع الروابط الرمزية: إذا كان I<pathname> رابطاً "
3288 "رمزياً، فإن B<open>() يفشل بغض النظر عن الوجهة التي يشير إليها الرابط الرمزي."
3289
3290 #. type: Plain text
3291 #: debian-trixie fedora-44 fedora-rawhide
3292 msgid ""
3293 "In general, the behavior of B<O_EXCL> is undefined if it is used without "
3294 "B<O_CREAT>. There is one exception: on Linux 2.6 and later, B<O_EXCL> can "
3295 "be used without B<O_CREAT> if I<pathname> refers to a block device. If the "
3296 "block device is in use by the system (e.g., mounted), B<open>() fails with "
3297 "the error B<EBUSY>."
3298 msgstr ""
3299 "بشكل عام، يكون سلوك B<O_EXCL> غير محدد إذا استُخدم بدون B<O_CREAT>. هناك "
3300 "استثناء واحد: في لينكس 2.6 وما بعده، يمكن استخدام B<O_EXCL> بدون B<O_CREAT> "
3301 "إذا كان I<pathname> يشير إلى جهاز كتلي. إذا كان الجهاز الكتلي قيد الاستخدام "
3302 "من قبل النظام (على سبيل المثال، موصول)، فإن B<open>() يفشل مع الخطأ B<EBUSY>."
3303
3304 #. type: Plain text
3305 #: debian-trixie fedora-44 fedora-rawhide
3306 msgid ""
3307 "If I<pathname> refers to a terminal device\\[em]see B<tty>(4)\\[em]it will "
3308 "not become the process's controlling terminal even if the process does not "
3309 "have one."
3310 msgstr ""
3311 "إذا كان I<pathname> يشير إلى جهاز طرفية\\[em]انظر B<tty>(4)\\[em]فلن يصبح "
3312 "الطرفية المتحكمة في العملية حتى لو لم تكن العملية تملك واحدة."
3313
3314 #. type: Plain text
3315 #: debian-trixie fedora-44 fedora-rawhide
3316 msgid ""
3317 "If the trailing component (i.e., basename) of I<pathname> is a symbolic "
3318 "link, then the open fails, with the error B<ELOOP>. Symbolic links in "
3319 "earlier components of the pathname will still be followed. (Note that the "
3320 "B<ELOOP> error that can occur in this case is indistinguishable from the "
3321 "case where an open fails because there are too many symbolic links found "
3322 "while resolving components in the prefix part of the pathname.)"
3323 msgstr ""
3324 "إذا كان المكون الأخير (أي basename) في I<pathname> عبارة عن رابط رمزي، فإن "
3325 "الفتح يفشل مع الخطأ B<ELOOP>. ستظل الروابط الرمزية في المكونات السابقة لمسار "
3326 "الملف تُتّبع. (لاحظ أن خطأ B<ELOOP> الذي يمكن أن يحدث في هذه الحالة لا يمكن "
3327 "تمييزه عن الحالة التي يفشل فيها الفتح بسبب العثور على عدد كبير جداً من "
3328 "الروابط الرمزية أثناء حل المكونات في جزء البادئة من مسار الملف)."
3329
3330 #. type: Plain text
3331 #: debian-trixie fedora-44 fedora-rawhide
3332 msgid ""
3333 "If I<pathname> is a symbolic link and the B<O_NOFOLLOW> flag is also "
3334 "specified, then the call returns a file descriptor referring to the symbolic "
3335 "link. This file descriptor can be used as the I<dirfd> argument in calls to "
3336 "B<fchownat>(2), B<fstatat>(2), B<linkat>(2), and B<readlinkat>(2) with an "
3337 "empty pathname to have the calls operate on the symbolic link."
3338 msgstr ""
3339 "إذا كان I<pathname> رابطاً رمزياً وحُدد أيضًا العلم B<O_NOFOLLOW>، فإن الاستدعاء "
3340 "يعيد واصف ملف يشير إلى الرابط الرمزي. يمكن استخدام واصف الملف هذا كمعامل "
3341 "I<dirfd> في استدعاءات B<fchownat>(2)، و B<fstatat>(2)، و B<linkat>(2)، و "
3342 "B<readlinkat>(2) مع مسار ملف فارغ لجعل الاستدعاءات تعمل على الرابط الرمزي."
3343
3344 #. type: Plain text
3345 #: debian-trixie fedora-44 fedora-rawhide
3346 msgid ""
3347 "If I<pathname> refers to an automount point that has not yet been triggered, "
3348 "so no other filesystem is mounted on it, then the call returns a file "
3349 "descriptor referring to the automount directory without triggering a mount. "
3350 "B<fstatfs>(2) can then be used to determine if it is, in fact, an "
3351 "untriggered automount point (B<.f_type == AUTOFS_SUPER_MAGIC>)."
3352 msgstr ""
3353 "إذا كان I<pathname> يشير إلى نقطة وصل آلي لم تُحفز بعد، بحيث لا يوجد نظام "
3354 "ملفات آخر موصول عليها، فإن الاستدعاء يعيد واصف ملف يشير إلى دليل الوصل الآلي "
3355 "دون تحفيز عملية الوصل. يمكن بعد ذلك استخدام B<fstatfs>(2) لتحديد ما إذا "
3356 "كانت، في الواقع، نقطة وصل آلي غير محفزة (B<.f_type == AUTOFS_SUPER_MAGIC>)."
3357
3358 #. type: Plain text
3359 #: debian-trixie
3360 msgid ""
3361 "By the time B<write>(2) (or similar) returns, the output data and "
3362 "associated file metadata have been transferred to the underlying hardware (i."
3363 "e., as though each B<write>(2) was followed by a call to B<fsync>(2)). "
3364 "I<See NOTES below>."
3365 msgstr ""
3366 "بحلول الوقت الذي يعود فيه B<write>(2) (أو ما شابهه)، تكون بيانات المخرج "
3367 "والبيانات الوصفية المرتبطة بالملف قد نُقلت إلى العتاد الأساسي (أو كما لو أن "
3368 "كل B<write>(2) تبعه استدعاء لـ B<fsync>(2)). I<انظر الملاحظات أدناه>."
3369
3370 #. commit 60545d0d4610b02e55f65d141c95b18ccf855b6e
3371 #. commit f4e0c30c191f87851c4a53454abb55ee276f4a7e
3372 #. commit bb458c644a59dbba3a1fe59b27106c5e68e1c4bd
3373 #. type: Plain text
3374 #: debian-trixie fedora-44 fedora-rawhide
3375 msgid ""
3376 "Create an unnamed temporary regular file. The I<pathname> argument "
3377 "specifies a directory; an unnamed inode will be created in that directory's "
3378 "filesystem. Anything written to the resulting file will be lost when the "
3379 "last file descriptor is closed, unless the file is given a name."
3380 msgstr ""
3381 "أنشئ ملفاً عادياً مؤقتاً غير مسمى. يحدد معامل I<pathname> دليلاً؛ حيث سيُنشأ فهرس "
3382 "(inode) غير مسمى في نظام ملفات ذلك الدليل. كل ما يُكتب في الملف الناتج سيُفقد "
3383 "عند إغلاق آخر واصف ملف، ما لم يُعطَ الملف اسماً."
3384
3385 #. type: Plain text
3386 #: debian-trixie fedora-44 fedora-rawhide
3387 #, no-wrap
3388 msgid ""
3389 "char path[PATH_MAX];\n"
3390 "fd = open(\"/path/to/dir\", O_TMPFILE | O_RDWR,\n"
3391 " S_IRUSR | S_IWUSR);\n"
3392 "\\&\n"
3393 "/* File I/O on \\[aq]fd\\[aq]... */\n"
3394 "\\&\n"
3395 "linkat(fd, \"\", AT_FDCWD, \"/path/for/file\", AT_EMPTY_PATH);\n"
3396 "\\&\n"
3397 "/* If the caller doesn\\[aq]t have the CAP_DAC_READ_SEARCH\n"
3398 " capability (needed to use AT_EMPTY_PATH with linkat(2)),\n"
3399 " and there is a proc(5) filesystem mounted, then the\n"
3400 " linkat(2) call above can be replaced with:\n"
3401 "\\&\n"
3402 "snprintf(path, PATH_MAX, \"/proc/self/fd/%d\", fd);\n"
3403 "linkat(AT_FDCWD, path, AT_FDCWD, \"/path/for/file\",\n"
3404 " AT_SYMLINK_FOLLOW);\n"
3405 "*/\n"
3406 msgstr ""
3407 "char path[PATH_MAX];\n"
3408 "fd = open(\"/path/to/dir\", O_TMPFILE | O_RDWR,\n"
3409 " S_IRUSR | S_IWUSR);\n"
3410 "\\&\n"
3411 "/* مدخلات ومخرجات ملف على \\[aq]fd\\[aq]... */\n"
3412 "\\&\n"
3413 "linkat(fd, \"\", AT_FDCWD, \"/path/for/file\", AT_EMPTY_PATH);\n"
3414 "\\&\n"
3415 "/* إذا كان المستدعِي لا يملك قدرة CAP_DAC_READ_SEARCH\n"
3416 " (المطلوبة لاستخدام AT_EMPTY_PATH مع linkat(2))،\n"
3417 " وكان هناك نظام ملفات proc(5) موصول، فيمكن استبدال\n"
3418 " استدعاء linkat(2) أعلاه بـ:\n"
3419 "\\&\n"
3420 "snprintf(path, PATH_MAX, \"/proc/self/fd/%d\", fd);\n"
3421 "linkat(AT_FDCWD, path, AT_FDCWD, \"/path/for/file\",\n"
3422 " AT_SYMLINK_FOLLOW);\n"
3423 "*/\n"
3424
3425 #. type: Plain text
3426 #: debian-trixie fedora-44 fedora-rawhide
3427 msgid ""
3428 "The I<dirfd> argument is used in conjunction with the I<pathname> argument "
3429 "as follows:"
3430 msgstr "يُستخدم معامل I<dirfd> بالاقتران مع معامل I<pathname> على النحو التالي:"
3431
3432 #. type: Plain text
3433 #: debian-trixie fedora-44 fedora-rawhide
3434 msgid ""
3435 "If the pathname given in I<pathname> is absolute, then I<dirfd> is ignored."
3436 msgstr "إذا كان مسار الملف المعطى في I<pathname> مطلقاً، فسيُتجاهَل I<dirfd>."
3437
3438 #. type: Plain text
3439 #: debian-trixie fedora-44 fedora-rawhide
3440 msgid ""
3441 "If the pathname given in I<pathname> is relative and I<dirfd> is the special "
3442 "value B<AT_FDCWD>, then I<pathname> is interpreted relative to the current "
3443 "working directory of the calling process (like B<open>())."
3444 msgstr ""
3445 "إذا كان مسار الملف المعطى في I<pathname> نسبياً وكان I<dirfd> هو القيمة "
3446 "الخاصة B<AT_FDCWD>، فسيُفسّر I<pathname> بالنسبة إلى دليل العمل الحالي للعملية "
3447 "المستدعِية (مثل B<open>())."
3448
3449 #. type: Plain text
3450 #: debian-trixie fedora-44 fedora-rawhide
3451 msgid ""
3452 "If the pathname given in I<pathname> is relative, then it is interpreted "
3453 "relative to the directory referred to by the file descriptor I<dirfd> "
3454 "(rather than relative to the current working directory of the calling "
3455 "process, as is done by B<open>() for a relative pathname). In this case, "
3456 "I<dirfd> must be a directory that was opened for reading (B<O_RDONLY>) or "
3457 "using the B<O_PATH> flag."
3458 msgstr ""
3459 "إذا كان مسار الملف المعطى في I<pathname> نسبياً، فسيُفسّر بالنسبة إلى الدليل "
3460 "المشار إليه بواسطة واصف الملف I<dirfd> (بدلاً من النسبة إلى دليل العمل الحالي "
3461 "للعملية المستدعِية، كما يفعل B<open>() لمسار ملف نسبي). في هذه الحالة، يجب أن "
3462 "يكون I<dirfd> دليلاً فُتح للقراءة (B<O_RDONLY>) أو باستخدام علم B<O_PATH>."
3463
3464 #. type: Plain text
3465 #: debian-trixie fedora-44 fedora-rawhide
3466 msgid ""
3467 "If the pathname given in I<pathname> is relative, and I<dirfd> is not a "
3468 "valid file descriptor, an error (B<EBADF>) results. (Specifying an invalid "
3469 "file descriptor number in I<dirfd> can be used as a means to ensure that "
3470 "I<pathname> is absolute.)"
3471 msgstr ""
3472 "إذا كان مسار الملف المعطى في I<pathname> نسبياً، ولم يكن I<dirfd> واصف ملف "
3473 "صالح، فسينتج خطأ (B<EBADF>). (يمكن استخدام تحديد رقم واصف ملف غير صالح في "
3474 "I<dirfd> كوسيلة للتأكد من أن I<pathname> مطلق)."
3475
3476 #. type: Plain text
3477 #: debian-trixie fedora-44 fedora-rawhide
3478 msgid ""
3479 "The requested access to the file is not allowed, or search permission is "
3480 "denied for one of the directories in the path prefix of I<pathname>, or the "
3481 "file did not exist yet and write access to the parent directory is not "
3482 "allowed. (See also B<path_resolution>(7).)"
3483 msgstr ""
3484 "الوصول المطلوب للملف غير مسموح به، أو أن إذن البحث مرفوض لأحد الأدلة في "
3485 "بادئة مسار I<pathname>، أو أن الملف لم يكن موجوداً بعد والوصول للكتابة إلى "
3486 "الدليل الأب غير مسموح به. (انظر أيضًا B<path_resolution>(7).)"
3487
3488 #. type: Plain text
3489 #: debian-trixie fedora-44 fedora-rawhide
3490 msgid ""
3491 "(B<openat>()) I<pathname> is relative but I<dirfd> is neither B<AT_FDCWD> "
3492 "nor a valid file descriptor."
3493 msgstr ""
3494 "(B<openat>()) يكون I<pathname> نسبياً ولكن I<dirfd> ليس B<AT_FDCWD> ولا واصف "
3495 "ملف صالح."
3496
3497 #. type: Plain text
3498 #: debian-trixie fedora-44 fedora-rawhide
3499 msgid ""
3500 "B<O_EXCL> was specified in I<flags> and I<pathname> refers to a block device "
3501 "that is in use by the system (e.g., it is mounted)."
3502 msgstr ""
3503 "حُدد B<O_EXCL> في I<flags> ويشير I<pathname> إلى جهاز كتلي قيد الاستخدام من "
3504 "قبل النظام (على سبيل المثال، هو موصول)."
3505
3506 #. type: Plain text
3507 #: debian-trixie fedora-44 fedora-rawhide
3508 msgid "I<pathname> already exists and B<O_CREAT> and B<O_EXCL> were used."
3509 msgstr "I<pathname> موجود بالفعل وقد استُخدم B<O_CREAT> و B<O_EXCL>."
3510
3511 #. type: Plain text
3512 #: debian-trixie fedora-44 fedora-rawhide
3513 msgid "I<pathname> points outside your accessible address space."
3514 msgstr "يشير I<pathname> إلى خارج مساحة العناوين المتاحة لك."
3515
3516 #. type: Plain text
3517 #: debian-trixie fedora-44 fedora-rawhide
3518 msgid ""
3519 "B<O_CREAT> was specified in I<flags> and the final component (\"basename\") "
3520 "of the new file's I<pathname> is invalid (e.g., it contains characters not "
3521 "permitted by the underlying filesystem)."
3522 msgstr ""
3523 "حُدد B<O_CREAT> في I<flags> والمكون الأخير (\"basename\") لـ I<pathname> "
3524 "للملف الجديد غير صالح (على سبيل المثال، يحتوي على محارف غير مسموح بها في "
3525 "نظام الملفات الأساسي)."
3526
3527 #. type: Plain text
3528 #: debian-trixie fedora-44 fedora-rawhide
3529 msgid ""
3530 "The final component (\"basename\") of I<pathname> is invalid (e.g., it "
3531 "contains characters not permitted by the underlying filesystem)."
3532 msgstr ""
3533 "المكون الأخير (\"basename\") لـ I<pathname> غير صالح (على سبيل المثال، يحتوي "
3534 "على محارف غير مسموح بها في نظام الملفات الأساسي)."
3535
3536 #. type: Plain text
3537 #: debian-trixie fedora-44 fedora-rawhide
3538 msgid ""
3539 "I<pathname> refers to a directory and the access requested involved writing "
3540 "(that is, B<O_WRONLY> or B<O_RDWR> is set)."
3541 msgstr ""
3542 "يشير I<pathname> إلى دليل والوصول المطلوب تضمن الكتابة (أي، ضُبط B<O_WRONLY> "
3543 "أو B<O_RDWR>)."
3544
3545 #. type: Plain text
3546 #: debian-trixie fedora-44 fedora-rawhide
3547 msgid ""
3548 "I<pathname> refers to an existing directory, B<O_TMPFILE> and one of "
3549 "B<O_WRONLY> or B<O_RDWR> were specified in I<flags>, but this kernel version "
3550 "does not provide the B<O_TMPFILE> functionality."
3551 msgstr ""
3552 "يشير I<pathname> إلى دليل موجود، وحُدد B<O_TMPFILE> وأحد B<O_WRONLY> أو "
3553 "B<O_RDWR> في I<flags>، لكن إصدار النواة هذا لا يوفر وظيفة B<O_TMPFILE>."
3554
3555 #. type: Plain text
3556 #: debian-trixie fedora-44 fedora-rawhide
3557 msgid "Too many symbolic links were encountered in resolving I<pathname>."
3558 msgstr "وُجه عدد كبير جدًا من الروابط الرمزية عند حل I<pathname>."
3559
3560 #. type: Plain text
3561 #: debian-trixie fedora-44 fedora-rawhide
3562 msgid ""
3563 "I<pathname> was a symbolic link, and I<flags> specified B<O_NOFOLLOW> but "
3564 "not B<O_PATH>."
3565 msgstr ""
3566 "كان I<pathname> رابطاً رمزياً، وحددت I<flags> العلم B<O_NOFOLLOW> ولكن ليس "
3567 "B<O_PATH>."
3568
3569 #. type: Plain text
3570 #: debian-trixie fedora-44 fedora-rawhide
3571 msgid "I<pathname> was too long."
3572 msgstr "مسار الملف I<pathname> كان طويلاً جداً."
3573
3574 #. type: Plain text
3575 #: debian-trixie fedora-44 fedora-rawhide
3576 msgid ""
3577 "I<pathname> refers to a device special file and no corresponding device "
3578 "exists. (This is a Linux kernel bug; in this situation B<ENXIO> must be "
3579 "returned.)"
3580 msgstr ""
3581 "يشير I<pathname> إلى ملف جهاز خاص ولا يوجد جهاز مقابل له. (هذه علة في نواة "
3582 "لينكس؛ في هذه الحالة يجب إعادة B<ENXIO>.)"
3583
3584 #. type: Plain text
3585 #: debian-trixie fedora-44 fedora-rawhide
3586 msgid ""
3587 "A directory component in I<pathname> does not exist or is a dangling "
3588 "symbolic link."
3589 msgstr "مكون الدليل في I<pathname> غير موجود أو أنه وصلة رمزية معلقة."
3590
3591 #. type: Plain text
3592 #: debian-trixie fedora-44 fedora-rawhide
3593 msgid ""
3594 "I<pathname> refers to a nonexistent directory, B<O_TMPFILE> and one of "
3595 "B<O_WRONLY> or B<O_RDWR> were specified in I<flags>, but this kernel version "
3596 "does not provide the B<O_TMPFILE> functionality."
3597 msgstr ""
3598 "يشير I<pathname> إلى دليل غير موجود، وحُدد B<O_TMPFILE> وأحد B<O_WRONLY> أو "
3599 "B<O_RDWR> في I<flags>، ولكن إصدار النواة هذا لا يوفر وظيفة B<O_TMPFILE>."
3600
3601 #. type: Plain text
3602 #: debian-trixie fedora-44 fedora-rawhide
3603 msgid ""
3604 "I<pathname> was to be created but the device containing I<pathname> has no "
3605 "room for the new file."
3606 msgstr ""
3607 "كان من المفترض إنشاء I<pathname> ولكن الجهاز الذي يحتوي على I<pathname> ليس "
3608 "لديه متسع للملف الجديد."
3609
3610 #. type: Plain text
3611 #: debian-trixie fedora-44 fedora-rawhide
3612 msgid ""
3613 "A component used as a directory in I<pathname> is not, in fact, a directory, "
3614 "or B<O_DIRECTORY> was specified and I<pathname> was not a directory."
3615 msgstr ""
3616 "المكون المستخدم كدليل في I<pathname> ليس في الواقع دليلاً، أو حُدد "
3617 "B<O_DIRECTORY> ولم يكن I<pathname> دليلاً."
3618
3619 #. type: Plain text
3620 #: debian-trixie fedora-44 fedora-rawhide
3621 msgid ""
3622 "(B<openat>()) I<pathname> is a relative pathname and I<dirfd> is a file "
3623 "descriptor referring to a file other than a directory."
3624 msgstr ""
3625 "(B<openat>()) يكون I<pathname> مساراً نسبياً و I<dirfd> واصف ملف يشير إلى ملف "
3626 "غير الدليل."
3627
3628 #. type: Plain text
3629 #: debian-trixie fedora-44 fedora-rawhide
3630 msgid "The filesystem containing I<pathname> does not support B<O_TMPFILE>."
3631 msgstr "نظام الملفات الذي يحتوي على I<pathname> لا يدعم B<O_TMPFILE>."
3632
3633 #. See http://bugzilla.kernel.org/show_bug.cgi?id=7253
3634 #. "Open of a large file on 32-bit fails with EFBIG, should be EOVERFLOW"
3635 #. Reported 2006-10-03
3636 #. type: Plain text
3637 #: debian-trixie fedora-44 fedora-rawhide
3638 msgid ""
3639 "I<pathname> refers to a regular file that is too large to be opened. The "
3640 "usual scenario here is that an application compiled on a 32-bit platform "
3641 "without I<-D_FILE_OFFSET_BITS=64> tried to open a file whose size exceeds "
3642 "I<(1E<lt>E<lt>31)-1> bytes; see also B<O_LARGEFILE> above. This is the "
3643 "error specified by POSIX.1; before Linux 2.6.24, Linux gave the error "
3644 "B<EFBIG> for this case."
3645 msgstr ""
3646 "يشير I<pathname> إلى ملف عادي كبير جداً بحيث لا يمكن فتحه. السيناريو المعتاد "
3647 "هنا هو أن تطبيقاً جُمّع على منصة 32 بت بدون I<-D_FILE_OFFSET_BITS=64> حاول فتح "
3648 "ملف يتجاوز حجمه I<(1E<lt>E<lt>31)-1> بايت؛ انظر أيضًا B<O_LARGEFILE> أعلاه. "
3649 "هذا هو الخطأ المحدد بواسطة POSIX.1؛ قبل لينكس 2.6.24، كان لينكس يعطي الخطأ "
3650 "B<EFBIG> لهذه الحالة."
3651
3652 #. type: Plain text
3653 #: debian-trixie fedora-44 fedora-rawhide
3654 msgid ""
3655 "I<pathname> refers to a file on a read-only filesystem and write access was "
3656 "requested."
3657 msgstr ""
3658 "يشير I<pathname> إلى ملف في نظام ملفات للقراءة فقط وقد طُلب الوصول للكتابة."
3659
3660 #. type: Plain text
3661 #: debian-trixie fedora-44 fedora-rawhide
3662 msgid ""
3663 "I<pathname> refers to an executable image which is currently being executed "
3664 "and write access was requested."
3665 msgstr ""
3666 "يشير I<pathname> إلى صورة ملف تنفيذي قيد التنفيذ حالياً وقد طُلب الوصول "
3667 "للكتابة."
3668
3669 #. type: Plain text
3670 #: debian-trixie fedora-44 fedora-rawhide
3671 msgid ""
3672 "I<pathname> refers to a file that is currently in use as a swap file, and "
3673 "the B<O_TRUNC> flag was specified."
3674 msgstr ""
3675 "يشير I<pathname> إلى ملف مستخدم حالياً كملف تبديل (swap)، وقد حُدد العلم "
3676 "B<O_TRUNC>."
3677
3678 #. type: Plain text
3679 #: debian-trixie fedora-44 fedora-rawhide
3680 msgid ""
3681 "I<pathname> refers to a file that is currently being read by the kernel (e."
3682 "g., for module/firmware loading), and write access was requested."
3683 msgstr ""
3684 "يشير I<pathname> إلى ملف يقرأه النواة حالياً (على سبيل المثال، لتحميل وحدة/"
3685 "برمجية ثابتة)، وقد طُلب الوصول للكتابة."
3686
3687 #. type: Plain text
3688 #: debian-trixie fedora-44 fedora-rawhide
3689 msgid "B<openat2>(2) Linux."
3690 msgstr "B<openat2>(2) لينكس."
3691
3692 #. type: Plain text
3693 #: debian-trixie fedora-44 fedora-rawhide
3694 msgid ""
3695 "The B<O_DIRECT>, B<O_NOATIME>, B<O_PATH>, and B<O_TMPFILE> flags are Linux-"
3696 "specific. One must define B<_GNU_SOURCE> to obtain their definitions."
3697 msgstr ""
3698 "الأعلام B<O_DIRECT> و B<O_NOATIME> و B<O_PATH> و B<O_TMPFILE> هي أعلام خاصة "
3699 "بلينكس. يجب على المرء تعريف B<_GNU_SOURCE> للحصول على تعريفاتها."
3700
3701 #. type: Plain text
3702 #: debian-trixie fedora-44 fedora-rawhide
3703 msgid ""
3704 "The B<O_CLOEXEC>, B<O_DIRECTORY>, and B<O_NOFOLLOW> flags are not specified "
3705 "in POSIX.1-2001, but are specified in POSIX.1-2008. Since glibc 2.12, one "
3706 "can obtain their definitions by defining either B<_POSIX_C_SOURCE> with a "
3707 "value greater than or equal to 200809L or B<_XOPEN_SOURCE> with a value "
3708 "greater than or equal to 700. In glibc 2.11 and earlier, one obtains the "
3709 "definitions by defining B<_GNU_SOURCE>."
3710 msgstr ""
3711 "الأعلام B<O_CLOEXEC> و B<O_DIRECTORY> و B<O_NOFOLLOW> غير محددة في "
3712 "POSIX.1-2001، ولكنها محددة في POSIX.1-2008. منذ glibc 2.12، يمكن للمرء "
3713 "الحصول على تعريفاتها بتعريف إما B<_POSIX_C_SOURCE> بقيمة أكبر من أو تساوي "
3714 "200809L أو B<_XOPEN_SOURCE> بقيمة أكبر من أو تساوي 700. في glibc 2.11 وما "
3715 "قبله، يحصل المرء على التعريفات بتعريف B<_GNU_SOURCE>."
3716
3717 #. type: Plain text
3718 #: debian-trixie fedora-44 fedora-rawhide
3719 msgid ""
3720 "When both B<O_CREAT> and B<O_DIRECTORY> are specified in I<flags> and the "
3721 "file specified by I<pathname> does not exist, B<open>() will create a "
3722 "regular file (i.e., B<O_DIRECTORY> is ignored)."
3723 msgstr ""
3724 "عند تحديد كل من B<O_CREAT> و B<O_DIRECTORY> في I<flags> وعدم وجود الملف "
3725 "المحدد بواسطة I<pathname>، سيقوم B<open>() بإنشاء ملف عادي (أي يتم تجاهل "
3726 "B<O_DIRECTORY>)."
3727
3728 #. type: TH
3729 #: fedora-44 fedora-rawhide
3730 #, no-wrap
3731 msgid "2024-07-23"
3732 msgstr "23 يوليو 2024"
3733
3734 #. type: TH
3735 #: fedora-44 fedora-rawhide
3736 #, no-wrap
3737 msgid "Linux man-pages 6.13"
3738 msgstr "صفحات دليل لينكس 6.13"
3739
3740 #. type: TH
3741 #: mageia-cauldron
3742 #, no-wrap
3743 msgid "Linux man-pages 6.17"
3744 msgstr "صفحات دليل لينكس 6.17"
3745
3746 #. type: TH
3747 #: opensuse-leap-16-1 opensuse-tumbleweed
3748 #, no-wrap
3749 msgid "Linux man-pages (unreleased)"
3750 msgstr "صفحات دليل لينكس (لم تصدر بعد)"