Debian Codegraph @

po/ar/man3/fopen.3.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2026-06-05 06:24+0200\n"
9 "PO-Revision-Date: 2026-06-03 04:49+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 ".MIME-Version: 1.0\n"
17 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
18 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
19 "X-Generator: Lokalize 23.08.5\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "fopen"
26 msgstr "fopen"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2025-09-21"
33 msgstr "21 سبتمبر 2025"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, no-wrap
38 msgid "Linux man-pages 6.18"
39 msgstr "صفحات دليل لينكس 6.18"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "الاسم"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "fopen, fdopen, freopen - stream open functions"
52 msgstr "fopen, fdopen, freopen - دوال فتح الدفق"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "المكتبة"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "موجز"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>stdio.hE<gt>>\n"
79 msgstr "B<#include E<lt>stdio.hE<gt>>\n"
80
81 #. type: Plain text
82 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
83 #: opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<FILE *fopen(const char *restrict >I<path>B<, const char *restrict >I<mode>B<);>\n"
87 "B<FILE *fdopen(int >I<fd>B<, const char *>I<mode>B<);>\n"
88 "B<FILE *freopen(const char *restrict >I<path>B<, const char *restrict >I<mode>B<,>\n"
89 "B< FILE *restrict >I<stream>B<);>\n"
90 msgstr ""
91 "B<FILE *fopen(const char *restrict >I<path>B<, const char *restrict >I<mode>B<);>\n"
92 "B<FILE *fdopen(int >I<fd>B<, const char *>I<mode>B<);>\n"
93 "B<FILE *freopen(const char *restrict >I<path>B<, const char *restrict >I<mode>B<,>\n"
94 "B< FILE *restrict >I<stream>B<);>\n"
95
96 #. type: Plain text
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 msgid ""
100 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
101 msgstr ""
102 "متطلبات ماكروات اختبار الميزات لـ glibc (انظر B<feature_test_macros>(7)):"
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid "B<fdopen>():"
108 msgstr "B<fdopen>():"
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 #, no-wrap
114 msgid " _POSIX_C_SOURCE\n"
115 msgstr " _POSIX_C_SOURCE\n"
116
117 #. type: SH
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 #, no-wrap
121 msgid "DESCRIPTION"
122 msgstr "الوصف"
123
124 #. type: Plain text
125 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
126 #: opensuse-tumbleweed
127 msgid ""
128 "The B<fopen>() function opens the file whose name is the string pointed to "
129 "by I<path> and associates a stream with it."
130 msgstr ""
131 "تفتح الدالة B<fopen>() الملف الذي اسمه هو سلسلة المحارف المشار إليها بواسطة "
132 "I<path> وتربط معه تدفقًا."
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 msgid ""
138 "The argument I<mode> points to a string beginning with one of the following "
139 "sequences (possibly followed by additional characters, as described below):"
140 msgstr ""
141 "يشير المعامل I<mode> إلى سلسلة محارف تبدأ بأحد التسلسلات التالية (قد تتبعها "
142 "محارف إضافية، كما هو موضح أدناه):"
143
144 #. type: TP
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 #, no-wrap
148 msgid "B<r>"
149 msgstr "B<r>"
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "Open text file for reading. The stream is positioned at the beginning of "
156 "the file."
157 msgstr "فتح ملف نصي للقراءة. يُوضع الدفق في بداية الملف."
158
159 #. type: TP
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 #, no-wrap
163 msgid "B<r+>"
164 msgstr "B<r+>"
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 msgid ""
170 "Open for reading and writing. The stream is positioned at the beginning of "
171 "the file."
172 msgstr "فتح للقراءة والكتابة. يُوضع الدفق في بداية الملف."
173
174 #. type: TP
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 #, no-wrap
178 msgid "B<w>"
179 msgstr "B<w>"
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 msgid ""
185 "Truncate file to zero length or create text file for writing. The stream is "
186 "positioned at the beginning of the file."
187 msgstr ""
188 "اقتطاع الملف إلى طول صفري أو إنشاء ملف نصي للكتابة. يُوضع الدفق في بداية "
189 "الملف."
190
191 #. type: TP
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 #, no-wrap
195 msgid "B<w+>"
196 msgstr "B<w+>"
197
198 #. type: Plain text
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 msgid ""
202 "Open for reading and writing. The file is created if it does not exist, "
203 "otherwise it is truncated. The stream is positioned at the beginning of the "
204 "file."
205 msgstr ""
206 "فتح للقراءة والكتابة. يُنشأ الملف إذا لم يكن موجودًا، وإلا يُقتطع. يُوضع الدفق "
207 "في بداية الملف."
208
209 #. type: TP
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "B<a>"
214 msgstr "B<a>"
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 msgid ""
220 "Open for appending (writing at end of file). The file is created if it does "
221 "not exist. The stream is positioned at the end of the file."
222 msgstr ""
223 "فتح للإلحاق (الكتابة في نهاية الملف). يُنشأ الملف إذا لم يكن موجودًا. يُوضع "
224 "الدفق في نهاية الملف."
225
226 #. type: TP
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 #, no-wrap
230 msgid "B<a+>"
231 msgstr "B<a+>"
232
233 #. type: Plain text
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 msgid ""
237 "Open for reading and appending (writing at end of file). The file is "
238 "created if it does not exist. Output is always appended to the end of the "
239 "file. POSIX is silent on what the initial read position is when using this "
240 "mode. For glibc, the initial file position for reading is at the beginning "
241 "of the file, but for Android/BSD/MacOS, the initial file position for "
242 "reading is at the end of the file."
243 msgstr ""
244 "فتح للقراءة والإلحاق (الكتابة في نهاية الملف). يُنشأ الملف إذا لم يكن موجودًا. "
245 "يُلحق المخرجات دائمًا بنهاية الملف. لا يحدد POSIX موضع القراءة المبدئي عند "
246 "استخدام هذا الوضع. بالنسبة لـ glibc، موضع الملف المبدئي للقراءة هو بداية "
247 "الملف، ولكن بالنسبة لـ Android/BSD/MacOS، موضع الملف المبدئي للقراءة هو "
248 "نهاية الملف."
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid ""
254 "The I<mode> string can also include the letter \\[aq]b\\[aq] either as a "
255 "last character or as a character between the characters in any of the two-"
256 "character strings described above. This is strictly for compatibility with "
257 "ISO C and has no effect; the \\[aq]b\\[aq] is ignored on all POSIX "
258 "conforming systems, including Linux. (Other systems may treat text files "
259 "and binary files differently, and adding the \\[aq]b\\[aq] may be a good "
260 "idea if you do I/O to a binary file and expect that your program may be "
261 "ported to non-UNIX environments.)"
262 msgstr ""
263 "يمكن أن تتضمن سلسلة المحارف I<mode> الحرف \\[aq]b\\[aq] إما كآخر حرف أو كحرف "
264 "بين الأحرف في أي من سلاسل المحارف ذات الحرفين الموصوفة أعلاه. هذا فقط "
265 "للتوافق مع ISO C وليس له أي تأثير؛ يُتجاهل \\[aq]b\\[aq] في جميع الأنظمة "
266 "المتوافقة مع POSIX، بما في ذلك Linux. (قد تعالج الأنظمة الأخرى الملفات "
267 "النصية والملفات الثنائية بشكل مختلف، وقد تكون إضافة \\[aq]b\\[aq] فكرة جيدة "
268 "إذا كنت تقوم بالإدخال/الإخراج إلى ملف ثنائي وتتوقع أن يُنقل برنامجك إلى بيئات "
269 "غير UNIX.)"
270
271 #. type: Plain text
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 msgid "See NOTES below for details of glibc extensions for I<mode>."
275 msgstr "انظر الملاحظات أدناه لتفاصيل إضافات glibc لـ I<mode>."
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 msgid ""
281 "Any created file will have the mode B<S_IRUSR> | B<S_IWUSR> | B<S_IRGRP> | "
282 "B<S_IWGRP> | B<S_IROTH> | B<S_IWOTH> (0666), as modified by the process's "
283 "umask value (see B<umask>(2))."
284 msgstr ""
285 "سيكون لأي ملف منشأ الوضع B<S_IRUSR> | B<S_IWUSR> | B<S_IRGRP> | B<S_IWGRP> | "
286 "B<S_IROTH> | B<S_IWOTH> (0666)، كما يُعدل بقيمة umask للعملية (انظر "
287 "B<umask>(2))."
288
289 #. type: Plain text
290 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
291 #: opensuse-tumbleweed
292 msgid ""
293 "Reads and writes may be intermixed on read/write streams in any order. Note "
294 "that ANSI C requires that a file positioning function intervene between "
295 "output and input, unless an input operation encounters end-of-file. (If "
296 "this condition is not met, then a read is allowed to return the result of "
297 "writes other than the most recent.) Therefore it is good practice (and "
298 "indeed sometimes necessary under Linux) to put an B<fseek>(3) or "
299 "B<fsetpos>(3) operation between write and read operations on such a "
300 "stream. This operation may be an apparent no-op (as in I<fseek(...,\\ 0L,\\ "
301 "SEEK_CUR)> called for its synchronizing side effect)."
302 msgstr ""
303 "قد تُخلط القراءات والكتابات على تدفقات القراءة/الكتابة بأي ترتيب. لاحظ أن "
304 "ANSI C يتطلب أن تتدخل دالة تحديد موضع الملف بين الإخراج والإدخال، إلا إذا "
305 "واجهت عملية إدخال نهاية الملف. (إذا لم يُستوف هذا الشرط، يُسمح للقراءة بإرجاع "
306 "نتيجة كتابات غير الأحدث.) لذلك من الممارسة الجيدة (وأحيانًا ضرورية تحت Linux) "
307 "وضع عملية B<fseek>(3) أو B<fsetpos>(3) بين عمليات الكتابة والقراءة على مثل "
308 "هذا الدفق. قد تكون هذه العملية بلا تأثير ظاهريًا (كما في I<fseek(...,\\ 0L,\\ "
309 "SEEK_CUR)> المُستدعاة لتأثيرها الجانبي المتزامن)."
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 msgid ""
315 "Opening a file in append mode (B<a> as the first character of I<mode>) "
316 "causes all subsequent write operations to this stream to occur at end-of-"
317 "file, as if preceded by the call:"
318 msgstr ""
319 "يؤدي فتح ملف في وضع الإلحاق (B<a> كأول حرف من I<mode>) إلى حدوث جميع عمليات "
320 "الكتابة اللاحقة لهذا الدفق في نهاية الملف، كما لو سبقها الاستدعاء:"
321
322 #. type: Plain text
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid "fseek(stream, 0, SEEK_END);\n"
327 msgstr "fseek(stream, 0, SEEK_END);\n"
328
329 #. type: Plain text
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 msgid ""
333 "The file descriptor associated with the stream is opened as if by a call to "
334 "B<open>(2) with the following flags:"
335 msgstr ""
336 "يُفتح واصف الملف المرتبط بالدفق كما لو كان باستدعاء B<open>(2) مع الأعلام "
337 "التالية:"
338
339 #. type: tbl table
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "fopen() mode"
344 msgstr "نمط fopen()"
345
346 #. type: tbl table
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid "open() flags"
351 msgstr "أعلام open()"
352
353 #. type: tbl table
354 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
355 #: opensuse-tumbleweed
356 #, no-wrap
357 msgid "r"
358 msgstr "r"
359
360 #. type: tbl table
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 #, no-wrap
364 msgid "O_RDONLY"
365 msgstr "O_RDONLY"
366
367 #. type: tbl table
368 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
369 #: opensuse-tumbleweed
370 #, no-wrap
371 msgid "w"
372 msgstr "w"
373
374 #. type: tbl table
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 #, no-wrap
378 msgid "O_WRONLY | O_CREAT | O_TRUNC"
379 msgstr "O_WRONLY | O_CREAT | O_TRUNC"
380
381 #. type: tbl table
382 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
383 #: opensuse-tumbleweed
384 #, no-wrap
385 msgid "a"
386 msgstr "a"
387
388 #. type: tbl table
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 #, no-wrap
392 msgid "O_WRONLY | O_CREAT | O_APPEND"
393 msgstr "O_WRONLY | O_CREAT | O_APPEND"
394
395 #. type: tbl table
396 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
397 #: opensuse-tumbleweed
398 #, no-wrap
399 msgid "r+"
400 msgstr "r+"
401
402 #. type: tbl table
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 #, no-wrap
406 msgid "O_RDWR"
407 msgstr "O_RDWR"
408
409 #. type: tbl table
410 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
411 #: opensuse-tumbleweed
412 #, no-wrap
413 msgid "w+"
414 msgstr "w+"
415
416 #. type: tbl table
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 #, no-wrap
420 msgid "O_RDWR | O_CREAT | O_TRUNC"
421 msgstr "O_RDWR | O_CREAT | O_TRUNC"
422
423 #. type: tbl table
424 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
425 #: opensuse-tumbleweed
426 #, no-wrap
427 msgid "a+"
428 msgstr "a+"
429
430 #. type: tbl table
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 #, no-wrap
434 msgid "O_RDWR | O_CREAT | O_APPEND"
435 msgstr "O_RDWR | O_CREAT | O_APPEND"
436
437 #. type: SS
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 #, no-wrap
441 msgid "fdopen()"
442 msgstr "fdopen()"
443
444 #. type: Plain text
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 msgid ""
448 "The B<fdopen>() function associates a stream with the existing file "
449 "descriptor, I<fd>. The I<mode> of the stream (one of the values \"r\", \"r+"
450 "\", \"w\", \"w+\", \"a\", \"a+\") must be compatible with the mode of the "
451 "file descriptor. The file position indicator of the new stream is set to "
452 "that belonging to I<fd>, and the error and end-of-file indicators are "
453 "cleared. Modes \"w\" or \"w+\" do not cause truncation of the file. The "
454 "file descriptor is not dup'ed, and will be closed when the stream created by "
455 "B<fdopen>() is closed. The result of applying B<fdopen>() to a shared "
456 "memory object is undefined."
457 msgstr ""
458 "تربط الدالة B<fdopen>() دفقًا بوصف الملف الموجود، I<fd>. يجب أن يكون I<نمط> "
459 "الدفق (أحد القيم \"r\", \"r+\", \"w\", \"w+\", \"a\", \"a+\") متوافقًا مع "
460 "نمط وصف الملف. يُضبط مؤشر موضع الملف للدفق الجديد على ذلك الذي ينتمي إلى "
461 "I<fd>، وتُمسح مؤشرات الخطأ ونهاية الملف. لا تسبب الأنماط \"w\" أو \"w+\" "
462 "اقتطاع الملف. لا يُنسخ وصف الملف، وسيُغلق عند إغلاق الدفق المنشأ بواسطة "
463 "B<fdopen>(). نتيجة تطبيق B<fdopen>() على كائن ذاكرة مشتركة غير محددة."
464
465 #. type: SS
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 #, no-wrap
469 msgid "freopen()"
470 msgstr "freopen()"
471
472 #. type: Plain text
473 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
474 #: opensuse-tumbleweed
475 msgid ""
476 "The B<freopen>() function opens the file whose name is the string pointed "
477 "to by I<path> and associates the stream pointed to by I<stream> with it. "
478 "The original stream (if it exists) is closed. The I<mode> argument is used "
479 "just as in the B<fopen>() function."
480 msgstr ""
481 "تفتح الدالة B<freopen>() الملف الذي اسمه سلسلة المحارف المشار إليها بواسطة "
482 "I<path> وتربط الدفق المشار إليه بواسطة I<stream> به. يُغلق الدفق الأصلي (إن "
483 "وُجد). يُستخدم معامل I<نمط> تمامًا كما في الدالة B<fopen>()."
484
485 #. type: Plain text
486 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
487 #: opensuse-tumbleweed
488 msgid ""
489 "If I<path> is a null pointer, B<freopen>() changes the mode of the stream "
490 "to that specified in I<mode>; that is, B<freopen>() reopens the pathname "
491 "that is associated with the stream. The specification for this behavior was "
492 "added in the C99 standard, which says:"
493 msgstr ""
494 "إذا كان I<path> مؤشرًا فارغًا، تغير B<freopen>() نمط الدفق إلى ذلك المحدد في "
495 "I<نمط>؛ أي تعيد B<freopen>() فتح اسم المسار المرتبط بالدفق. أُضيفت مواصفات "
496 "هذا السلوك في معيار C99، الذي ينص:"
497
498 #. type: Plain text
499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
501 msgid ""
502 "In this case, the file descriptor associated with the stream need not be "
503 "closed if the call to B<freopen>() succeeds. It is implementation-defined "
504 "which changes of mode are permitted (if any), and under what circumstances."
505 msgstr ""
506 "في هذه الحالة، لا يلزم إغلاق وصف الملف المرتبط بالدفق إذا نجحت استدعاء "
507 "B<freopen>(). يُعرّف حسب التنفيذ أي تغييرات النمط مسموح بها (إن وُجدت)، وتحت "
508 "أي ظروف."
509
510 #. type: Plain text
511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
513 msgid ""
514 "The primary use of the B<freopen>() function is to change the file "
515 "associated with a standard text stream (I<stderr>, I<stdin>, or I<stdout>)."
516 msgstr ""
517 "الاستخدام الرئيسي للدالة B<freopen>() هو تغيير الملف المرتبط بدفق نصي قياسي "
518 "(I<stderr>، I<stdin>، أو I<stdout>)."
519
520 #. type: SH
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 #, no-wrap
524 msgid "RETURN VALUE"
525 msgstr "قيمة الإرجاع"
526
527 #. type: Plain text
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 msgid ""
531 "Upon successful completion B<fopen>(), B<fdopen>(), and B<freopen>() return "
532 "a I<FILE> pointer. Otherwise, NULL is returned and I<errno> is set to "
533 "indicate the error."
534 msgstr ""
535 "عند الإكمال بنجاح، تُرجع B<fopen>()، B<fdopen>()، و B<freopen>() مؤشر "
536 "I<FILE>. وإلا، يُرجع NULL ويُضبط I<errno> للإشارة إلى الخطأ."
537
538 #. type: SH
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
541 #, no-wrap
542 msgid "ERRORS"
543 msgstr "الأخطاء"
544
545 #. type: TP
546 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
547 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
548 #, no-wrap
549 msgid "B<EINVAL>"
550 msgstr "B<EINVAL>"
551
552 #. type: Plain text
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 msgid ""
556 "The I<mode> provided to B<fopen>(), B<fdopen>(), or B<freopen>() was "
557 "invalid."
558 msgstr ""
559 "كان I<نمط> المقدم إلى B<fopen>()، B<fdopen>()، أو B<freopen>() غير صالح."
560
561 #. type: Plain text
562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
564 msgid ""
565 "The B<fopen>(), B<fdopen>(), and B<freopen>() functions may also fail and "
566 "set I<errno> for any of the errors specified for the routine B<malloc>(3)."
567 msgstr ""
568 "قد تفشل الدوال B<fopen>() و B<fdopen>() و B<freopen>() أيضًا وتُعيِّن I<errno> "
569 "لأي من الأخطاء المحددة للروتين B<malloc>(3)."
570
571 #. type: Plain text
572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
574 msgid ""
575 "The B<fopen>() function may also fail and set I<errno> for any of the "
576 "errors specified for the routine B<open>(2)."
577 msgstr ""
578 "قد تفشل الدالة B<fopen>() أيضًا وتُعيِّن I<errno> لأي من الأخطاء المحددة للروتين "
579 "B<open>(2)."
580
581 #. type: Plain text
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 msgid ""
585 "The B<fdopen>() function may also fail and set I<errno> for any of the "
586 "errors specified for the routine B<fcntl>(2)."
587 msgstr ""
588 "قد تفشل الدالة B<fdopen>() أيضًا وتُعيِّن I<errno> لأي من الأخطاء المحددة "
589 "للروتين B<fcntl>(2)."
590
591 #. type: Plain text
592 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
593 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
594 msgid ""
595 "The B<freopen>() function may also fail and set I<errno> for any of the "
596 "errors specified for the routines B<open>(2), B<fclose>(3), and B<fflush>(3)."
597 msgstr ""
598 "قد تفشل الدالة B<freopen>() أيضًا وتُعيِّن I<errno> لأي من الأخطاء المحددة "
599 "للروتينات B<open>(2) و B<fclose>(3) و B<fflush>(3)."
600
601 #. type: SH
602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
604 #, no-wrap
605 msgid "ATTRIBUTES"
606 msgstr "السمات"
607
608 #. type: Plain text
609 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
610 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
611 msgid ""
612 "For an explanation of the terms used in this section, see B<attributes>(7)."
613 msgstr ""
614 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
615
616 #. type: tbl table
617 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
618 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
619 #, no-wrap
620 msgid "Interface"
621 msgstr "الواجهة"
622
623 #. type: tbl table
624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
626 #, no-wrap
627 msgid "Attribute"
628 msgstr "السمة"
629
630 #. type: tbl table
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 #, no-wrap
634 msgid "Value"
635 msgstr "القيمة"
636
637 #. type: tbl table
638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
640 #, no-wrap
641 msgid ".na\n"
642 msgstr ".na\n"
643
644 #. type: tbl table
645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
647 #, no-wrap
648 msgid ".nh\n"
649 msgstr ".nh\n"
650
651 #. type: tbl table
652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
654 #, no-wrap
655 msgid ""
656 "B<fopen>(),\n"
657 "B<fdopen>(),\n"
658 "B<freopen>()"
659 msgstr ""
660 "B<fopen>()،\n"
661 "B<fdopen>()،\n"
662 "B<freopen>()"
663
664 #. type: tbl table
665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
667 #, no-wrap
668 msgid "Thread safety"
669 msgstr "سلامة الخيوط"
670
671 #. type: tbl table
672 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
673 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
674 #, no-wrap
675 msgid "MT-Safe"
676 msgstr "MT-Safe"
677
678 #. type: SH
679 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
680 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
681 #, no-wrap
682 msgid "STANDARDS"
683 msgstr "المعايير"
684
685 #. type: TP
686 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
687 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
688 #, no-wrap
689 msgid "B<fopen>()"
690 msgstr "B<fopen>()"
691
692 #. type: TQ
693 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
694 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
695 #, no-wrap
696 msgid "B<freopen>()"
697 msgstr "B<freopen>()"
698
699 #. type: Plain text
700 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
701 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
702 msgid "C11, POSIX.1-2008."
703 msgstr "C11, POSIX.1-2008."
704
705 #. type: TP
706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
708 #, no-wrap
709 msgid "B<fdopen>()"
710 msgstr "B<fdopen>()"
711
712 #. type: Plain text
713 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
714 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
715 msgid "POSIX.1-2008."
716 msgstr "POSIX.1-2008."
717
718 #. type: SH
719 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
720 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
721 #, no-wrap
722 msgid "HISTORY"
723 msgstr "التاريخ"
724
725 #. type: Plain text
726 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
727 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
728 msgid "POSIX.1-2001, C89."
729 msgstr "POSIX.1-2001، C89."
730
731 #. type: Plain text
732 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
733 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
734 msgid "POSIX.1-2001."
735 msgstr "POSIX.1-2001."
736
737 #. type: SH
738 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
739 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
740 #, no-wrap
741 msgid "NOTES"
742 msgstr "ملاحظات"
743
744 #. type: SS
745 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
746 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
747 #, no-wrap
748 msgid "glibc notes"
749 msgstr "ملاحظات glibc"
750
751 #. type: Plain text
752 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
753 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
754 msgid ""
755 "The GNU C library allows the following extensions for the string specified "
756 "in I<mode>:"
757 msgstr ""
758 "تسمح مكتبة C لجنو بالامتدادات التالية للسلسلة المحارف المحددة في I<mode>:"
759
760 #. type: TP
761 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
762 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
763 #, no-wrap
764 msgid "B<c> (since glibc 2.3.3)"
765 msgstr "B<c> (منذ glibc 2.3.3)"
766
767 #. type: Plain text
768 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
769 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
770 msgid ""
771 "Do not make the open operation, or subsequent read and write operations, "
772 "thread cancelation points. This flag is ignored for B<fdopen>()."
773 msgstr ""
774 "لا تجعل عملية الفتح، أو عمليات القراءة والكتابة اللاحقة، نقاط إلغاء خيط. "
775 "يُتجاهل هذا العلم لـ B<fdopen>()."
776
777 #. type: TP
778 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
779 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
780 #, no-wrap
781 msgid "B<e> (since glibc 2.7)"
782 msgstr "B<e> (منذ glibc 2.7)"
783
784 #. type: Plain text
785 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
786 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
787 msgid ""
788 "Open the file with the B<O_CLOEXEC> flag. See B<open>(2) for more "
789 "information. This flag is ignored for B<fdopen>()."
790 msgstr ""
791 "افتح الملف بالعلم B<O_CLOEXEC>. انظر B<open>(2) لمزيد من المعلومات. يُتجاهل "
792 "هذا العلم لـ B<fdopen>()."
793
794 #. type: TP
795 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
796 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
797 #, no-wrap
798 msgid "B<m> (since glibc 2.3)"
799 msgstr "B<m> (منذ glibc 2.3)"
800
801 #. As at glibc 2.4:
802 #. type: Plain text
803 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
804 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
805 msgid ""
806 "Attempt to access the file using B<mmap>(2), rather than I/O system calls "
807 "(B<read>(2), B<write>(2)). Currently, use of B<mmap>(2) is attempted only "
808 "for a file opened for reading."
809 msgstr ""
810 "حاول الوصول إلى الملف باستخدام B<mmap>(2)، بدلاً من استدعاءات النظام للإدخال/"
811 "الإخراج (B<read>(2)، B<write>(2)). حاليًا، يُحاول استخدام B<mmap>(2) فقط لملف "
812 "مفتوح للقراءة."
813
814 # type: TP
815 #. type: TP
816 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
817 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
818 #, no-wrap
819 msgid "B<x>"
820 msgstr "B<x>"
821
822 #. Since glibc 2.0?
823 #. FIXME . C11 specifies this flag
824 #. type: Plain text
825 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
826 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
827 msgid ""
828 "Open the file exclusively (like the B<O_EXCL> flag of B<open>(2)). If the "
829 "file already exists, B<fopen>() fails, and sets I<errno> to B<EEXIST>. "
830 "This flag is ignored for B<fdopen>()."
831 msgstr ""
832 "افتح الملف حصريًا (مثل العلم B<O_EXCL> لـ B<open>(2)). إذا كان الملف موجودًا "
833 "بالفعل، تفشل B<fopen>() وتُعيِّن I<errno> إلى B<EEXIST>. يُتجاهل هذا العلم لـ "
834 "B<fdopen>()."
835
836 #. type: Plain text
837 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
838 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
839 msgid ""
840 "In addition to the above characters, B<fopen>() and B<freopen>() support "
841 "the following syntax in I<mode>:"
842 msgstr ""
843 "بالإضافة إلى المحارف أعلاه، تدعم B<fopen>() و B<freopen>() الصياغة التالية "
844 "في I<mode>:"
845
846 #. type: Plain text
847 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
848 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
849 msgid "B< ,ccs=>I<string>"
850 msgstr "B< ,ccs=>I<string>"
851
852 #. type: Plain text
853 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
854 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
855 msgid ""
856 "The given I<string> is taken as the name of a coded character set and the "
857 "stream is marked as wide-oriented. Thereafter, internal conversion "
858 "functions convert I/O to and from the character set I<string>. If the B<,"
859 "ccs=>I<string> syntax is not specified, then the wide-orientation of the "
860 "stream is determined by the first file operation. If that operation is a "
861 "wide-character operation, the stream is marked wide-oriented, and functions "
862 "to convert to the coded character set are loaded."
863 msgstr ""
864 "يُؤخذ I<string> المُعطى كاسم لمجموعة محارف مُعمَّاة ويُوسم الدفق كموجه عريض. بعد "
865 "ذلك، تُحوِّل دوال التحويل الداخلية الإدخال/الإخراج من وإلى مجموعة المحارف "
866 "I<string>. إذا لم تُحدد صياغة B<,ccs=>I<string>، فتُحدد التوجيه العريض للتدفق "
867 "بواسطة أول عملية ملف. إذا كانت تلك العملية عملية محرف عريض، يُوسم الدفق كموجه "
868 "عريض، وتُحمَّل دوال للتحويل إلى مجموعة المحارف المُعمَّاة."
869
870 #. type: SH
871 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
872 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
873 #, no-wrap
874 msgid "BUGS"
875 msgstr "العلل"
876
877 #. FIXME . http://sourceware.org/bugzilla/show_bug.cgi?id=12685
878 #. type: Plain text
879 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
880 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
881 msgid ""
882 "When parsing for individual flag characters in I<mode> (i.e., the characters "
883 "preceding the \"ccs\" specification), the glibc implementation of "
884 "B<fopen>() and B<freopen>() limits the number of characters examined in "
885 "I<mode> to 7 (or, before glibc 2.14, to 6, which was not enough to include "
886 "possible specifications such as \"rb+cmxe\"). The current implementation of "
887 "B<fdopen>() parses at most 5 characters in I<mode>."
888 msgstr ""
889 "عند تحليل محارف العلم الفردية في I<mode> (أي المحارف التي تسبق تحديد "
890 "\"ccs\")، يُحدد تنفيذ glibc لـ B<fopen>() و B<freopen>() عدد المحارف المفحوصة "
891 "في I<mode> إلى 7 (أو، قبل glibc 2.14، إلى 6، وهو ما لم يكن كافيًا لتضمين "
892 "تحديدات محتملة مثل \"rb+cmxe\"). يُحلل التنفيذ الحالي لـ B<fdopen>() على "
893 "الأكثر 5 محارف في I<mode>."
894
895 #. type: SH
896 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
897 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
898 #, no-wrap
899 msgid "SEE ALSO"
900 msgstr "انظر أيضًا"
901
902 #. type: Plain text
903 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
904 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
905 msgid ""
906 "B<open>(2), B<fclose>(3), B<fileno>(3), B<fmemopen>(3), B<fopencookie>(3), "
907 "B<open_memstream>(3)"
908 msgstr ""
909 "B<open>(2), B<fclose>(3), B<fileno>(3), B<fmemopen>(3), B<fopencookie>(3), "
910 "B<open_memstream>(3)"
911
912 #. type: TH
913 #: debian-trixie
914 #, no-wrap
915 msgid "2024-05-02"
916 msgstr "2 مايو 2024"
917
918 #. type: TH
919 #: debian-trixie
920 #, no-wrap
921 msgid "Linux man-pages 6.9.1"
922 msgstr "صفحات دليل لينكس 6.9.1"
923
924 #. type: Plain text
925 #: debian-trixie
926 msgid "Standard C library (I<libc>, I<-lc>)"
927 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
928
929 #. type: Plain text
930 #: debian-trixie fedora-44 fedora-rawhide
931 #, no-wrap
932 msgid ""
933 "B<FILE *fopen(const char *restrict >I<pathname>B<, const char *restrict >I<mode>B<);>\n"
934 "B<FILE *fdopen(int >I<fd>B<, const char *>I<mode>B<);>\n"
935 "B<FILE *freopen(const char *restrict >I<pathname>B<, const char *restrict >I<mode>B<,>\n"
936 "B< FILE *restrict >I<stream>B<);>\n"
937 msgstr ""
938 "B<FILE *fopen(const char *restrict >I<pathname>B<, const char *restrict >I<mode>B<);>\n"
939 "B<FILE *fdopen(int >I<fd>B<, const char *>I<mode>B<);>\n"
940 "B<FILE *freopen(const char *restrict >I<pathname>B<, const char *restrict >I<mode>B<,>\n"
941 "B< FILE *restrict >I<stream>B<);>\n"
942
943 #. type: Plain text
944 #: debian-trixie fedora-44 fedora-rawhide
945 msgid ""
946 "The B<fopen>() function opens the file whose name is the string pointed to "
947 "by I<pathname> and associates a stream with it."
948 msgstr ""
949 "تفتح الدالة B<fopen>() الملف الذي اسمه هو سلسلة المحارف المشار إليها بواسطة "
950 "I<pathname> وتربط معه دفقًا."
951
952 #. type: Plain text
953 #: debian-trixie fedora-44 fedora-rawhide
954 msgid ""
955 "Reads and writes may be intermixed on read/write streams in any order. Note "
956 "that ANSI C requires that a file positioning function intervene between "
957 "output and input, unless an input operation encounters end-of-file. (If "
958 "this condition is not met, then a read is allowed to return the result of "
959 "writes other than the most recent.) Therefore it is good practice (and "
960 "indeed sometimes necessary under Linux) to put an B<fseek>(3) or "
961 "B<fsetpos>(3) operation between write and read operations on such a "
962 "stream. This operation may be an apparent no-op (as in I<fseek(..., 0L, "
963 "SEEK_CUR)> called for its synchronizing side effect)."
964 msgstr ""
965 "قد تختلط عمليات القراءة والكتابة على دفقات القراءة/الكتابة بأي ترتيب. لاحظ "
966 "أن معيار ANSI C يتطلب أن تتدخل دالة تحديد موضع الملف بين الإخراج والإدخال، "
967 "إلا إذا واجهت عملية الإدخال نهاية الملف. (إذا لم يُوفَ هذا الشرط، فقد يُسمَح "
968 "لعملية القراءة بإرجاع نتيجة كتابات غير أحدثها.) لذلك من الممارسة الجيدة (وفي "
969 "الواقع ضرورية أحيانًا تحت لينكس) وضع عملية B<fseek>(3) أو B<fsetpos>(3) بين "
970 "عمليات الكتابة والقراءة على مثل هذا الدفق. قد تكون هذه العملية عديمة الفعل "
971 "ظاهريًا (كما في I<fseek(..., 0L, SEEK_CUR)> المُستدعاة لتأثيرها الجانبي "
972 "المتزامن)."
973
974 #. type: tbl table
975 #: debian-trixie fedora-44 fedora-rawhide
976 #, no-wrap
977 msgid "I<r>"
978 msgstr "I<r>"
979
980 #. type: tbl table
981 #: debian-trixie fedora-44 fedora-rawhide
982 #, no-wrap
983 msgid "I<w>"
984 msgstr "I<w>"
985
986 #. type: tbl table
987 #: debian-trixie fedora-44 fedora-rawhide
988 #, no-wrap
989 msgid "I<a>"
990 msgstr "I<a>"
991
992 #. type: tbl table
993 #: debian-trixie fedora-44 fedora-rawhide
994 #, no-wrap
995 msgid "I<r+>"
996 msgstr "I<r+>"
997
998 #. type: tbl table
999 #: debian-trixie fedora-44 fedora-rawhide
1000 #, no-wrap
1001 msgid "I<w+>"
1002 msgstr "I<w+>"
1003
1004 #. type: tbl table
1005 #: debian-trixie fedora-44 fedora-rawhide
1006 #, no-wrap
1007 msgid "I<a+>"
1008 msgstr "I<a+>"
1009
1010 #. type: Plain text
1011 #: debian-trixie fedora-44 fedora-rawhide
1012 msgid ""
1013 "The B<freopen>() function opens the file whose name is the string pointed "
1014 "to by I<pathname> and associates the stream pointed to by I<stream> with "
1015 "it. The original stream (if it exists) is closed. The I<mode> argument is "
1016 "used just as in the B<fopen>() function."
1017 msgstr ""
1018 "تفتح الدالة B<freopen>() الملف الذي اسمه هو سلسلة المحارف المشار إليها "
1019 "بواسطة I<pathname> وتربط معه الدفق المشار إليه بواسطة I<stream>. يُغلَق الدفق "
1020 "الأصلي (إن وُجد). تُستخدم وسيطة I<mode> تمامًا كما في الدالة B<fopen>()."
1021
1022 #. type: Plain text
1023 #: debian-trixie fedora-44 fedora-rawhide
1024 msgid ""
1025 "If the I<pathname> argument is a null pointer, B<freopen>() changes the "
1026 "mode of the stream to that specified in I<mode>; that is, B<freopen>() "
1027 "reopens the pathname that is associated with the stream. The specification "
1028 "for this behavior was added in the C99 standard, which says:"
1029 msgstr ""
1030 "إذا كانت وسيطة I<pathname> مؤشرًا فارغًا، تُغير B<freopen>() وضع الدفق إلى ذلك "
1031 "المُحدد في I<mode>؛ أي أن B<freopen>() تعيد فتح اسم المسار المرتبط بالدفق. "
1032 "أُضيفت مواصفات هذا السلوك في معيار C99، الذي ينص:"
1033
1034 #. type: TH
1035 #: fedora-44 fedora-rawhide
1036 #, no-wrap
1037 msgid "2024-07-23"
1038 msgstr "23 يوليو 2024"
1039
1040 #. type: TH
1041 #: fedora-44 fedora-rawhide
1042 #, no-wrap
1043 msgid "Linux man-pages 6.13"
1044 msgstr "صفحات دليل لينكس 6.13"
1045
1046 #. type: TH
1047 #: mageia-cauldron
1048 #, no-wrap
1049 msgid "Linux man-pages 6.17"
1050 msgstr "صفحات دليل لينكس 6.17"
1051
1052 #. type: TH
1053 #: opensuse-leap-16-1 opensuse-tumbleweed
1054 #, no-wrap
1055 msgid "Linux man-pages (unreleased)"
1056 msgstr "صفحات دليل لينكس (لم تصدر بعد)"