# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2026-06-05 06:44+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\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 "" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "" #. 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 "" #. 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 "" #. 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 "" #. 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 "" #. 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 "" #. 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 "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\[bu]" msgstr "" #. 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 "" #. 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 "" #. 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 "" #. 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 "" #. 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 "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. 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 "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. 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 "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. 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 "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. 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 "" #. 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 "" #. 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 "" #. 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 "" #. 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 "" #. 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 "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. 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 "" #. 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 "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. 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 "" #. 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 "" #. 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 "" #. 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 "" #. 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 "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "" #. 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 "" #. 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 "" #. 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 "" #. 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 "" #. 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 "" #. #-#-#-#-# 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 "" #. type: TH #: debian-trixie #, no-wrap msgid "2024-05-02" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "" #. 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 "" #. 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 "" #. 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 "" #. type: Plain text #: debian-trixie msgid "See B(2)." msgstr "" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-11-17" msgstr "" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "" #. 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 "" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr ""