# Arabic translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # زايد السعيدي , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.30.2\n" "POT-Creation-Date: 2026-06-05 06:21+0200\n" "PO-Revision-Date: 2026-05-17 19:33+0400\n" "Last-Translator: Zayed Al-Saidi \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "X-Generator: Lokalize 23.08.5\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "copy_file_range" msgstr "copy_file_range" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8 فبراير 2026" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "صفحات دليل لينكس 6.18" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "الاسم" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "copy_file_range - Copy a range of data from one file to another" msgstr "copy_file_range - نسخ نطاق من البيانات من ملف إلى آخر" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "المكتبة" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "مكتبة سي المعيارية (I،\\ I<-lc>)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "موجز" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "B<#define _GNU_SOURCE>\n" "B<#define _FILE_OFFSET_BITS 64>\n" "B<#include Eunistd.hE>\n" msgstr "" "B<#define _GNU_SOURCE>\n" "B<#define _FILE_OFFSET_BITS 64>\n" "B<#include Eunistd.hE>\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "BIB<, off_t *_Nullable >IB<,>\n" "B< int >IB<, off_t *_Nullable >IB<,>\n" "B< size_t >IB<, unsigned int >IB<);>\n" msgstr "" "BIB<, off_t *_Nullable >IB<,>\n" "B< int >IB<, off_t *_Nullable >IB<,>\n" "B< size_t >IB<, unsigned int >IB<);>\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "الوصف" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() system call performs an in-kernel copy between two " "file descriptors without the additional cost of transferring data from the " "kernel to user space and then back into the kernel. It copies up to I " "bytes of data from the source file descriptor I to the target file " "descriptor I, overwriting any data that exists within the requested " "range of the target file." msgstr "" "استدعاء النظام B() ينفذ نسخًا داخل النواة بين واصفي ملفين " "دون التكلفة الإضافية لنقل البيانات من النواة إلى مساحة المستخدم ثم العودة " "إلى النواة. ينسخ حتى I بايت من البيانات من واصف الملف المصدر I " "إلى واصف الملف الهدف I، مع استبدال أي بيانات موجودة ضمن النطاق " "المطلوب من الملف الهدف." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following semantics apply for I, and similar statements apply to " "I:" msgstr "" "تنطبق الدلالات التالية على I، وتنطبق عبارات مماثلة على I:" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\[bu]" msgstr "\\[bu]" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If I is NULL, then bytes are read from I starting from the " "file offset, and the file offset is adjusted by the number of bytes copied." msgstr "" "إذا كان I فارغًا (NULL)، تُقرأ البايتات من I بدءًا من إزاحة " "الملف، ويُضبط إزاحة الملف بعدد البايتات المنسوخة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If I is not NULL, then I must point to a buffer that " "specifies the starting offset where bytes from I will be read. The " "file offset of I is not changed, but I is adjusted " "appropriately." msgstr "" "إذا لم يكن I فارغًا (NULL)، يجب أن يشير I إلى مخزن مؤقت يحدد " "إزاحة البداية حيث ستُقرأ البايتات من I. لا تتغير إزاحة ملف I، " "لكن يُضبط I بشكل مناسب." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I and I can refer to the same file. If they refer to the " "same file, then the source and target ranges are not allowed to overlap." msgstr "" "يمكن أن يشير I و I إلى نفس الملف. إذا كانا يشيران إلى نفس " "الملف، فلا يُسمح بتداخل نطاقي المصدر والهدف." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I argument is provided to allow for future extensions and " "currently must be set to 0." msgstr "" "وُفر المعامل I للسماح بالتوسعات المستقبلية ويجب ضبطه حاليًا على 0." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "قيمة الإرجاع" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Upon successful completion, B() will return the number of " "bytes copied between files. This could be less than the size originally " "requested. If the file offset of I is at or past the end of file, no " "bytes are copied, and B() returns zero." msgstr "" "عند الإكمال بنجاح، يُرجع B() عدد البايتات المنسوخة بين " "الملفات. قد يكون هذا أقل من الحجم المطلوب أصلاً. إذا كانت إزاحة ملف I " "عند نهاية الملف أو بعدها، لا تُنسخ أي بايتات، ويُرجع B() " "صفرًا." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On error, B() returns -1 and I is set to indicate " "the error." msgstr "" "عند الخطأ، يُرجع B() -1 ويُضبط I للإشارة إلى الخطأ." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "الأخطاء" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "One or more file descriptors are not valid." msgstr "واصف ملف واحد أو أكثر غير صالح." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "I is not open for reading; or I is not open for writing." msgstr "I غير مفتوح للقراءة؛ أو I غير مفتوح للكتابة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B flag is set for the open file description (see B(2)) " "referred to by the file descriptor I." msgstr "" "عُيّنت علامة B لوصف الملف المفتوح (انظر B(2)) المشار إليه " "بواصف الملف I." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "An attempt was made to write at a position past the maximum file offset the " "kernel supports." msgstr "جرت محاولة للكتابة في موضع يتجاوز أقصى إزاحة ملف تدعمها النواة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "An attempt was made to write a range that exceeds the allowed maximum file " "size. The maximum file size differs between filesystem implementations and " "can be different from the maximum allowed file offset." msgstr "" "جرت محاولة لكتابة نطاق يتجاوز الحد الأقصى المسموح به لحجم الملف. يختلف الحد " "الأقصى لحجم الملف بين تطبيقات نظام الملفات ويمكن أن يكون مختلفًا عن أقصى " "إزاحة ملف مسموح بها." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "An attempt was made to write beyond the process's file size resource limit. " "This may also result in the process receiving a B signal." msgstr "" "جرت محاولة للكتابة تتجاوز حد مورد حجم ملف العملية. قد يؤدي هذا أيضًا إلى " "استلام العملية إشارة B." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The I argument is not 0." msgstr "وسيطة I ليست 0." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I and I refer to the same file and the source and target " "ranges overlap." msgstr "يشير I و I إلى نفس الملف وتتداخل نطاقات المصدر والهدف." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Either I or I is not a regular file." msgstr "إما I أو I ليس ملفًا عاديًا." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "A low-level I/O error occurred while copying." msgstr "حدث خطأ إدخال/إخراج منخفض المستوى أثناء النسخ." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Either I or I refers to a directory." msgstr "إما I أو I يشير إلى دليل." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Out of memory." msgstr "نفدت الذاكرة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "There is not enough space on the target filesystem to complete the copy." msgstr "لا توجد مساحة كافية على نظام الملفات الهدف لإكمال النسخ." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 5.19)" msgstr "B (منذ لينكس 5.19)" #. commit 868f9f2f8e004bfe0d3935b1976f625b2924893b #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The filesystem does not support this operation." msgstr "نظام الملفات لا يدعم هذه العملية." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The requested source or destination range is too large to represent in the " "specified data types." msgstr "" "نطاق المصدر أو الوجهة المطلوب كبير جدًا بحيث لا يمكن تمثيله في أنواع البيانات " "المحددة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "I refers to an immutable file." msgstr "I يشير إلى ملف غير قابل للتغيير." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Either I or I refers to an active swap file." msgstr "إما I أو I يشير إلى ملف مبادلة نشط." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (before Linux 5.3)" msgstr "B (قبل لينكس 5.3)" #. commit 5dae222a5ff0c269730393018a5539cc970a4726 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The files referred to by I and I are not on the same " "filesystem." msgstr "" "الملفات المشار إليها بواسطة I و I ليست على نفس نظام الملفات." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 5.19)" msgstr "B (منذ لينكس 5.19)" #. commit 868f9f2f8e004bfe0d3935b1976f625b2924893b #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The files referred to by I and I are not on the same " "filesystem, and the source and target filesystems are not of the same type, " "or do not support cross-filesystem copy." msgstr "" "الملفات المشار إليها بواسطة I و I ليست على نفس نظام الملفات، " "وأنظمة الملفات المصدر والهدف ليست من نفس النوع، أو لا تدعم النسخ عبر أنظمة " "الملفات." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "VERSIONS" msgstr "الإصدارات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A major rework of the kernel implementation occurred in Linux 5.3. Areas of " "the API that weren't clearly defined were clarified and the API bounds are " "much more strictly checked than on earlier kernels." msgstr "" "حدثت إعادة صياغة رئيسية لتنفيذ النواة في لينكس 5.3. تم توضيح مجالات واجهة " "برمجة التطبيقات التي لم تكن محددة بوضوح، ويتم فحص حدود واجهة برمجة التطبيقات " "بشكل أكثر صرامة من النوى السابقة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since Linux 5.19, cross-filesystem copies can be achieved when both " "filesystems are of the same type, and that filesystem implements support for " "it. See BUGS for behavior prior to Linux 5.19." msgstr "" "منذ لينكس 5.19، يمكن تحقيق النسخ عبر أنظمة الملفات عندما يكون كلا نظامي " "الملفات من نفس النوع، وينفذ نظام الملفات ذلك الدعم. انظر BUGS للسلوك قبل " "لينكس 5.19." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Applications should target the behavior and requirements of Linux 5.19, that " "was also backported to earlier stable kernels." msgstr "" "يجب أن تستهدف التطبيقات سلوك ومتطلبات لينكس 5.19، والتي تم أيضًا نقلها إلى " "النوى المستقرة السابقة." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "المعايير" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Linux, GNU." msgstr "لينكس، جنو." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "التاريخ" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Linux 4.5." msgstr "لينكس 4.5." #. glibc.git bad7a0c81f50 (2017-12-22; "copy_file_range: New function to copy file data") #. glibc.git 5a659ccc0ec2 (2019-06-28; "io: Remove copy_file_range emulation [BZ #24744]") #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Before glibc 2.30, starting with glibc 2.27, the glibc wrapper function " "provided a user-space fallback implementation when the kernel did not " "implement this system call. Since glibc 2.30, that fallback has been " "removed; the function now fails with ENOSYS if the kernel lacks support for ." "BR copy_file_range ()." msgstr "" "قبل glibc 2.30، بدءًا من glibc 2.27، وفرت دالة الغلاف glibc تنفيذًا احتياطيًا " "في مساحة المستخدم عندما لم تنفذ النواة استدعاء النظام هذا. منذ glibc 2.30، " "تمت إزالة ذلك الاحتياطي؛ تفشل الدالة الآن مع ENOSYS إذا كانت النواة تفتقر " "إلى دعم .BR copy_file_range ()." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "ملاحظات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If I is a sparse file, then B() may expand any " "holes existing in the requested range. Users may benefit from calling " "B() in a loop, and using the B(2) B and " "B operations to find the locations of data segments." msgstr "" "إذا كان I ملفًا متناثرًا، فقد يقوم B() بتوسيع أي ثغرات " "موجودة في النطاق المطلوب. قد يستفيد المستخدمون من استدعاء " "B() في حلقة، واستخدام عمليات B(2) B و " "B للعثور على مواقع مقاطع البيانات." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() gives filesystems an opportunity to implement \"copy " "acceleration\" techniques, such as the use of reflinks (i.e., two or more " "inodes that share pointers to the same copy-on-write disk blocks) or server-" "side-copy (in the case of NFS)." msgstr "" "يمنح B() أنظمة الملفات فرصة لتنفيذ تقنيات \"تسريع النسخ\"، " "مثل استخدام إعادة الروابط (أي اثنين أو أكثر من العقد التي تشترك في مؤشرات " "لنفس كتل القرص القابلة للنسخ عند الكتابة) أو النسخ من جانب الخادم (في حالة " "NFS)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B<_FILE_OFFSET_BITS> should be defined to be 64 in code that uses non-null " "I or I or that takes the address of B, if " "the code is intended to be portable to traditional 32-bit x86 and ARM " "platforms where B's width defaults to 32 bits." msgstr "" "يجب تعريف B<_FILE_OFFSET_BITS> على أنه 64 في الكود الذي يستخدم I أو " "I غير فارغ أو الذي يأخذ عنوان B، إذا كان الكود " "مخصصًا ليكون محمولاً إلى منصات x86 و ARM التقليدية 32 بت حيث يكون عرض B " "مبدئيًا 32 بت." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "العلل" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In Linux 5.3 to Linux 5.18, cross-filesystem copies were implemented by the " "kernel, if the operation was not supported by individual filesystems. " "However, on some virtual filesystems, the call failed to copy, while still " "reporting success." msgstr "" "في لينكس 5.3 إلى لينكس 5.18، تم تنفيذ النسخ عبر أنظمة الملفات بواسطة النواة، " "إذا لم تكن العملية مدعومة من قبل أنظمة الملفات الفردية. ومع ذلك، في بعض " "أنظمة الملفات الافتراضية، فشل الاستدعاء في النسخ، مع الإبلاغ عن النجاح." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "أمثلة" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "#define _GNU_SOURCE\n" "#define _FILE_OFFSET_BITS 64\n" "#include Efcntl.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/stat.hE\n" "#include Esys/types.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int fd_in, fd_out;\n" " off_t size, ret;\n" " struct stat stat;\n" "\\&\n" " if (argc != 3) {\n" " fprintf(stderr, \"Usage: %s EsourceE EdestinationE\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fd_in = open(argv[1], O_RDONLY);\n" " if (fd_in == -1) {\n" " perror(\"open (argv[1])\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " if (fstat(fd_in, &stat) == -1) {\n" " perror(\"fstat\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " size = stat.st_size;\n" "\\&\n" " fd_out = open(argv[2], O_CREAT | O_WRONLY | O_TRUNC, 0644);\n" " if (fd_out == -1) {\n" " perror(\"open (argv[2])\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " do {\n" " ret = copy_file_range(fd_in, NULL, fd_out, NULL, size, 0);\n" " if (ret == -1) {\n" " perror(\"copy_file_range\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " size -= ret;\n" " } while (size E 0 && ret E 0);\n" "\\&\n" " close(fd_in);\n" " close(fd_out);\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#define _GNU_SOURCE\n" "#define _FILE_OFFSET_BITS 64\n" "#include Efcntl.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/stat.hE\n" "#include Esys/types.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int fd_in, fd_out;\n" " off_t size, ret;\n" " struct stat stat;\n" "\\&\n" " if (argc != 3) {\n" " fprintf(stderr, \"الاستخدام: %s EالمصدرE EالوجهةE\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fd_in = open(argv[1], O_RDONLY);\n" " if (fd_in == -1) {\n" " perror(\"open (argv[1])\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " if (fstat(fd_in, &stat) == -1) {\n" " perror(\"fstat\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " size = stat.st_size;\n" "\\&\n" " fd_out = open(argv[2], O_CREAT | O_WRONLY | O_TRUNC, 0644);\n" " if (fd_out == -1) {\n" " perror(\"open (argv[2])\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " do {\n" " ret = copy_file_range(fd_in, NULL, fd_out, NULL, size, 0);\n" " if (ret == -1) {\n" " perror(\"copy_file_range\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " size -= ret;\n" " } while (size E 0 && ret E 0);\n" "\\&\n" " close(fd_in);\n" " close(fd_out);\n" " exit(EXIT_SUCCESS);\n" "}\n" #. SRC END #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "انظر أيضًا" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B(2), B(2), B(2)" msgstr "B(2), B(2), B(2)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-15" msgstr "15 يونيو 2024" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "صفحات دليل لينكس 6.9.1" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "مكتبة سي المعيارية (I، I<-lc>)" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "BIB<, off_t *_Nullable >IB<,>\n" "B< int >IB<, off_t *_Nullable >IB<,>\n" "B< size_t >IB<, unsigned int >IB<);>\n" msgstr "" "BIB<, off_t *_Nullable >IB<,>\n" "B< int >IB<, off_t *_Nullable >IB<,>\n" "B< size_t >IB<, unsigned int >IB<);>\n" #. type: Plain text #: debian-trixie msgid "" "The B() system call performs an in-kernel copy between two " "file descriptors without the additional cost of transferring data from the " "kernel to user space and then back into the kernel. It copies up to I " "bytes of data from the source file descriptor I to the target file " "descriptor I, overwriting any data that exists within the requested " "range of the target file." msgstr "" "يقوم استدعاء النظام B() بنسخ داخل النواة بين واصفي ملفين " "دون التكلفة الإضافية لنقل البيانات من النواة إلى مساحة المستخدم ثم العودة " "إلى النواة. ينسخ ما يصل إلى I بايت من البيانات من واصف الملف المصدر " "I إلى واصف الملف الهدف I، مع الكتابة فوق أي بيانات موجودة ضمن " "النطاق المطلوب من الملف الهدف." #. type: Plain text #: debian-trixie msgid "" "Upon successful completion, B() will return the number of " "bytes copied between files. This could be less than the length originally " "requested. If the file offset of I is at or past the end of file, no " "bytes are copied, and B() returns zero." msgstr "" "عند الإكمال بنجاح، يُرجع B() عدد البايتات المنسوخة بين " "الملفات. قد يكون هذا أقل من الطول المطلوب أصلاً. إذا كان إزاحة الملف لـ " "I عند نهاية الملف أو بعدها، فلا يتم نسخ أي بايتات، ويُرجع " "B() صفرًا." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Applications should target the behaviour and requirements of Linux 5.19, " "that was also backported to earlier stable kernels." msgstr "" "يجب أن تستهدف التطبيقات سلوك ومتطلبات لينكس 5.19، والتي تم أيضًا نقلها إلى " "النوى المستقرة السابقة." #. https://sourceware.org/git/?p=glibc.git;a=commit;f=posix/unistd.h;h=bad7a0c81f501fbbcc79af9eaa4b8254441c4a1f #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Linux 4.5, but glibc 2.27 provides a user-space emulation when it is not " "available." msgstr "" "لينكس 4.5، لكن glibc 2.27 يوفر محاكاة في مساحة المستخدم عندما لا يكون متاحًا." #. type: Plain text #: debian-trixie #, no-wrap msgid "" "#define _GNU_SOURCE\n" "#define _FILE_OFFSET_BITS 64\n" "#include Efcntl.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/stat.hE\n" "#include Esys/types.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int fd_in, fd_out;\n" " off_t len, ret;\n" " struct stat stat;\n" "\\&\n" " if (argc != 3) {\n" " fprintf(stderr, \"Usage: %s EsourceE EdestinationE\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fd_in = open(argv[1], O_RDONLY);\n" " if (fd_in == -1) {\n" " perror(\"open (argv[1])\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " if (fstat(fd_in, &stat) == -1) {\n" " perror(\"fstat\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " len = stat.st_size;\n" "\\&\n" " fd_out = open(argv[2], O_CREAT | O_WRONLY | O_TRUNC, 0644);\n" " if (fd_out == -1) {\n" " perror(\"open (argv[2])\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " do {\n" " ret = copy_file_range(fd_in, NULL, fd_out, NULL, len, 0);\n" " if (ret == -1) {\n" " perror(\"copy_file_range\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " len -= ret;\n" " } while (len E 0 && ret E 0);\n" "\\&\n" " close(fd_in);\n" " close(fd_out);\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#define _GNU_SOURCE\n" "#define _FILE_OFFSET_BITS 64\n" "#include Efcntl.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/stat.hE\n" "#include Esys/types.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int fd_in, fd_out;\n" " off_t len, ret;\n" " struct stat stat;\n" "\\&\n" " if (argc != 3) {\n" " fprintf(stderr, \"Usage: %s EsourceE EdestinationE\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fd_in = open(argv[1], O_RDONLY);\n" " if (fd_in == -1) {\n" " perror(\"open (argv[1])\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " if (fstat(fd_in, &stat) == -1) {\n" " perror(\"fstat\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " len = stat.st_size;\n" "\\&\n" " fd_out = open(argv[2], O_CREAT | O_WRONLY | O_TRUNC, 0644);\n" " if (fd_out == -1) {\n" " perror(\"open (argv[2])\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " do {\n" " ret = copy_file_range(fd_in, NULL, fd_out, NULL, len, 0);\n" " if (ret == -1) {\n" " perror(\"copy_file_range\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " len -= ret;\n" " } while (len E 0 && ret E 0);\n" "\\&\n" " close(fd_in);\n" " close(fd_out);\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-11-17" msgstr "17 نوفمبر 2024" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "صفحات دليل لينكس 6.13" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "صفحات دليل لينكس 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "صفحات دليل لينكس (لم تصدر بعد)"