Debian Codegraph @

po/ar/man2/copy_file_range.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:21+0200\n"
9 "PO-Revision-Date: 2026-05-17 19:33+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 "copy_file_range"
25 msgstr "copy_file_range"
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 "copy_file_range - Copy a range of data from one file to another"
51 msgstr "copy_file_range - نسخ نطاق من البيانات من ملف إلى آخر"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr "المكتبة"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "موجز"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid ""
78 "B<#define _GNU_SOURCE>\n"
79 "B<#define _FILE_OFFSET_BITS 64>\n"
80 "B<#include E<lt>unistd.hE<gt>>\n"
81 msgstr ""
82 "B<#define _GNU_SOURCE>\n"
83 "B<#define _FILE_OFFSET_BITS 64>\n"
84 "B<#include E<lt>unistd.hE<gt>>\n"
85
86 #. type: Plain text
87 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
88 #: opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid ""
91 "B<ssize_t copy_file_range(int >I<fd_in>B<, off_t *_Nullable >I<off_in>B<,>\n"
92 "B< int >I<fd_out>B<, off_t *_Nullable >I<off_out>B<,>\n"
93 "B< size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
94 msgstr ""
95 "B<ssize_t copy_file_range(int >I<fd_in>B<, off_t *_Nullable >I<off_in>B<,>\n"
96 "B< int >I<fd_out>B<, off_t *_Nullable >I<off_out>B<,>\n"
97 "B< size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
98
99 #. type: SH
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, no-wrap
103 msgid "DESCRIPTION"
104 msgstr "الوصف"
105
106 #. type: Plain text
107 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
108 #: opensuse-leap-16-1 opensuse-tumbleweed
109 msgid ""
110 "The B<copy_file_range>() system call performs an in-kernel copy between two "
111 "file descriptors without the additional cost of transferring data from the "
112 "kernel to user space and then back into the kernel. It copies up to I<size> "
113 "bytes of data from the source file descriptor I<fd_in> to the target file "
114 "descriptor I<fd_out>, overwriting any data that exists within the requested "
115 "range of the target file."
116 msgstr ""
117 "استدعاء النظام B<copy_file_range>() ينفذ نسخًا داخل النواة بين واصفي ملفين "
118 "دون التكلفة الإضافية لنقل البيانات من النواة إلى مساحة المستخدم ثم العودة "
119 "إلى النواة. ينسخ حتى I<size> بايت من البيانات من واصف الملف المصدر I<fd_in> "
120 "إلى واصف الملف الهدف I<fd_out>، مع استبدال أي بيانات موجودة ضمن النطاق "
121 "المطلوب من الملف الهدف."
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 msgid ""
127 "The following semantics apply for I<off_in>, and similar statements apply to "
128 "I<off_out>:"
129 msgstr ""
130 "تنطبق الدلالات التالية على I<off_in>، وتنطبق عبارات مماثلة على I<off_out>:"
131
132 #. type: IP
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 #, no-wrap
136 msgid "\\[bu]"
137 msgstr "\\[bu]"
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 msgid ""
143 "If I<off_in> is NULL, then bytes are read from I<fd_in> starting from the "
144 "file offset, and the file offset is adjusted by the number of bytes copied."
145 msgstr ""
146 "إذا كان I<off_in> فارغًا (NULL)، تُقرأ البايتات من I<fd_in> بدءًا من إزاحة "
147 "الملف، ويُضبط إزاحة الملف بعدد البايتات المنسوخة."
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "If I<off_in> is not NULL, then I<off_in> must point to a buffer that "
154 "specifies the starting offset where bytes from I<fd_in> will be read. The "
155 "file offset of I<fd_in> is not changed, but I<off_in> is adjusted "
156 "appropriately."
157 msgstr ""
158 "إذا لم يكن I<off_in> فارغًا (NULL)، يجب أن يشير I<off_in> إلى مخزن مؤقت يحدد "
159 "إزاحة البداية حيث ستُقرأ البايتات من I<fd_in>. لا تتغير إزاحة ملف I<fd_in>، "
160 "لكن يُضبط I<off_in> بشكل مناسب."
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 msgid ""
166 "I<fd_in> and I<fd_out> can refer to the same file. If they refer to the "
167 "same file, then the source and target ranges are not allowed to overlap."
168 msgstr ""
169 "يمكن أن يشير I<fd_in> و I<fd_out> إلى نفس الملف. إذا كانا يشيران إلى نفس "
170 "الملف، فلا يُسمح بتداخل نطاقي المصدر والهدف."
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 I<flags> argument is provided to allow for future extensions and "
177 "currently must be set to 0."
178 msgstr ""
179 "وُفر المعامل I<flags> للسماح بالتوسعات المستقبلية ويجب ضبطه حاليًا على 0."
180
181 #. type: SH
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 #, no-wrap
185 msgid "RETURN VALUE"
186 msgstr "قيمة الإرجاع"
187
188 #. type: Plain text
189 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
190 #: opensuse-leap-16-1 opensuse-tumbleweed
191 msgid ""
192 "Upon successful completion, B<copy_file_range>() will return the number of "
193 "bytes copied between files. This could be less than the size originally "
194 "requested. If the file offset of I<fd_in> is at or past the end of file, no "
195 "bytes are copied, and B<copy_file_range>() returns zero."
196 msgstr ""
197 "عند الإكمال بنجاح، يُرجع B<copy_file_range>() عدد البايتات المنسوخة بين "
198 "الملفات. قد يكون هذا أقل من الحجم المطلوب أصلاً. إذا كانت إزاحة ملف I<fd_in> "
199 "عند نهاية الملف أو بعدها، لا تُنسخ أي بايتات، ويُرجع B<copy_file_range>() "
200 "صفرًا."
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 msgid ""
206 "On error, B<copy_file_range>() returns -1 and I<errno> is set to indicate "
207 "the error."
208 msgstr ""
209 "عند الخطأ، يُرجع B<copy_file_range>() -1 ويُضبط I<errno> للإشارة إلى الخطأ."
210
211 #. type: SH
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 #, no-wrap
215 msgid "ERRORS"
216 msgstr "الأخطاء"
217
218 #. type: TP
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "B<EBADF>"
223 msgstr "B<EBADF>"
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid "One or more file descriptors are not valid."
229 msgstr "واصف ملف واحد أو أكثر غير صالح."
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 msgid "I<fd_in> is not open for reading; or I<fd_out> is not open for writing."
235 msgstr "I<fd_in> غير مفتوح للقراءة؛ أو I<fd_out> غير مفتوح للكتابة."
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid ""
241 "The B<O_APPEND> flag is set for the open file description (see B<open>(2)) "
242 "referred to by the file descriptor I<fd_out>."
243 msgstr ""
244 "عُيّنت علامة B<O_APPEND> لوصف الملف المفتوح (انظر B<open>(2)) المشار إليه "
245 "بواصف الملف I<fd_out>."
246
247 #. type: TP
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "B<EFBIG>"
252 msgstr "B<EFBIG>"
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 msgid ""
258 "An attempt was made to write at a position past the maximum file offset the "
259 "kernel supports."
260 msgstr "جرت محاولة للكتابة في موضع يتجاوز أقصى إزاحة ملف تدعمها النواة."
261
262 #. type: Plain text
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 msgid ""
266 "An attempt was made to write a range that exceeds the allowed maximum file "
267 "size. The maximum file size differs between filesystem implementations and "
268 "can be different from the maximum allowed file offset."
269 msgstr ""
270 "جرت محاولة لكتابة نطاق يتجاوز الحد الأقصى المسموح به لحجم الملف. يختلف الحد "
271 "الأقصى لحجم الملف بين تطبيقات نظام الملفات ويمكن أن يكون مختلفًا عن أقصى "
272 "إزاحة ملف مسموح بها."
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid ""
278 "An attempt was made to write beyond the process's file size resource limit. "
279 "This may also result in the process receiving a B<SIGXFSZ> signal."
280 msgstr ""
281 "جرت محاولة للكتابة تتجاوز حد مورد حجم ملف العملية. قد يؤدي هذا أيضًا إلى "
282 "استلام العملية إشارة B<SIGXFSZ>."
283
284 #. type: TP
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 #, no-wrap
288 msgid "B<EINVAL>"
289 msgstr "B<EINVAL>"
290
291 #. type: Plain text
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 msgid "The I<flags> argument is not 0."
295 msgstr "وسيطة I<flags> ليست 0."
296
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 "I<fd_in> and I<fd_out> refer to the same file and the source and target "
302 "ranges overlap."
303 msgstr "يشير I<fd_in> و I<fd_out> إلى نفس الملف وتتداخل نطاقات المصدر والهدف."
304
305 #. type: Plain text
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 msgid "Either I<fd_in> or I<fd_out> is not a regular file."
309 msgstr "إما I<fd_in> أو I<fd_out> ليس ملفًا عاديًا."
310
311 #. type: TP
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, no-wrap
315 msgid "B<EIO>"
316 msgstr "B<EIO>"
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 msgid "A low-level I/O error occurred while copying."
322 msgstr "حدث خطأ إدخال/إخراج منخفض المستوى أثناء النسخ."
323
324 #. type: TP
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 #, no-wrap
328 msgid "B<EISDIR>"
329 msgstr "B<EISDIR>"
330
331 #. type: Plain text
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 msgid "Either I<fd_in> or I<fd_out> refers to a directory."
335 msgstr "إما I<fd_in> أو I<fd_out> يشير إلى دليل."
336
337 #. type: TP
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 #, no-wrap
341 msgid "B<ENOMEM>"
342 msgstr "B<ENOMEM>"
343
344 #. type: Plain text
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 msgid "Out of memory."
348 msgstr "نفدت الذاكرة."
349
350 #. type: TP
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "B<ENOSPC>"
355 msgstr "B<ENOSPC>"
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 msgid ""
361 "There is not enough space on the target filesystem to complete the copy."
362 msgstr "لا توجد مساحة كافية على نظام الملفات الهدف لإكمال النسخ."
363
364 #. type: TP
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 #, no-wrap
368 msgid "B<EOPNOTSUPP> (since Linux 5.19)"
369 msgstr "B<EOPNOTSUPP> (منذ لينكس 5.19)"
370
371 #. commit 868f9f2f8e004bfe0d3935b1976f625b2924893b
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 msgid "The filesystem does not support this operation."
376 msgstr "نظام الملفات لا يدعم هذه العملية."
377
378 #. type: TP
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 #, no-wrap
382 msgid "B<EOVERFLOW>"
383 msgstr "B<EOVERFLOW>"
384
385 #. type: Plain text
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 msgid ""
389 "The requested source or destination range is too large to represent in the "
390 "specified data types."
391 msgstr ""
392 "نطاق المصدر أو الوجهة المطلوب كبير جدًا بحيث لا يمكن تمثيله في أنواع البيانات "
393 "المحددة."
394
395 #. type: TP
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
398 #, no-wrap
399 msgid "B<EPERM>"
400 msgstr "B<EPERM>"
401
402 #. type: Plain text
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 msgid "I<fd_out> refers to an immutable file."
406 msgstr "I<fd_out> يشير إلى ملف غير قابل للتغيير."
407
408 #. type: TP
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 #, no-wrap
412 msgid "B<ETXTBSY>"
413 msgstr "B<ETXTBSY>"
414
415 #. type: Plain text
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 msgid "Either I<fd_in> or I<fd_out> refers to an active swap file."
419 msgstr "إما I<fd_in> أو I<fd_out> يشير إلى ملف مبادلة نشط."
420
421 #. type: TP
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, no-wrap
425 msgid "B<EXDEV> (before Linux 5.3)"
426 msgstr "B<EXDEV> (قبل لينكس 5.3)"
427
428 #. commit 5dae222a5ff0c269730393018a5539cc970a4726
429 #. type: Plain text
430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
432 msgid ""
433 "The files referred to by I<fd_in> and I<fd_out> are not on the same "
434 "filesystem."
435 msgstr ""
436 "الملفات المشار إليها بواسطة I<fd_in> و I<fd_out> ليست على نفس نظام الملفات."
437
438 #. type: TP
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 #, no-wrap
442 msgid "B<EXDEV> (since Linux 5.19)"
443 msgstr "B<EXDEV> (منذ لينكس 5.19)"
444
445 #. commit 868f9f2f8e004bfe0d3935b1976f625b2924893b
446 #. type: Plain text
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 msgid ""
450 "The files referred to by I<fd_in> and I<fd_out> are not on the same "
451 "filesystem, and the source and target filesystems are not of the same type, "
452 "or do not support cross-filesystem copy."
453 msgstr ""
454 "الملفات المشار إليها بواسطة I<fd_in> و I<fd_out> ليست على نفس نظام الملفات، "
455 "وأنظمة الملفات المصدر والهدف ليست من نفس النوع، أو لا تدعم النسخ عبر أنظمة "
456 "الملفات."
457
458 #. type: SH
459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
461 #, no-wrap
462 msgid "VERSIONS"
463 msgstr "الإصدارات"
464
465 #. type: Plain text
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 msgid ""
469 "A major rework of the kernel implementation occurred in Linux 5.3. Areas of "
470 "the API that weren't clearly defined were clarified and the API bounds are "
471 "much more strictly checked than on earlier kernels."
472 msgstr ""
473 "حدثت إعادة صياغة رئيسية لتنفيذ النواة في لينكس 5.3. تم توضيح مجالات واجهة "
474 "برمجة التطبيقات التي لم تكن محددة بوضوح، ويتم فحص حدود واجهة برمجة التطبيقات "
475 "بشكل أكثر صرامة من النوى السابقة."
476
477 #. type: Plain text
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 msgid ""
481 "Since Linux 5.19, cross-filesystem copies can be achieved when both "
482 "filesystems are of the same type, and that filesystem implements support for "
483 "it. See BUGS for behavior prior to Linux 5.19."
484 msgstr ""
485 "منذ لينكس 5.19، يمكن تحقيق النسخ عبر أنظمة الملفات عندما يكون كلا نظامي "
486 "الملفات من نفس النوع، وينفذ نظام الملفات ذلك الدعم. انظر BUGS للسلوك قبل "
487 "لينكس 5.19."
488
489 #. type: Plain text
490 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
491 #: opensuse-tumbleweed
492 msgid ""
493 "Applications should target the behavior and requirements of Linux 5.19, that "
494 "was also backported to earlier stable kernels."
495 msgstr ""
496 "يجب أن تستهدف التطبيقات سلوك ومتطلبات لينكس 5.19، والتي تم أيضًا نقلها إلى "
497 "النوى المستقرة السابقة."
498
499 #. type: SH
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 #, no-wrap
503 msgid "STANDARDS"
504 msgstr "المعايير"
505
506 #. type: Plain text
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 msgid "Linux, GNU."
510 msgstr "لينكس، جنو."
511
512 #. type: SH
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 #, no-wrap
516 msgid "HISTORY"
517 msgstr "التاريخ"
518
519 #. type: Plain text
520 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
521 #: opensuse-tumbleweed
522 msgid "Linux 4.5."
523 msgstr "لينكس 4.5."
524
525 #. glibc.git bad7a0c81f50 (2017-12-22; "copy_file_range: New function to copy file data")
526 #. glibc.git 5a659ccc0ec2 (2019-06-28; "io: Remove copy_file_range emulation [BZ #24744]")
527 #. type: Plain text
528 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
529 #: opensuse-tumbleweed
530 msgid ""
531 "Before glibc 2.30, starting with glibc 2.27, the glibc wrapper function "
532 "provided a user-space fallback implementation when the kernel did not "
533 "implement this system call. Since glibc 2.30, that fallback has been "
534 "removed; the function now fails with ENOSYS if the kernel lacks support for ."
535 "BR copy_file_range ()."
536 msgstr ""
537 "قبل glibc 2.30، بدءًا من glibc 2.27، وفرت دالة الغلاف glibc تنفيذًا احتياطيًا "
538 "في مساحة المستخدم عندما لم تنفذ النواة استدعاء النظام هذا. منذ glibc 2.30، "
539 "تمت إزالة ذلك الاحتياطي؛ تفشل الدالة الآن مع ENOSYS إذا كانت النواة تفتقر "
540 "إلى دعم .BR copy_file_range ()."
541
542 #. type: SH
543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
545 #, no-wrap
546 msgid "NOTES"
547 msgstr "ملاحظات"
548
549 #. type: Plain text
550 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
551 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
552 msgid ""
553 "If I<fd_in> is a sparse file, then B<copy_file_range>() may expand any "
554 "holes existing in the requested range. Users may benefit from calling "
555 "B<copy_file_range>() in a loop, and using the B<lseek>(2) B<SEEK_DATA> and "
556 "B<SEEK_HOLE> operations to find the locations of data segments."
557 msgstr ""
558 "إذا كان I<fd_in> ملفًا متناثرًا، فقد يقوم B<copy_file_range>() بتوسيع أي ثغرات "
559 "موجودة في النطاق المطلوب. قد يستفيد المستخدمون من استدعاء "
560 "B<copy_file_range>() في حلقة، واستخدام عمليات B<lseek>(2) B<SEEK_DATA> و "
561 "B<SEEK_HOLE> للعثور على مواقع مقاطع البيانات."
562
563 #. type: Plain text
564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
566 msgid ""
567 "B<copy_file_range>() gives filesystems an opportunity to implement \"copy "
568 "acceleration\" techniques, such as the use of reflinks (i.e., two or more "
569 "inodes that share pointers to the same copy-on-write disk blocks) or server-"
570 "side-copy (in the case of NFS)."
571 msgstr ""
572 "يمنح B<copy_file_range>() أنظمة الملفات فرصة لتنفيذ تقنيات \"تسريع النسخ\"، "
573 "مثل استخدام إعادة الروابط (أي اثنين أو أكثر من العقد التي تشترك في مؤشرات "
574 "لنفس كتل القرص القابلة للنسخ عند الكتابة) أو النسخ من جانب الخادم (في حالة "
575 "NFS)."
576
577 #. type: Plain text
578 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
579 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
580 msgid ""
581 "B<_FILE_OFFSET_BITS> should be defined to be 64 in code that uses non-null "
582 "I<off_in> or I<off_out> or that takes the address of B<copy_file_range>, if "
583 "the code is intended to be portable to traditional 32-bit x86 and ARM "
584 "platforms where B<off_t>'s width defaults to 32 bits."
585 msgstr ""
586 "يجب تعريف B<_FILE_OFFSET_BITS> على أنه 64 في الكود الذي يستخدم I<off_in> أو "
587 "I<off_out> غير فارغ أو الذي يأخذ عنوان B<copy_file_range>، إذا كان الكود "
588 "مخصصًا ليكون محمولاً إلى منصات x86 و ARM التقليدية 32 بت حيث يكون عرض B<off_t> "
589 "مبدئيًا 32 بت."
590
591 #. type: SH
592 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
593 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
594 #, no-wrap
595 msgid "BUGS"
596 msgstr "العلل"
597
598 #. type: Plain text
599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
601 msgid ""
602 "In Linux 5.3 to Linux 5.18, cross-filesystem copies were implemented by the "
603 "kernel, if the operation was not supported by individual filesystems. "
604 "However, on some virtual filesystems, the call failed to copy, while still "
605 "reporting success."
606 msgstr ""
607 "في لينكس 5.3 إلى لينكس 5.18، تم تنفيذ النسخ عبر أنظمة الملفات بواسطة النواة، "
608 "إذا لم تكن العملية مدعومة من قبل أنظمة الملفات الفردية. ومع ذلك، في بعض "
609 "أنظمة الملفات الافتراضية، فشل الاستدعاء في النسخ، مع الإبلاغ عن النجاح."
610
611 #. type: SH
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 #, no-wrap
615 msgid "EXAMPLES"
616 msgstr "أمثلة"
617
618 #. type: Plain text
619 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
620 #: opensuse-leap-16-1 opensuse-tumbleweed
621 #, no-wrap
622 msgid ""
623 "#define _GNU_SOURCE\n"
624 "#define _FILE_OFFSET_BITS 64\n"
625 "#include E<lt>fcntl.hE<gt>\n"
626 "#include E<lt>stdio.hE<gt>\n"
627 "#include E<lt>stdlib.hE<gt>\n"
628 "#include E<lt>sys/stat.hE<gt>\n"
629 "#include E<lt>sys/types.hE<gt>\n"
630 "#include E<lt>unistd.hE<gt>\n"
631 "\\&\n"
632 "int\n"
633 "main(int argc, char *argv[])\n"
634 "{\n"
635 " int fd_in, fd_out;\n"
636 " off_t size, ret;\n"
637 " struct stat stat;\n"
638 "\\&\n"
639 " if (argc != 3) {\n"
640 " fprintf(stderr, \"Usage: %s E<lt>sourceE<gt> E<lt>destinationE<gt>\\[rs]n\", argv[0]);\n"
641 " exit(EXIT_FAILURE);\n"
642 " }\n"
643 "\\&\n"
644 " fd_in = open(argv[1], O_RDONLY);\n"
645 " if (fd_in == -1) {\n"
646 " perror(\"open (argv[1])\");\n"
647 " exit(EXIT_FAILURE);\n"
648 " }\n"
649 "\\&\n"
650 " if (fstat(fd_in, &stat) == -1) {\n"
651 " perror(\"fstat\");\n"
652 " exit(EXIT_FAILURE);\n"
653 " }\n"
654 "\\&\n"
655 " size = stat.st_size;\n"
656 "\\&\n"
657 " fd_out = open(argv[2], O_CREAT | O_WRONLY | O_TRUNC, 0644);\n"
658 " if (fd_out == -1) {\n"
659 " perror(\"open (argv[2])\");\n"
660 " exit(EXIT_FAILURE);\n"
661 " }\n"
662 "\\&\n"
663 " do {\n"
664 " ret = copy_file_range(fd_in, NULL, fd_out, NULL, size, 0);\n"
665 " if (ret == -1) {\n"
666 " perror(\"copy_file_range\");\n"
667 " exit(EXIT_FAILURE);\n"
668 " }\n"
669 "\\&\n"
670 " size -= ret;\n"
671 " } while (size E<gt> 0 && ret E<gt> 0);\n"
672 "\\&\n"
673 " close(fd_in);\n"
674 " close(fd_out);\n"
675 " exit(EXIT_SUCCESS);\n"
676 "}\n"
677 msgstr ""
678 "#define _GNU_SOURCE\n"
679 "#define _FILE_OFFSET_BITS 64\n"
680 "#include E<lt>fcntl.hE<gt>\n"
681 "#include E<lt>stdio.hE<gt>\n"
682 "#include E<lt>stdlib.hE<gt>\n"
683 "#include E<lt>sys/stat.hE<gt>\n"
684 "#include E<lt>sys/types.hE<gt>\n"
685 "#include E<lt>unistd.hE<gt>\n"
686 "\\&\n"
687 "int\n"
688 "main(int argc, char *argv[])\n"
689 "{\n"
690 " int fd_in, fd_out;\n"
691 " off_t size, ret;\n"
692 " struct stat stat;\n"
693 "\\&\n"
694 " if (argc != 3) {\n"
695 " fprintf(stderr, \"الاستخدام: %s E<lt>المصدرE<gt> E<lt>الوجهةE<gt>\\[rs]n\", argv[0]);\n"
696 " exit(EXIT_FAILURE);\n"
697 " }\n"
698 "\\&\n"
699 " fd_in = open(argv[1], O_RDONLY);\n"
700 " if (fd_in == -1) {\n"
701 " perror(\"open (argv[1])\");\n"
702 " exit(EXIT_FAILURE);\n"
703 " }\n"
704 "\\&\n"
705 " if (fstat(fd_in, &stat) == -1) {\n"
706 " perror(\"fstat\");\n"
707 " exit(EXIT_FAILURE);\n"
708 " }\n"
709 "\\&\n"
710 " size = stat.st_size;\n"
711 "\\&\n"
712 " fd_out = open(argv[2], O_CREAT | O_WRONLY | O_TRUNC, 0644);\n"
713 " if (fd_out == -1) {\n"
714 " perror(\"open (argv[2])\");\n"
715 " exit(EXIT_FAILURE);\n"
716 " }\n"
717 "\\&\n"
718 " do {\n"
719 " ret = copy_file_range(fd_in, NULL, fd_out, NULL, size, 0);\n"
720 " if (ret == -1) {\n"
721 " perror(\"copy_file_range\");\n"
722 " exit(EXIT_FAILURE);\n"
723 " }\n"
724 "\\&\n"
725 " size -= ret;\n"
726 " } while (size E<gt> 0 && ret E<gt> 0);\n"
727 "\\&\n"
728 " close(fd_in);\n"
729 " close(fd_out);\n"
730 " exit(EXIT_SUCCESS);\n"
731 "}\n"
732
733 #. SRC END
734 #. type: SH
735 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
736 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
737 #, no-wrap
738 msgid "SEE ALSO"
739 msgstr "انظر أيضًا"
740
741 #. type: Plain text
742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
744 msgid "B<lseek>(2), B<sendfile>(2), B<splice>(2)"
745 msgstr "B<lseek>(2), B<sendfile>(2), B<splice>(2)"
746
747 #. type: TH
748 #: debian-trixie
749 #, no-wrap
750 msgid "2024-06-15"
751 msgstr "15 يونيو 2024"
752
753 #. type: TH
754 #: debian-trixie
755 #, no-wrap
756 msgid "Linux man-pages 6.9.1"
757 msgstr "صفحات دليل لينكس 6.9.1"
758
759 #. type: Plain text
760 #: debian-trixie
761 msgid "Standard C library (I<libc>, I<-lc>)"
762 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
763
764 #. type: Plain text
765 #: debian-trixie
766 #, no-wrap
767 msgid ""
768 "B<ssize_t copy_file_range(int >I<fd_in>B<, off_t *_Nullable >I<off_in>B<,>\n"
769 "B< int >I<fd_out>B<, off_t *_Nullable >I<off_out>B<,>\n"
770 "B< size_t >I<len>B<, unsigned int >I<flags>B<);>\n"
771 msgstr ""
772 "B<ssize_t copy_file_range(int >I<fd_in>B<, off_t *_Nullable >I<off_in>B<,>\n"
773 "B< int >I<fd_out>B<, off_t *_Nullable >I<off_out>B<,>\n"
774 "B< size_t >I<len>B<, unsigned int >I<flags>B<);>\n"
775
776 #. type: Plain text
777 #: debian-trixie
778 msgid ""
779 "The B<copy_file_range>() system call performs an in-kernel copy between two "
780 "file descriptors without the additional cost of transferring data from the "
781 "kernel to user space and then back into the kernel. It copies up to I<len> "
782 "bytes of data from the source file descriptor I<fd_in> to the target file "
783 "descriptor I<fd_out>, overwriting any data that exists within the requested "
784 "range of the target file."
785 msgstr ""
786 "يقوم استدعاء النظام B<copy_file_range>() بنسخ داخل النواة بين واصفي ملفين "
787 "دون التكلفة الإضافية لنقل البيانات من النواة إلى مساحة المستخدم ثم العودة "
788 "إلى النواة. ينسخ ما يصل إلى I<len> بايت من البيانات من واصف الملف المصدر "
789 "I<fd_in> إلى واصف الملف الهدف I<fd_out>، مع الكتابة فوق أي بيانات موجودة ضمن "
790 "النطاق المطلوب من الملف الهدف."
791
792 #. type: Plain text
793 #: debian-trixie
794 msgid ""
795 "Upon successful completion, B<copy_file_range>() will return the number of "
796 "bytes copied between files. This could be less than the length originally "
797 "requested. If the file offset of I<fd_in> is at or past the end of file, no "
798 "bytes are copied, and B<copy_file_range>() returns zero."
799 msgstr ""
800 "عند الإكمال بنجاح، يُرجع B<copy_file_range>() عدد البايتات المنسوخة بين "
801 "الملفات. قد يكون هذا أقل من الطول المطلوب أصلاً. إذا كان إزاحة الملف لـ "
802 "I<fd_in> عند نهاية الملف أو بعدها، فلا يتم نسخ أي بايتات، ويُرجع "
803 "B<copy_file_range>() صفرًا."
804
805 #. type: Plain text
806 #: debian-trixie fedora-44 fedora-rawhide
807 msgid ""
808 "Applications should target the behaviour and requirements of Linux 5.19, "
809 "that was also backported to earlier stable kernels."
810 msgstr ""
811 "يجب أن تستهدف التطبيقات سلوك ومتطلبات لينكس 5.19، والتي تم أيضًا نقلها إلى "
812 "النوى المستقرة السابقة."
813
814 #. https://sourceware.org/git/?p=glibc.git;a=commit;f=posix/unistd.h;h=bad7a0c81f501fbbcc79af9eaa4b8254441c4a1f
815 #. type: Plain text
816 #: debian-trixie fedora-44 fedora-rawhide
817 msgid ""
818 "Linux 4.5, but glibc 2.27 provides a user-space emulation when it is not "
819 "available."
820 msgstr ""
821 "لينكس 4.5، لكن glibc 2.27 يوفر محاكاة في مساحة المستخدم عندما لا يكون متاحًا."
822
823 #. type: Plain text
824 #: debian-trixie
825 #, no-wrap
826 msgid ""
827 "#define _GNU_SOURCE\n"
828 "#define _FILE_OFFSET_BITS 64\n"
829 "#include E<lt>fcntl.hE<gt>\n"
830 "#include E<lt>stdio.hE<gt>\n"
831 "#include E<lt>stdlib.hE<gt>\n"
832 "#include E<lt>sys/stat.hE<gt>\n"
833 "#include E<lt>sys/types.hE<gt>\n"
834 "#include E<lt>unistd.hE<gt>\n"
835 "\\&\n"
836 "int\n"
837 "main(int argc, char *argv[])\n"
838 "{\n"
839 " int fd_in, fd_out;\n"
840 " off_t len, ret;\n"
841 " struct stat stat;\n"
842 "\\&\n"
843 " if (argc != 3) {\n"
844 " fprintf(stderr, \"Usage: %s E<lt>sourceE<gt> E<lt>destinationE<gt>\\[rs]n\", argv[0]);\n"
845 " exit(EXIT_FAILURE);\n"
846 " }\n"
847 "\\&\n"
848 " fd_in = open(argv[1], O_RDONLY);\n"
849 " if (fd_in == -1) {\n"
850 " perror(\"open (argv[1])\");\n"
851 " exit(EXIT_FAILURE);\n"
852 " }\n"
853 "\\&\n"
854 " if (fstat(fd_in, &stat) == -1) {\n"
855 " perror(\"fstat\");\n"
856 " exit(EXIT_FAILURE);\n"
857 " }\n"
858 "\\&\n"
859 " len = stat.st_size;\n"
860 "\\&\n"
861 " fd_out = open(argv[2], O_CREAT | O_WRONLY | O_TRUNC, 0644);\n"
862 " if (fd_out == -1) {\n"
863 " perror(\"open (argv[2])\");\n"
864 " exit(EXIT_FAILURE);\n"
865 " }\n"
866 "\\&\n"
867 " do {\n"
868 " ret = copy_file_range(fd_in, NULL, fd_out, NULL, len, 0);\n"
869 " if (ret == -1) {\n"
870 " perror(\"copy_file_range\");\n"
871 " exit(EXIT_FAILURE);\n"
872 " }\n"
873 "\\&\n"
874 " len -= ret;\n"
875 " } while (len E<gt> 0 && ret E<gt> 0);\n"
876 "\\&\n"
877 " close(fd_in);\n"
878 " close(fd_out);\n"
879 " exit(EXIT_SUCCESS);\n"
880 "}\n"
881 msgstr ""
882 "#define _GNU_SOURCE\n"
883 "#define _FILE_OFFSET_BITS 64\n"
884 "#include E<lt>fcntl.hE<gt>\n"
885 "#include E<lt>stdio.hE<gt>\n"
886 "#include E<lt>stdlib.hE<gt>\n"
887 "#include E<lt>sys/stat.hE<gt>\n"
888 "#include E<lt>sys/types.hE<gt>\n"
889 "#include E<lt>unistd.hE<gt>\n"
890 "\\&\n"
891 "int\n"
892 "main(int argc, char *argv[])\n"
893 "{\n"
894 " int fd_in, fd_out;\n"
895 " off_t len, ret;\n"
896 " struct stat stat;\n"
897 "\\&\n"
898 " if (argc != 3) {\n"
899 " fprintf(stderr, \"Usage: %s E<lt>sourceE<gt> E<lt>destinationE<gt>\\[rs]n\", argv[0]);\n"
900 " exit(EXIT_FAILURE);\n"
901 " }\n"
902 "\\&\n"
903 " fd_in = open(argv[1], O_RDONLY);\n"
904 " if (fd_in == -1) {\n"
905 " perror(\"open (argv[1])\");\n"
906 " exit(EXIT_FAILURE);\n"
907 " }\n"
908 "\\&\n"
909 " if (fstat(fd_in, &stat) == -1) {\n"
910 " perror(\"fstat\");\n"
911 " exit(EXIT_FAILURE);\n"
912 " }\n"
913 "\\&\n"
914 " len = stat.st_size;\n"
915 "\\&\n"
916 " fd_out = open(argv[2], O_CREAT | O_WRONLY | O_TRUNC, 0644);\n"
917 " if (fd_out == -1) {\n"
918 " perror(\"open (argv[2])\");\n"
919 " exit(EXIT_FAILURE);\n"
920 " }\n"
921 "\\&\n"
922 " do {\n"
923 " ret = copy_file_range(fd_in, NULL, fd_out, NULL, len, 0);\n"
924 " if (ret == -1) {\n"
925 " perror(\"copy_file_range\");\n"
926 " exit(EXIT_FAILURE);\n"
927 " }\n"
928 "\\&\n"
929 " len -= ret;\n"
930 " } while (len E<gt> 0 && ret E<gt> 0);\n"
931 "\\&\n"
932 " close(fd_in);\n"
933 " close(fd_out);\n"
934 " exit(EXIT_SUCCESS);\n"
935 "}\n"
936
937 #. type: TH
938 #: fedora-44 fedora-rawhide
939 #, no-wrap
940 msgid "2024-11-17"
941 msgstr "17 نوفمبر 2024"
942
943 #. type: TH
944 #: fedora-44 fedora-rawhide
945 #, no-wrap
946 msgid "Linux man-pages 6.13"
947 msgstr "صفحات دليل لينكس 6.13"
948
949 #. type: TH
950 #: mageia-cauldron
951 #, no-wrap
952 msgid "Linux man-pages 6.17"
953 msgstr "صفحات دليل لينكس 6.17"
954
955 #. type: TH
956 #: opensuse-leap-16-1 opensuse-tumbleweed
957 #, no-wrap
958 msgid "Linux man-pages (unreleased)"
959 msgstr "صفحات دليل لينكس (لم تصدر بعد)"