# 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, 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.26.3.1\n" "POT-Creation-Date: 2026-06-05 06:21+0200\n" "PO-Revision-Date: 2026-03-15 12:26+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 "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 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 "copy_file_range - Copy a range of data from one file to another" msgstr "copy_file_range - kopiuje zakres danych z jednego pliku do drugiego" #. 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>\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 "OPIS" #. 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 "" "Wywołanie systemowe B() przeprowadza kopiowanie wewnątrz " "jądra pomiędzy dwoma deskryptorami plików, bez dodatkowego kosztu transferu " "danych z jądro do przestrzeni użytkownika, a następnie z powrotem do jądra. " "Kopiuje maksymalnie I bajtów danych ze źródłowego deskryptora pliku " "I do docelowego deskryptora pliku I, nadpisując wszelkie " "dane, które istniały w żądanym zakresie pliku docelowego." #. 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 jest objęte następującą semantyką i podobne stwierdzenia odnoszą " "się do 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 "" "Jeśli I wynosi NULL, to bajty są odczytywane z I począwszy od " "przesunięcia pliku, a przesunięcie pliku jest dostosowywane o liczbę " "skopiowanych bajtów." #. 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 "" "Jeśli I nie wynosi NULL, to I musi wskazywać na bufor " "określający początkowe przesunięcie, od którego zostaną odczytane bajty z " "I. Przesunięcie pliku I nie jest zmieniane, ale I jest " "odpowiednio dostosowywane." #. 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 I mogą odnosić się do tego samego pliku. Jeśli odnoszą " "się do tego samego pliku, to zakres źródłowy i docelowy nie mogą na siebie " "nachodzić." #. 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 "" "Argument I jest przeznaczony na przyszłe rozszerzenia i obecnie musi " "być ustawiony na 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 "WARTOŚĆ ZWRACANA" #. 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 "" "Po pomyślnym zakończeniu, B() zwróci liczbę bajtów " "skopiowanych pomiędzy dwoma plikami. Może być to rozmiar mniejszy od " "pierwotnie żądanego. Jeśli przesunięcie pliku I znajduje się na " "końcu, lub za końcem, pliku, to nie są kopiowane żadne bajty, a " "B() zwraca zero." #. 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 "One or more file descriptors are not valid." msgstr "Jeden lub więcej deskryptorów plików nie jest prawidłowych." #. 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 nie jest otwarty do odczytu; albo I nie jest otwarty do " "zapisu." #. 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 "" "Znacznik B jest ustawiony na opis otwartego pliku (ODF, zob. " "B(2)), do którego odnosi się deskryptor pliku 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 "" "Podjęto próbę zapisu w pozycji poza maksymalnym przesunięciem pliku " "obsługiwanym przez jądro." #. 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 "" "Podjęto próbę zapisu zakresu, który przekracza maksymalny dopuszczalny " "rozmiar pliku. Maksymalny rozmiar pliku różni się pomiędzy implementacjami " "systemów plików i może być inny niż maksymalne dopuszczalne przesunięcie " "pliku." #. 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 "" "Podjęto próbę zapisu poza limit zasobu procesu dotyczący rozmiaru pliku. " "Może to też spowodować otrzymanie przez proces sygnału 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 "Argument I nie wynosi 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 I odnoszą się do tego samego pliku, a źródłowy i docelowy " "zakres nachodzą na siebie." #. 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 albo I nie jest zwykłym plikiem." #. 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 "Przy kopiowaniu wystąpił niskopoziomowy błąd wejścia/wyjścia." #. 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 albo I odnoszą się do katalogu." #. 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 "" "There is not enough space on the target filesystem to complete the copy." msgstr "" "Na docelowym systemie plików nie ma wystarczająco dużo miejsca, aby ukończyć " "kopiowanie." #. 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 (od Linuksa 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 "System plików nie obsługuje tej operacji." #. 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 "" "Żądany zakres źródłowy lub docelowy jest zbyt duży, aby dało się go " "przedstawić w podanych typach danych." #. 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 odnosi się do niezmiennego pliku (ang. immutable)." #. 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 albo I odnoszą się do aktywnego pliku wymiany." #. 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 (przed Linuksem 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 "" "Pliki, do których odnoszą się I i I nie są położone w tym " "samym systemie plików." #. 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 (od Linuksa 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 "" "Pliki, do których odnoszą się I i I nie są położone w tym " "samym systemie plików, a źródłowy i docelowy system plików nie jest tego " "samego typu lub nie obsługuje kopii pomiędzy systemami plików." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "VERSIONS" msgstr "WERSJE" #. 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 "" "W Linuksie 5.3 doszło do znaczącej modyfikacji implementacji w jądrze. Jasno " "zdefiniowano miejsca w API, którym wcześniej tego brakowało, a granice API " "są znacznie ściślej sprawdzane, niż we wcześniejszych jądrach." #. 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 "" "Od Linuksa 5.19, możliwe jest kopiowanie pomiędzy systemami plików, jeśli " "oba są tego samego typu i dany system plików zaimplementował wsparcie tej " "operacji. W USTERKACH opisano zachowanie przed Linuksem 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 "" "Aplikacje powinny dostosować się do zachowania i wymogów Linuksa 5.19, które " "zostało również przeportowane na wcześniejsze stabilne jądra." #. 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, GNU." msgstr "Linux, GNU." #. 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-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Linux 4.5." msgstr "Linux 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 "" "Przed glibc 2.30, zaczynając od glibc 2.27, funkcja opakowująca z glibc " "zapewniała zapasową implementację w przestrzeni użytkownika, gdy jądro nie " "obsługiwało tego wywołania systemowego. Od glibc 2.30 usunięto tę zapasową " "implementację; gdy jądro nie obsługuje B(), funkcja zawodzi " "teraz z błędem ENOSYS." #. 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 "" "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 "" "Jeśli I jest rzadkim (ang. sparse) plikiem, to B() " "może wykroczyć poza istniejące dziury w żądanym zakresie. Użytkownicy mogą " "zechcieć wywoływać B() w pętli, korzystając z operacji " "B i B wywołania B(2), aby odnaleźć położenie " "segmentów danych." #. 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() daje systemom plików sposobność na implementację " "technik \\[Bq]przyspieszonego kopiowania\\[rq], takich jak korzystanie z " "dowiązań lekkich (reflinków tj. dwóch lub więcej i-węzłów, które dzielą " "wskaźniki do tych samych bloków dyskowych kopii przy zapisie) lub kopiowania " "po stronie serwera (w przypadku 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> 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 "BUGS" msgstr "USTERKI" #. 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 "" "W Linuksie 5.3 do Linuksa 5.18, kopie pomiędzy systemami plików były " "zaimplementowane w jądrze, jeśli operacja nie była obsługiwana przez " "poszczególne systemy plików. Jednak w niektórych wirtualnych systemach " "plików, kopiowanie się nie powodziło, a mimo to wywołanie wciąż zgłaszało " "sukces." #. 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 #, 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, \"Użycie: %s EźródłoE EcelE\\[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 "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)" msgstr "B(2), B(2), B(2)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-15" msgstr "15 czerwca 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>)" #. 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 "" "Wywołanie systemowe B() przeprowadza kopiowanie wewnątrz " "jądra pomiędzy dwoma deskryptorami plików, bez dodatkowego kosztu transferu " "danych z jądro do przestrzeni użytkownika, a następnie z powrotem do jądra. " "Kopiuje maksymalnie I bajtów danych ze źródłowego deskryptora pliku " "I do docelowego deskryptora pliku I, nadpisując wszelkie " "dane, które istniały w żądanym zakresie pliku docelowego." #. 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 "" "Po pomyślnym zakończeniu, B() zwróci liczbę bajtów " "skopiowanych pomiędzy dwoma plikami. Może być to długość mniejsza od " "pierwotnie żądanej. Jeśli przesunięcie pliku I znajduje się na końcu, " "lub za końcem, pliku, to nie są kopiowane żadne bajty, a " "B() zwraca zero." #. 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 "" "Aplikacje powinny dostosować się do zachowania i wymogów Linuksa 5.19, które " "zostało również przeportowane na wcześniejsze stabilne jądra." #. 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 "" "Linux 4.5, lecz glibc 2.27 dostarcza emulację w przestrzeni użytkownika tam, " "gdzie wywołanie nie jest dostępne." #. 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, \"Użycie: %s EźródłoE EcelE\\[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 listopada 2024 r." #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "Linux man-pages 6.13" #. 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)"