# 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:44+0200\n" "PO-Revision-Date: 2026-05-18 17:58+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 "splice" msgstr "splice" #. 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 "splice - splice data to/from a pipe" msgstr "splice - وصل البيانات من/إلى أنبوب" #. 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> /* See feature_test_macros(7) */\n" "B<#define _FILE_OFFSET_BITS 64>\n" "B<#include Efcntl.hE>\n" msgstr "" "B<#define _GNU_SOURCE> /* انظر feature_test_macros(7) */\n" "B<#define _FILE_OFFSET_BITS 64>\n" "B<#include Efcntl.hE>\n" #. Return type was long before glibc 2.7 #. 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 "" "B() moves data between two file descriptors without copying between " "kernel address space and user address space. It transfers up to I " "bytes of data from the file descriptor I to the file descriptor " "I, where one of the file descriptors must refer to a pipe." 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 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 refers to a pipe, then I must be NULL." msgstr "إذا كان I يشير إلى أنبوب، فيجب أن يكون I NULL." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If I does not refer to a pipe and I is NULL, then bytes are " "read from I starting from the file offset, and the file offset is " "adjusted appropriately." msgstr "" "إذا كان I لا يشير إلى أنبوب وكان I NULL، تُقرأ البايتات من " "I بدءًا من إزاحة الملف، وتُضبط إزاحة الملف بشكل مناسب." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If I does not refer to a pipe and I is not NULL, then " "I must point to a buffer which specifies the starting offset from " "which bytes will be read from I; in this case, the file offset of " "I is not changed, and the offset pointed to by I is adjusted " "appropriately instead." msgstr "" "إذا كان I لا يشير إلى أنبوب وكان 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 "Analogous statements apply for I and I." 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 a bit mask that is composed by ORing together zero " "or more of the following values:" msgstr "" "المعامل I هو قناع بتات (bit mask) يتكون من دمج صفر أو أكثر من القيم " "التالية باستخدام عملية OR المنطقية:" #. 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 "" "Attempt to move pages instead of copying. This is only a hint to the " "kernel: pages may still be copied if the kernel cannot move the pages from " "the pipe, or if the pipe buffers don't refer to full pages. The initial " "implementation of this flag was buggy: therefore starting in Linux 2.6.21 it " "is a no-op (but is still permitted in a B() call); in the future, a " "correct implementation may be restored." msgstr "" "محاولة نقل الصفحات بدلاً من نسخها. هذا مجرد تلميح للنواة: قد تُنسخ الصفحات إذا " "لم تستطع النواة نقل الصفحات من الأنبوب، أو إذا كانت مخازن الأنبوب المؤقتة لا " "تشير إلى صفحات كاملة. كان التنفيذ الأولي لهذه العلامة معيبًا: لذلك بدءًا من " "Linux 2.6.21 أصبحت بلا تأثير (ولكنها لا تزال مسموحة في استدعاء 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 "" "Do not block on I/O. This makes the splice pipe operations nonblocking, but " "B() may nevertheless block because the file descriptors that are " "spliced to/from may block (unless they have the B flag set)." msgstr "" "لا تحجب على الإدخال/الإخراج. هذا يجعل عمليات أنبوب splice غير محجوبة، ولكن " "B() قد تحجب مع ذلك لأن واصفات الملف التي يتم الوصل منها/إليها قد " "تحجب (ما لم تكن تحتوي على العلامة 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 "" "More data will be coming in a subsequent splice. This is a helpful hint " "when the I refers to a socket (see also the description of " "B in B(2), and the description of B in B(7))." msgstr "" "ستأتي بيانات إضافية في splice لاحق. هذا تلميح مفيد عندما يشير I إلى " "مقبس (انظر أيضًا وصف B في B(2)، ووصف B في " "B(7))." #. 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 "Unused for B(); see B(2)." msgstr "غير مستخدم لـ B()؛ انظر B(2)." #. 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-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Upon successful completion, B() returns the number of bytes spliced " "to or from the pipe." msgstr "" "عند الإكمال بنجاح، تُرجع B() عدد البايتات التي تم وصلها إلى أو من " "الأنبوب." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A return value of 0 means end of input. If I refers to a pipe, then " "this means that there was no data to transfer, and it would not make sense " "to block because there are no writers connected to the write end of the pipe." msgstr "" "قيمة الإرجاع 0 تعني نهاية الإدخال. إذا كان I يشير إلى أنبوب، فهذا " "يعني عدم وجود بيانات للنقل، ولن يكون من المنطقي الحجب لأنه لا توجد كتّاب " "متصلون بنهاية الكتابة للأنبوب." #. 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 "" "B was specified in I or one of the file " "descriptors had been marked as nonblocking (B)B<,> and the " "operation would block." msgstr "" "حُدد B في I أو وُسم أحد واصفات الملفات على أنه غير " "مانع (B)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 "" "One or both file descriptors are not valid, or do not have proper read-write " "mode." 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 target filesystem doesn't support splicing." msgstr "نظام الملفات الهدف لا يدعم الوصل." #. The append-mode error is given since Linux 2.6.27; in earlier kernels, #. splice() in append mode was broken #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The target file is opened in append mode." msgstr "الملف الهدف مفتوح في وضع الإلحاق." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Neither of the file descriptors refers to a pipe." msgstr "لا يشير أي من واصفي الملف إلى أنبوب." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "An offset was given for nonseekable device (e.g., a pipe)." msgstr "أُعطيت إزاحة لجهاز غير قابل للبحث (مثل أنبوب)." #. 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 pipe." 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 "" "Either I or I was not NULL, but the corresponding file " "descriptor refers to a pipe." msgstr "" "إما I أو I لم يكن NULL، ولكن واصف الملف المقابل يشير إلى " "أنبوب." #. 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." 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-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Linux 2.6.17, glibc 2.5." msgstr "لينكس 2.6.17، glibc 2.5." #. commit 7c77f0b3f9208c339a4b40737bb2cb0f0319bb8d #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In Linux 2.6.30 and earlier, exactly one of I and I was " "required to be a pipe. Since Linux 2.6.31, both arguments may refer to " "pipes." msgstr "" "في Linux 2.6.30 والإصدارات الأقدم، كان مطلوبًا أن يكون واحد بالضبط من " "I و I أنبوبًا. منذ Linux 2.6.31، قد يشير كلا الوسيطين إلى " "أنابيب." #. 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 "" "The three system calls B(), B(2), and B(2), provide " "user-space programs with full control over an arbitrary kernel buffer, " "implemented within the kernel using the same type of buffer that is used for " "a pipe. In overview, these system calls perform the following tasks:" msgstr "" "توفر استدعاءات النظام الثلاثة B() و B(2) و B(2) " "لبرامج مساحة المستخدم تحكمًا كاملاً في مخزن مؤقت عشوائي للنواة، يُنفذ داخل " "النواة باستخدام نفس نوع المخزن المؤقت المستخدم للأنبوب. بشكل عام، تؤدي " "استدعاءات النظام هذه المهام التالية:" #. 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 "" "moves data from the buffer to an arbitrary file descriptor, or vice versa, " "or from one buffer to another." msgstr "" "تنقل البيانات من المخزن المؤقت إلى واصف ملف عشوائي، أو العكس، أو من مخزن " "مؤقت إلى آخر." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "\"copies\" the data from one buffer to another." msgstr "\"تنسخ\" البيانات من مخزن مؤقت إلى آخر." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "\"copies\" data from user space into the buffer." msgstr "\"تنسخ\" البيانات من مساحة المستخدم إلى المخزن المؤقت." #. Linus: Now, imagine using the above in a media server, for example. #. Let's say that a year or two has passed, so that the video drivers #. have been updated to be able to do the splice thing, and what can #. you do? You can: #. - splice from the (mpeg or whatever - let's just assume that the video #. input is either digital or does the encoding on its own - like they #. pretty much all do) video input into a pipe (remember: no copies - the #. video input will just DMA directly into memory, and splice will just #. set up the pages in the pipe buffer) #. - tee that pipe to split it up #. - splice one end to a file (ie "save the compressed stream to disk") #. - splice the other end to a real-time video decoder window for your #. real-time viewing pleasure. #. Linus: Now, the advantage of splice()/tee() is that you can #. do zero-copy movement of data, and unlike sendfile() you can #. do it on _arbitrary_ data (and, as shown by "tee()", it's more #. than just sending the data to somebody else: you can duplicate #. the data and choose to forward it to two or more different #. users - for things like logging etc.). #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Though we talk of copying, actual copies are generally avoided. The kernel " "does this by implementing a pipe buffer as a set of reference-counted " "pointers to pages of kernel memory. The kernel creates \"copies\" of pages " "in a buffer by creating new pointers (for the output buffer) referring to " "the pages, and increasing the reference counts for the pages: only pointers " "are copied, not the pages of the buffer." msgstr "" "على الرغم من أننا نتحدث عن النسخ، إلا أن النسخ الفعلية تُتجنب عمومًا. تفعل " "النواة ذلك بتنفيذ مخزن أنبوب مؤقت كمجموعة من المؤشرات ذات العد المرجعي " "لصفحات ذاكرة النواة. تنشئ النواة \"نسخًا\" من الصفحات في مخزن مؤقت بإنشاء " "مؤشرات جديدة (للمخزن المؤقت الناتج) تشير إلى الصفحات، وزيادة أعداد المراجع " "للصفحات: تُنسخ المؤشرات فقط، وليس صفحات المخزن المؤقت." #. 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 "EXAMPLES" msgstr "أمثلة" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "See B(2) for another example." msgstr "انظر B(2) لمثال آخر." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "\\&\n" "#define _GNU_SOURCE\n" "#define _FILE_OFFSET_BITS 64\n" "#include Eerr.hE\n" "#include Efcntl.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/types.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(void)\n" "{\n" " int fd;\n" " int pfd[2];\n" " off_t off;\n" " [[gnu::nonstring]]\n" "\tconst char s[12] = \"Hello, world\";\n" "\\&\n" " fd = open(\"out\", O_WRONLY | O_CREAT | O_EXCL, 0666);\n" " if (fd == -1)\n" " err(EXIT_FAILURE, \"open\");\n" "\\&\n" " if (pipe(pfd) == -1)\n" " err(EXIT_FAILURE, \"pipe\");\n" "\\&\n" " if (write(pfd[1], s, sizeof(s)) != sizeof(s))\n" " err(EXIT_FAILURE, \"write\");\n" " if (close(pfd[1]) == -1)\n" " err(EXIT_FAILURE, \"close\");\n" "\\&\n" " off = 10;\n" " if (splice(pfd[0], NULL, fd, &off, sizeof(s), 0) != sizeof(s))\n" " err(EXIT_FAILURE, \"splice\");\n" " if (close(pfd[0]) == -1)\n" " err(EXIT_FAILURE, \"close\");\n" "\\&\n" " printf(\"New offset is %jd\\[rs]n\", (intmax_t) off);\n" "\\&\n" " if (close(fd) == -1)\n" " err(EXIT_FAILURE, \"close\");\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "\\&\n" "#define _GNU_SOURCE\n" "#define _FILE_OFFSET_BITS 64\n" "#include Eerr.hE\n" "#include Efcntl.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/types.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(void)\n" "{\n" " int fd;\n" " int pfd[2];\n" " off_t off;\n" " [[gnu::nonstring]]\n" "\tconst char s[12] = \"Hello, world\";\n" "\\&\n" " fd = open(\"out\", O_WRONLY | O_CREAT | O_EXCL, 0666);\n" " if (fd == -1)\n" " err(EXIT_FAILURE, \"open\");\n" "\\&\n" " if (pipe(pfd) == -1)\n" " err(EXIT_FAILURE, \"pipe\");\n" "\\&\n" " if (write(pfd[1], s, sizeof(s)) != sizeof(s))\n" " err(EXIT_FAILURE, \"write\");\n" " if (close(pfd[1]) == -1)\n" " err(EXIT_FAILURE, \"close\");\n" "\\&\n" " off = 10;\n" " if (splice(pfd[0], NULL, fd, &off, sizeof(s), 0) != sizeof(s))\n" " err(EXIT_FAILURE, \"splice\");\n" " if (close(pfd[0]) == -1)\n" " err(EXIT_FAILURE, \"close\");\n" "\\&\n" " printf(\"New offset is %jd\\[rs]n\", (intmax_t) off);\n" "\\&\n" " if (close(fd) == -1)\n" " err(EXIT_FAILURE, \"close\");\n" " exit(EXIT_SUCCESS);\n" "}\n" #. #-#-#-#-# archlinux: splice.2.pot (PACKAGE VERSION) #-#-#-#-# #. SRC END #. type: SH #. #-#-#-#-# debian-trixie: splice.2.pot (PACKAGE VERSION) #-#-#-#-# #. type: SH #. #-#-#-#-# debian-unstable: splice.2.pot (PACKAGE VERSION) #-#-#-#-# #. SRC END #. type: SH #. #-#-#-#-# fedora-44: splice.2.pot (PACKAGE VERSION) #-#-#-#-# #. SRC END #. type: SH #. #-#-#-#-# fedora-rawhide: splice.2.pot (PACKAGE VERSION) #-#-#-#-# #. SRC END #. type: SH #. #-#-#-#-# mageia-cauldron: splice.2.pot (PACKAGE VERSION) #-#-#-#-# #. SRC END #. type: SH #. #-#-#-#-# opensuse-leap-16-1: splice.2.pot (PACKAGE VERSION) #-#-#-#-# #. SRC END #. type: SH #. #-#-#-#-# opensuse-tumbleweed: splice.2.pot (PACKAGE VERSION) #-#-#-#-# #. 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), B(2), B(7)" msgstr "" "B(2), B(2), B(2), B(2), B(7)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-05-02" msgstr "2 مايو 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>)" #. Return type was long before glibc 2.7 #. 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 "" "B() moves data between two file descriptors without copying between " "kernel address space and user address space. It transfers up to I " "bytes of data from the file descriptor I to the file descriptor " "I, where one of the file descriptors must refer to a pipe." msgstr "" "تنقل B() البيانات بين واصفي ملف دون نسخ بين مساحة عنوان النواة " "ومساحة عنوان المستخدم. تنقل حتى I بايت من البيانات من واصف الملف " "I إلى واصف الملف I، حيث يجب أن يشير أحد واصفي الملف إلى أنبوب." #. type: Plain text #: debian-trixie msgid "" "If I does not refer to a pipe and I is not NULL, then " "I must point to a buffer which specifies the starting offset from " "which bytes will be read from I; in this case, the file offset of " "I is not changed." msgstr "" "إذا لم يشير I إلى أنبوب ولم يكن I NULL، فيجب أن يشير " "I إلى مخزن يحدد الإزاحة الابتدائية التي ستُقرأ منها البايتات من " "I؛ في هذه الحالة، لا يتغير إزاحة ملف I." #. type: Plain text #: debian-trixie msgid "See B(2)." msgstr "انظر B(2)." #. 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: Plain text #: fedora-44 fedora-rawhide #, no-wrap msgid "" "\\&\n" "#define _GNU_SOURCE\n" "#define _FILE_OFFSET_BITS 64\n" "#include Eerr.hE\n" "#include Efcntl.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/types.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(void)\n" "{\n" " int fd;\n" " int pfd[2];\n" " off_t off;\n" " const char s[12] = \"Hello, world\";\n" "\\&\n" " fd = open(\"out\", O_WRONLY | O_CREAT | O_EXCL, 0666);\n" " if (fd == -1)\n" " err(EXIT_FAILURE, \"open\");\n" "\\&\n" " if (pipe(pfd) == -1)\n" " err(EXIT_FAILURE, \"pipe\");\n" "\\&\n" " if (write(pfd[1], s, sizeof(s)) != sizeof(s))\n" " err(EXIT_FAILURE, \"write\");\n" " if (close(pfd[1]) == -1)\n" " err(EXIT_FAILURE, \"close\");\n" "\\&\n" " off = 10;\n" " if (splice(pfd[0], NULL, fd, &off, sizeof(s), 0) != sizeof(s))\n" " err(EXIT_FAILURE, \"splice\");\n" " if (close(pfd[0]) == -1)\n" " err(EXIT_FAILURE, \"close\");\n" "\\&\n" " printf(\"New offset is %jd\\[rs]n\", (intmax_t) off);\n" "\\&\n" " if (close(fd) == -1)\n" " err(EXIT_FAILURE, \"close\");\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "\\&\n" "#define _GNU_SOURCE\n" "#define _FILE_OFFSET_BITS 64\n" "#include Eerr.hE\n" "#include Efcntl.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/types.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(void)\n" "{\n" " int fd;\n" " int pfd[2];\n" " off_t off;\n" " const char s[12] = \"Hello, world\";\n" "\\&\n" " fd = open(\"out\", O_WRONLY | O_CREAT | O_EXCL, 0666);\n" " if (fd == -1)\n" " err(EXIT_FAILURE, \"open\");\n" "\\&\n" " if (pipe(pfd) == -1)\n" " err(EXIT_FAILURE, \"pipe\");\n" "\\&\n" " if (write(pfd[1], s, sizeof(s)) != sizeof(s))\n" " err(EXIT_FAILURE, \"write\");\n" " if (close(pfd[1]) == -1)\n" " err(EXIT_FAILURE, \"close\");\n" "\\&\n" " off = 10;\n" " if (splice(pfd[0], NULL, fd, &off, sizeof(s), 0) != sizeof(s))\n" " err(EXIT_FAILURE, \"splice\");\n" " if (close(pfd[0]) == -1)\n" " err(EXIT_FAILURE, \"close\");\n" "\\&\n" " printf(\"New offset is %jd\\[rs]n\", (intmax_t) off);\n" "\\&\n" " if (close(fd) == -1)\n" " err(EXIT_FAILURE, \"close\");\n" " exit(EXIT_SUCCESS);\n" "}\n" #. 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 "صفحات دليل لينكس (لم تصدر بعد)"