# Polish translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Michał Kułach , 2025. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.26.3.1\n" "POT-Creation-Date: 2026-06-05 06:44+0200\n" "PO-Revision-Date: 2025-11-27 19:22+0100\n" "Last-Translator: Michał Kułach \n" "Language-Team: Polish \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" "X-Generator: Lokalize 25.04.0\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 lutego 2026 r." #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "Linux man-pages 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 "NAZWA" #. 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 - przenosi dane do/z potoku" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "BIBLIOTEKA" #. 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 "Standardowa biblioteka C (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 "SKŁADNIA" #. 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> /* Zob. 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 "OPIS" #. 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() przenosi dane pomiędzy dwoma deskryptorami plików, bez " "kopiowania pomiędzy przestrzenią adresową jądra i przestrzenią adresową " "użytkownika. Transferuje maksymalnie I bajtów z deskryptora pliku " "I do deskryptora pliku I, przy czym jeden z deskryptorów " "plików musi odnosić się do potoku." #. 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 I są objęte następującą semantyką:" #. 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 "Jeśli I odnosi się do potoku, to I musi wynosić 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 "" "Jeśli I nie odnosi się do potoku, a I wynosi NULL, to bajty " "są odczytywane z I począwszy od przesunięcia pliku, a przesunięcie " "pliku jest odpowiednio dostosowywane." #. 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 "" "Jeśli I nie odnosi się do pliku, a I nie wynosi NULL, to " "I musi wskazywać na bufor, określający początkowe przesunięcie, od " "którego zostaną odczytane bajty w I; w tym przypadku przesunięcie " "pliku I pozostaje bez zmian, w zamian odpowiednio dostosowywane jest " "przesunięcie, na które wskazuje 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 "Analogiczne stwierdzenia stosują się do 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 I argument is a bit mask that is composed by ORing together zero " "or more of the following values:" msgstr "" "Argument I jest maską bitową tworzoną jako suma logiczna (OR) zera " "lub większej liczby następujących wartości:" #. 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 "" "Próbuje przesunąć strony zamiast je kopiować. Jest to tylko wskazówka dla " "jądra: strony wciąż mogą być skopiowane, jeśli jądro nie może przesunąć " "stron z potoku lub jeśli bufory potoku nie odnoszą się do pełnych stron. " "Pierwotna implementacja tego znacznika była nieprawidłowa: z tego względu " "począwszy od Linuksa 2.6.21 nie odnosi on skutku (jednak wciąż jest " "dozwolony w wywołaniu do B()); w przyszłości może być przywrócona " "poprawna implementacja." #. 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 "" "Nie blokuje wejścia/wyjścia. Operacje splice na potoku będą nieblokujące, " "jednak B() wciąż może zablokować, ponieważ deskryptory plików do/z " "których następuje splice mogą blokować (chyba, że mają one ustawiony " "znacznik 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 "" "W kolejnym splice nadejdzie więcej danych. Jest to przydatna wskazówka, gdy " "I odnosi się do gniazda (zob. też opis B w B(2) oraz " "opis B w 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 "Nieużywane w B(); zob. 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 "WARTOŚĆ ZWRACANA" #. 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 "" "Po pomyślnym zakończeniu B() zwraca liczbę bajtów przeniesionych do " "lub z potoku." #. 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 "" "Zwracana wartość 0 oznacza koniec wejścia. Jeśli I odnosi się do " "potoku, oznacza to, że nie było danych do transferu, zatem blokowanie nie " "miało sensu, ponieważ nie było zapisujących do końca do zapisu potoku." #. 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 "" "W razie wystąpienia błędu B zwraca -1 i ustawia I, wskazując " "błąd." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "BŁĘDY" #. 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 "" "We I podano B lub jeden z deskryptorów plików " "oznaczono jako nieblokujący (B), natomiast operacja " "spowodowałaby blokowanie." #. 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 "" "Jeden lub więcej deskryptorów plików nie jest prawidłowych lub nie mają " "prawidłowego trybu do odczytu i zapisu." #. 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 "Docelowy system plików nie obsługuje operacji splice." #. 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 "Docelowy plik jest otwarty w trybie dopisywania." #. 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 "Żaden z deskryptorów plików nie odnosi się do potoku." #. 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 "" "Podano przesunięcie dla urządzenia, które nie jest przewijalne (np. potok)." #. 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 I odnoszą się do tego samego potoku." #. 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 "Brak pamięci." #. 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 albo I nie miały wartości NULL, a odpowiadający " "deskryptor pliku odnosił się do potoku." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "STANDARDY" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Linux." msgstr "Linux." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "HISTORIA" #. 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 "Linux 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 "" "W Linuksie 2.6.30 i wcześniejszych, dokładnie jeden z argumentów I i " "I musiał być potokiem. Od Linuksa 2.6.31 oba argumenty mogą odnosić " "się do potoków." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "UWAGI" #. 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 "" "Trzy wywołania systemowe: B(), B(2) i B(2) zapewniają " "programom w przestrzeni użytkownika pełną kontrolę nad pewnym buforem jądra, " "zaimplementowanym w jądrze używając tego samego typu bufora, jaki jest " "używany dla potoku. Ogólnie, te wywołania systemowe spełniają następujące " "role:" #. 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 "" "przenosi dane z bufora do dowolnego deskryptora pliku lub na odwrót, lub z " "jednego bufora do innego." #. 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 "\\[Bq]kopiuje\\[rq] dane z jednego bufora do drugiego." #. 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 "\\[Bq]kopiuje\\[rq] dane z przestrzeni użytkownika do bufora." # # # #. 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 "" "Choć mowa tu o kopiowaniu, generalnie unika się faktycznego kopiowania. " "Jądro dokonuje tego implementując bufor potoku jako zbiór wskaźników, z " "licznikami odniesień, do stron pamięci jądra. Jądro tworzy \\[Bq]kopie\\[rq] " "stron w buforze, tworząc nowe wskaźniki (dla bufora wyjściowego) odnoszące " "się do stron oraz zwiększając liczniki odniesień do stron: kopiowane są " "tylko wskaźniki, a nie strony bufora." #. 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> powinno być zdefiniowane jako 64 w kodzie, który używa " "wartości I lub I innych niż null lub takim, który przyjmuje " "adres B, jeśli kod ma być przenośny na tradycyjne, 32-bitowe " "platformy x86 i ARM, w których szerokość B domyślnie wynosi 32 bity." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "PRZYKŁADY" #. 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 "Inny przykład opisano w podręczniku 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[14] = \"Witaj swiecie!\";\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(\"Nowy przesunięcie wynosi %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 "ZOBACZ TAKŻE" #. 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 maja 2024 r." #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "Linux man-pages 6.9.1" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "Standardowa biblioteka C (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() przenosi dane pomiędzy dwoma deskryptorami plików, bez " "kopiowania pomiędzy przestrzenią adresową jądra i przestrzenią adresową " "użytkownika. Transferuje maksymalnie I bajtów z deskryptora pliku " "I do deskryptora pliku I, przy czym jeden z deskryptorów " "plików musi odnosić się do potoku." #. 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 "" "Jeśli I nie odnosi się do potoku, a I nie wynosi NULL, to " "I musi wskazywać na bufor określający początkowe przesunięcie, z " "którego zostaną odczytane bajty w I; w tym przypadku przesunięcie " "pliku w I nie ulega zmianie." #. type: Plain text #: debian-trixie msgid "See B(2)." msgstr "Zob. B(2)." #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-11-17" msgstr "17 listopada 2024 r." #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "Linux man-pages 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[14] = \"Witaj swiecie!\";\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(\"Nowy przesunięcie wynosi %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 "Linux man-pages 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "Linux man-pages (niewydane)"