| 1 |
# Polish translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Michał Kułach <[email protected]>, 2025. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n 4.26.3.1\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:44+0200\n" |
| 9 |
"PO-Revision-Date: 2025-11-27 19:22+0100\n" |
| 10 |
"Last-Translator: Michał Kułach <[email protected]>\n" |
| 11 |
"Language-Team: Polish <[email protected]>\n" |
| 12 |
"Language: pl\n" |
| 13 |
"MIME-Version: 1.0\n" |
| 14 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 15 |
"Content-Transfer-Encoding: 8bit\n" |
| 16 |
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " |
| 17 |
"|| n%100>=20) ? 1 : 2);\n" |
| 18 |
"X-Generator: Lokalize 25.04.0\n" |
| 19 |
|
| 20 |
#. type: TH |
| 21 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 22 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 23 |
#, no-wrap |
| 24 |
msgid "splice" |
| 25 |
msgstr "splice" |
| 26 |
|
| 27 |
#. type: TH |
| 28 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 29 |
#: opensuse-tumbleweed |
| 30 |
#, no-wrap |
| 31 |
msgid "2026-02-08" |
| 32 |
msgstr "8 lutego 2026 r." |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-unstable |
| 36 |
#, no-wrap |
| 37 |
msgid "Linux man-pages 6.18" |
| 38 |
msgstr "Linux man-pages 6.18" |
| 39 |
|
| 40 |
#. type: SH |
| 41 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 42 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "NAME" |
| 45 |
msgstr "NAZWA" |
| 46 |
|
| 47 |
#. type: Plain text |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
msgid "splice - splice data to/from a pipe" |
| 51 |
msgstr "splice - przenosi dane do/z potoku" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "LIBRARY" |
| 58 |
msgstr "BIBLIOTEKA" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 62 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 64 |
msgstr "Standardowa biblioteka C (I<libc>,\\ I<-lc>)" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "SYNOPSIS" |
| 71 |
msgstr "SKŁADNIA" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "" |
| 78 |
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" |
| 79 |
"B<#define _FILE_OFFSET_BITS 64>\n" |
| 80 |
"B<#include E<lt>fcntl.hE<gt>>\n" |
| 81 |
msgstr "" |
| 82 |
"B<#define _GNU_SOURCE> /* Zob. feature_test_macros(7) */\n" |
| 83 |
"B<#define _FILE_OFFSET_BITS 64>\n" |
| 84 |
"B<#include E<lt>fcntl.hE<gt>>\n" |
| 85 |
|
| 86 |
#. Return type was long before glibc 2.7 |
| 87 |
#. type: Plain text |
| 88 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 89 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 90 |
#, no-wrap |
| 91 |
msgid "" |
| 92 |
"B<ssize_t splice(int >I<fd_in>B<, off_t *_Nullable >I<off_in>B<,>\n" |
| 93 |
"B< int >I<fd_out>B<, off_t *_Nullable >I<off_out>B<,>\n" |
| 94 |
"B< size_t >I<size>B<, unsigned int >I<flags>B<);>\n" |
| 95 |
msgstr "" |
| 96 |
"B<ssize_t splice(int >I<fd_in>B<, off_t *_Nullable >I<off_in>B<,>\n" |
| 97 |
"B< int >I<fd_out>B<, off_t *_Nullable >I<off_out>B<,>\n" |
| 98 |
"B< size_t >I<size>B<, unsigned int >I<flags>B<);>\n" |
| 99 |
|
| 100 |
#. type: SH |
| 101 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 102 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 103 |
#, no-wrap |
| 104 |
msgid "DESCRIPTION" |
| 105 |
msgstr "OPIS" |
| 106 |
|
| 107 |
#. type: Plain text |
| 108 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 109 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 110 |
msgid "" |
| 111 |
"B<splice>() moves data between two file descriptors without copying between " |
| 112 |
"kernel address space and user address space. It transfers up to I<size> " |
| 113 |
"bytes of data from the file descriptor I<fd_in> to the file descriptor " |
| 114 |
"I<fd_out>, where one of the file descriptors must refer to a pipe." |
| 115 |
msgstr "" |
| 116 |
"B<splice>() przenosi dane pomiędzy dwoma deskryptorami plików, bez " |
| 117 |
"kopiowania pomiędzy przestrzenią adresową jądra i przestrzenią adresową " |
| 118 |
"użytkownika. Transferuje maksymalnie I<size> bajtów z deskryptora pliku " |
| 119 |
"I<fd_in> do deskryptora pliku I<fd_out>, przy czym jeden z deskryptorów " |
| 120 |
"plików musi odnosić się do potoku." |
| 121 |
|
| 122 |
#. type: Plain text |
| 123 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 124 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 125 |
msgid "The following semantics apply for I<fd_in> and I<off_in>:" |
| 126 |
msgstr "I<fd_in> i I<off_in> są objęte następującą semantyką:" |
| 127 |
|
| 128 |
#. type: IP |
| 129 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 130 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 131 |
#, no-wrap |
| 132 |
msgid "\\[bu]" |
| 133 |
msgstr "\\[bu]" |
| 134 |
|
| 135 |
#. type: Plain text |
| 136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 138 |
msgid "If I<fd_in> refers to a pipe, then I<off_in> must be NULL." |
| 139 |
msgstr "Jeśli I<fd_in> odnosi się do potoku, to I<off_in> musi wynosić NULL." |
| 140 |
|
| 141 |
#. type: Plain text |
| 142 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 143 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 144 |
msgid "" |
| 145 |
"If I<fd_in> does not refer to a pipe and I<off_in> is NULL, then bytes are " |
| 146 |
"read from I<fd_in> starting from the file offset, and the file offset is " |
| 147 |
"adjusted appropriately." |
| 148 |
msgstr "" |
| 149 |
"Jeśli I<fd_in> nie odnosi się do potoku, a I<off_in> wynosi NULL, to bajty " |
| 150 |
"są odczytywane z I<fd_in> począwszy od przesunięcia pliku, a przesunięcie " |
| 151 |
"pliku jest odpowiednio dostosowywane." |
| 152 |
|
| 153 |
#. type: Plain text |
| 154 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 155 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 156 |
msgid "" |
| 157 |
"If I<fd_in> does not refer to a pipe and I<off_in> is not NULL, then " |
| 158 |
"I<off_in> must point to a buffer which specifies the starting offset from " |
| 159 |
"which bytes will be read from I<fd_in>; in this case, the file offset of " |
| 160 |
"I<fd_in> is not changed, and the offset pointed to by I<off_in> is adjusted " |
| 161 |
"appropriately instead." |
| 162 |
msgstr "" |
| 163 |
"Jeśli I<fd_in> nie odnosi się do pliku, a I<off_in> nie wynosi NULL, to " |
| 164 |
"I<off_in> musi wskazywać na bufor, określający początkowe przesunięcie, od " |
| 165 |
"którego zostaną odczytane bajty w I<fd_in>; w tym przypadku przesunięcie " |
| 166 |
"pliku I<fd_in> pozostaje bez zmian, w zamian odpowiednio dostosowywane jest " |
| 167 |
"przesunięcie, na które wskazuje I<off_in>." |
| 168 |
|
| 169 |
#. type: Plain text |
| 170 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 171 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 172 |
msgid "Analogous statements apply for I<fd_out> and I<off_out>." |
| 173 |
msgstr "Analogiczne stwierdzenia stosują się do I<fd_out> i I<off_out>." |
| 174 |
|
| 175 |
#. type: Plain text |
| 176 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 177 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 178 |
msgid "" |
| 179 |
"The I<flags> argument is a bit mask that is composed by ORing together zero " |
| 180 |
"or more of the following values:" |
| 181 |
msgstr "" |
| 182 |
"Argument I<flags> jest maską bitową tworzoną jako suma logiczna (OR) zera " |
| 183 |
"lub większej liczby następujących wartości:" |
| 184 |
|
| 185 |
#. type: TP |
| 186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 188 |
#, no-wrap |
| 189 |
msgid "B<SPLICE_F_MOVE>" |
| 190 |
msgstr "B<SPLICE_F_MOVE>" |
| 191 |
|
| 192 |
#. type: Plain text |
| 193 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 194 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 195 |
msgid "" |
| 196 |
"Attempt to move pages instead of copying. This is only a hint to the " |
| 197 |
"kernel: pages may still be copied if the kernel cannot move the pages from " |
| 198 |
"the pipe, or if the pipe buffers don't refer to full pages. The initial " |
| 199 |
"implementation of this flag was buggy: therefore starting in Linux 2.6.21 it " |
| 200 |
"is a no-op (but is still permitted in a B<splice>() call); in the future, a " |
| 201 |
"correct implementation may be restored." |
| 202 |
msgstr "" |
| 203 |
"Próbuje przesunąć strony zamiast je kopiować. Jest to tylko wskazówka dla " |
| 204 |
"jądra: strony wciąż mogą być skopiowane, jeśli jądro nie może przesunąć " |
| 205 |
"stron z potoku lub jeśli bufory potoku nie odnoszą się do pełnych stron. " |
| 206 |
"Pierwotna implementacja tego znacznika była nieprawidłowa: z tego względu " |
| 207 |
"począwszy od Linuksa 2.6.21 nie odnosi on skutku (jednak wciąż jest " |
| 208 |
"dozwolony w wywołaniu do B<splice>()); w przyszłości może być przywrócona " |
| 209 |
"poprawna implementacja." |
| 210 |
|
| 211 |
#. type: TP |
| 212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 214 |
#, no-wrap |
| 215 |
msgid "B<SPLICE_F_NONBLOCK>" |
| 216 |
msgstr "B<SPLICE_F_NONBLOCK>" |
| 217 |
|
| 218 |
#. type: Plain text |
| 219 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 220 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 221 |
msgid "" |
| 222 |
"Do not block on I/O. This makes the splice pipe operations nonblocking, but " |
| 223 |
"B<splice>() may nevertheless block because the file descriptors that are " |
| 224 |
"spliced to/from may block (unless they have the B<O_NONBLOCK> flag set)." |
| 225 |
msgstr "" |
| 226 |
"Nie blokuje wejścia/wyjścia. Operacje splice na potoku będą nieblokujące, " |
| 227 |
"jednak B<splice>() wciąż może zablokować, ponieważ deskryptory plików do/z " |
| 228 |
"których następuje splice mogą blokować (chyba, że mają one ustawiony " |
| 229 |
"znacznik B<O_NONBLOCK>)." |
| 230 |
|
| 231 |
#. type: TP |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
#, no-wrap |
| 235 |
msgid "B<SPLICE_F_MORE>" |
| 236 |
msgstr "B<SPLICE_F_MORE>" |
| 237 |
|
| 238 |
#. type: Plain text |
| 239 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 240 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 241 |
msgid "" |
| 242 |
"More data will be coming in a subsequent splice. This is a helpful hint " |
| 243 |
"when the I<fd_out> refers to a socket (see also the description of " |
| 244 |
"B<MSG_MORE> in B<send>(2), and the description of B<TCP_CORK> in B<tcp>(7))." |
| 245 |
msgstr "" |
| 246 |
"W kolejnym splice nadejdzie więcej danych. Jest to przydatna wskazówka, gdy " |
| 247 |
"I<fd_out> odnosi się do gniazda (zob. też opis B<MSG_MORE> w B<send>(2) oraz " |
| 248 |
"opis B<TCP_CORK> w B<tcp>(7))." |
| 249 |
|
| 250 |
#. type: TP |
| 251 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 252 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 253 |
#, no-wrap |
| 254 |
msgid "B<SPLICE_F_GIFT>" |
| 255 |
msgstr "B<SPLICE_F_GIFT>" |
| 256 |
|
| 257 |
#. type: Plain text |
| 258 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 259 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 260 |
msgid "Unused for B<splice>(); see B<vmsplice>(2)." |
| 261 |
msgstr "Nieużywane w B<splice>(); zob. B<vmsplice>(2)." |
| 262 |
|
| 263 |
#. type: SH |
| 264 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 265 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 266 |
#, no-wrap |
| 267 |
msgid "RETURN VALUE" |
| 268 |
msgstr "WARTOŚĆ ZWRACANA" |
| 269 |
|
| 270 |
#. type: Plain text |
| 271 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 272 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 273 |
msgid "" |
| 274 |
"Upon successful completion, B<splice>() returns the number of bytes spliced " |
| 275 |
"to or from the pipe." |
| 276 |
msgstr "" |
| 277 |
"Po pomyślnym zakończeniu B<splice>() zwraca liczbę bajtów przeniesionych do " |
| 278 |
"lub z potoku." |
| 279 |
|
| 280 |
#. type: Plain text |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
msgid "" |
| 284 |
"A return value of 0 means end of input. If I<fd_in> refers to a pipe, then " |
| 285 |
"this means that there was no data to transfer, and it would not make sense " |
| 286 |
"to block because there are no writers connected to the write end of the pipe." |
| 287 |
msgstr "" |
| 288 |
"Zwracana wartość 0 oznacza koniec wejścia. Jeśli I<fd_in> odnosi się do " |
| 289 |
"potoku, oznacza to, że nie było danych do transferu, zatem blokowanie nie " |
| 290 |
"miało sensu, ponieważ nie było zapisujących do końca do zapisu potoku." |
| 291 |
|
| 292 |
#. type: Plain text |
| 293 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 294 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 295 |
msgid "" |
| 296 |
"On error, B<splice>() returns -1 and I<errno> is set to indicate the error." |
| 297 |
msgstr "" |
| 298 |
"W razie wystąpienia błędu B<splice> zwraca -1 i ustawia I<errno>, wskazując " |
| 299 |
"błąd." |
| 300 |
|
| 301 |
#. type: SH |
| 302 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 303 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 304 |
#, no-wrap |
| 305 |
msgid "ERRORS" |
| 306 |
msgstr "BŁĘDY" |
| 307 |
|
| 308 |
#. type: TP |
| 309 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 310 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 311 |
#, no-wrap |
| 312 |
msgid "B<EAGAIN>" |
| 313 |
msgstr "B<EAGAIN>" |
| 314 |
|
| 315 |
#. type: Plain text |
| 316 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 317 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 318 |
msgid "" |
| 319 |
"B<SPLICE_F_NONBLOCK> was specified in I<flags> or one of the file " |
| 320 |
"descriptors had been marked as nonblocking (B<O_NONBLOCK>)B<,> and the " |
| 321 |
"operation would block." |
| 322 |
msgstr "" |
| 323 |
"We I<flags> podano B<SPLICE_F_NONBLOCK> lub jeden z deskryptorów plików " |
| 324 |
"oznaczono jako nieblokujący (B<O_NONBLOCK>), natomiast operacja " |
| 325 |
"spowodowałaby blokowanie." |
| 326 |
|
| 327 |
#. type: TP |
| 328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 330 |
#, no-wrap |
| 331 |
msgid "B<EBADF>" |
| 332 |
msgstr "B<EBADF>" |
| 333 |
|
| 334 |
#. type: Plain text |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
msgid "" |
| 338 |
"One or both file descriptors are not valid, or do not have proper read-write " |
| 339 |
"mode." |
| 340 |
msgstr "" |
| 341 |
"Jeden lub więcej deskryptorów plików nie jest prawidłowych lub nie mają " |
| 342 |
"prawidłowego trybu do odczytu i zapisu." |
| 343 |
|
| 344 |
#. type: TP |
| 345 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 346 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 347 |
#, no-wrap |
| 348 |
msgid "B<EINVAL>" |
| 349 |
msgstr "B<EINVAL>" |
| 350 |
|
| 351 |
#. type: Plain text |
| 352 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 353 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 354 |
msgid "The target filesystem doesn't support splicing." |
| 355 |
msgstr "Docelowy system plików nie obsługuje operacji splice." |
| 356 |
|
| 357 |
#. The append-mode error is given since Linux 2.6.27; in earlier kernels, |
| 358 |
#. splice() in append mode was broken |
| 359 |
#. type: Plain text |
| 360 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 361 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 362 |
msgid "The target file is opened in append mode." |
| 363 |
msgstr "Docelowy plik jest otwarty w trybie dopisywania." |
| 364 |
|
| 365 |
#. type: Plain text |
| 366 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 367 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 368 |
msgid "Neither of the file descriptors refers to a pipe." |
| 369 |
msgstr "Żaden z deskryptorów plików nie odnosi się do potoku." |
| 370 |
|
| 371 |
#. type: Plain text |
| 372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 374 |
msgid "An offset was given for nonseekable device (e.g., a pipe)." |
| 375 |
msgstr "" |
| 376 |
"Podano przesunięcie dla urządzenia, które nie jest przewijalne (np. potok)." |
| 377 |
|
| 378 |
#. type: Plain text |
| 379 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 380 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 381 |
msgid "I<fd_in> and I<fd_out> refer to the same pipe." |
| 382 |
msgstr "I<fd_in> i I<fd_out> odnoszą się do tego samego potoku." |
| 383 |
|
| 384 |
#. type: TP |
| 385 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 386 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 387 |
#, no-wrap |
| 388 |
msgid "B<ENOMEM>" |
| 389 |
msgstr "B<ENOMEM>" |
| 390 |
|
| 391 |
#. type: Plain text |
| 392 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 393 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 394 |
msgid "Out of memory." |
| 395 |
msgstr "Brak pamięci." |
| 396 |
|
| 397 |
#. type: TP |
| 398 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 399 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 400 |
#, no-wrap |
| 401 |
msgid "B<ESPIPE>" |
| 402 |
msgstr "B<ESPIPE>" |
| 403 |
|
| 404 |
#. type: Plain text |
| 405 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 406 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 407 |
msgid "" |
| 408 |
"Either I<off_in> or I<off_out> was not NULL, but the corresponding file " |
| 409 |
"descriptor refers to a pipe." |
| 410 |
msgstr "" |
| 411 |
"I<off_in> albo I<off_out> nie miały wartości NULL, a odpowiadający " |
| 412 |
"deskryptor pliku odnosił się do potoku." |
| 413 |
|
| 414 |
#. type: SH |
| 415 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 416 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 417 |
#, no-wrap |
| 418 |
msgid "STANDARDS" |
| 419 |
msgstr "STANDARDY" |
| 420 |
|
| 421 |
#. type: Plain text |
| 422 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 423 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 424 |
msgid "Linux." |
| 425 |
msgstr "Linux." |
| 426 |
|
| 427 |
#. type: SH |
| 428 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 429 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 430 |
#, no-wrap |
| 431 |
msgid "HISTORY" |
| 432 |
msgstr "HISTORIA" |
| 433 |
|
| 434 |
#. type: Plain text |
| 435 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 436 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 437 |
msgid "Linux 2.6.17, glibc 2.5." |
| 438 |
msgstr "Linux 2.6.17, glibc 2.5." |
| 439 |
|
| 440 |
#. commit 7c77f0b3f9208c339a4b40737bb2cb0f0319bb8d |
| 441 |
#. type: Plain text |
| 442 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 443 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 444 |
msgid "" |
| 445 |
"In Linux 2.6.30 and earlier, exactly one of I<fd_in> and I<fd_out> was " |
| 446 |
"required to be a pipe. Since Linux 2.6.31, both arguments may refer to " |
| 447 |
"pipes." |
| 448 |
msgstr "" |
| 449 |
"W Linuksie 2.6.30 i wcześniejszych, dokładnie jeden z argumentów I<fd_in> i " |
| 450 |
"I<fd_out> musiał być potokiem. Od Linuksa 2.6.31 oba argumenty mogą odnosić " |
| 451 |
"się do potoków." |
| 452 |
|
| 453 |
#. type: SH |
| 454 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 455 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 456 |
#, no-wrap |
| 457 |
msgid "NOTES" |
| 458 |
msgstr "UWAGI" |
| 459 |
|
| 460 |
#. type: Plain text |
| 461 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 462 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 463 |
msgid "" |
| 464 |
"The three system calls B<splice>(), B<vmsplice>(2), and B<tee>(2), provide " |
| 465 |
"user-space programs with full control over an arbitrary kernel buffer, " |
| 466 |
"implemented within the kernel using the same type of buffer that is used for " |
| 467 |
"a pipe. In overview, these system calls perform the following tasks:" |
| 468 |
msgstr "" |
| 469 |
"Trzy wywołania systemowe: B<splice>(), B<vmsplice>(2) i B<tee>(2) zapewniają " |
| 470 |
"programom w przestrzeni użytkownika pełną kontrolę nad pewnym buforem jądra, " |
| 471 |
"zaimplementowanym w jądrze używając tego samego typu bufora, jaki jest " |
| 472 |
"używany dla potoku. Ogólnie, te wywołania systemowe spełniają następujące " |
| 473 |
"role:" |
| 474 |
|
| 475 |
#. type: TP |
| 476 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 477 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 478 |
#, no-wrap |
| 479 |
msgid "B<splice>()" |
| 480 |
msgstr "B<splice>()" |
| 481 |
|
| 482 |
#. type: Plain text |
| 483 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 484 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 485 |
msgid "" |
| 486 |
"moves data from the buffer to an arbitrary file descriptor, or vice versa, " |
| 487 |
"or from one buffer to another." |
| 488 |
msgstr "" |
| 489 |
"przenosi dane z bufora do dowolnego deskryptora pliku lub na odwrót, lub z " |
| 490 |
"jednego bufora do innego." |
| 491 |
|
| 492 |
#. type: TP |
| 493 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 494 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 495 |
#, no-wrap |
| 496 |
msgid "B<tee>(2)" |
| 497 |
msgstr "B<tee>(2)" |
| 498 |
|
| 499 |
#. type: Plain text |
| 500 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 501 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 502 |
msgid "\"copies\" the data from one buffer to another." |
| 503 |
msgstr "\\[Bq]kopiuje\\[rq] dane z jednego bufora do drugiego." |
| 504 |
|
| 505 |
#. type: TP |
| 506 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 507 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 508 |
#, no-wrap |
| 509 |
msgid "B<vmsplice>(2)" |
| 510 |
msgstr "B<vmsplice>(2)" |
| 511 |
|
| 512 |
#. type: Plain text |
| 513 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 514 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 515 |
msgid "\"copies\" data from user space into the buffer." |
| 516 |
msgstr "\\[Bq]kopiuje\\[rq] dane z przestrzeni użytkownika do bufora." |
| 517 |
|
| 518 |
# |
| 519 |
# |
| 520 |
# |
| 521 |
#. Linus: Now, imagine using the above in a media server, for example. |
| 522 |
#. Let's say that a year or two has passed, so that the video drivers |
| 523 |
#. have been updated to be able to do the splice thing, and what can |
| 524 |
#. you do? You can: |
| 525 |
#. - splice from the (mpeg or whatever - let's just assume that the video |
| 526 |
#. input is either digital or does the encoding on its own - like they |
| 527 |
#. pretty much all do) video input into a pipe (remember: no copies - the |
| 528 |
#. video input will just DMA directly into memory, and splice will just |
| 529 |
#. set up the pages in the pipe buffer) |
| 530 |
#. - tee that pipe to split it up |
| 531 |
#. - splice one end to a file (ie "save the compressed stream to disk") |
| 532 |
#. - splice the other end to a real-time video decoder window for your |
| 533 |
#. real-time viewing pleasure. |
| 534 |
#. Linus: Now, the advantage of splice()/tee() is that you can |
| 535 |
#. do zero-copy movement of data, and unlike sendfile() you can |
| 536 |
#. do it on _arbitrary_ data (and, as shown by "tee()", it's more |
| 537 |
#. than just sending the data to somebody else: you can duplicate |
| 538 |
#. the data and choose to forward it to two or more different |
| 539 |
#. users - for things like logging etc.). |
| 540 |
#. type: Plain text |
| 541 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 542 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 543 |
msgid "" |
| 544 |
"Though we talk of copying, actual copies are generally avoided. The kernel " |
| 545 |
"does this by implementing a pipe buffer as a set of reference-counted " |
| 546 |
"pointers to pages of kernel memory. The kernel creates \"copies\" of pages " |
| 547 |
"in a buffer by creating new pointers (for the output buffer) referring to " |
| 548 |
"the pages, and increasing the reference counts for the pages: only pointers " |
| 549 |
"are copied, not the pages of the buffer." |
| 550 |
msgstr "" |
| 551 |
"Choć mowa tu o kopiowaniu, generalnie unika się faktycznego kopiowania. " |
| 552 |
"Jądro dokonuje tego implementując bufor potoku jako zbiór wskaźników, z " |
| 553 |
"licznikami odniesień, do stron pamięci jądra. Jądro tworzy \\[Bq]kopie\\[rq] " |
| 554 |
"stron w buforze, tworząc nowe wskaźniki (dla bufora wyjściowego) odnoszące " |
| 555 |
"się do stron oraz zwiększając liczniki odniesień do stron: kopiowane są " |
| 556 |
"tylko wskaźniki, a nie strony bufora." |
| 557 |
|
| 558 |
#. type: Plain text |
| 559 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 560 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 561 |
msgid "" |
| 562 |
"B<_FILE_OFFSET_BITS> should be defined to be 64 in code that uses non-null " |
| 563 |
"I<off_in> or I<off_out> or that takes the address of B<splice>, if the code " |
| 564 |
"is intended to be portable to traditional 32-bit x86 and ARM platforms where " |
| 565 |
"B<off_t>'s width defaults to 32 bits." |
| 566 |
msgstr "" |
| 567 |
"B<_FILE_OFFSET_BITS> powinno być zdefiniowane jako 64 w kodzie, który używa " |
| 568 |
"wartości I<off_in> lub I<off_out> innych niż null lub takim, który przyjmuje " |
| 569 |
"adres B<splice>, jeśli kod ma być przenośny na tradycyjne, 32-bitowe " |
| 570 |
"platformy x86 i ARM, w których szerokość B<off_t> domyślnie wynosi 32 bity." |
| 571 |
|
| 572 |
#. type: SH |
| 573 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 574 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 575 |
#, no-wrap |
| 576 |
msgid "EXAMPLES" |
| 577 |
msgstr "PRZYKŁADY" |
| 578 |
|
| 579 |
#. type: Plain text |
| 580 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 581 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 582 |
msgid "See B<tee>(2) for another example." |
| 583 |
msgstr "Inny przykład opisano w podręczniku B<tee>(2)." |
| 584 |
|
| 585 |
#. type: Plain text |
| 586 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 587 |
#: opensuse-tumbleweed |
| 588 |
#, no-wrap |
| 589 |
msgid "" |
| 590 |
"\\&\n" |
| 591 |
"#define _GNU_SOURCE\n" |
| 592 |
"#define _FILE_OFFSET_BITS 64\n" |
| 593 |
"#include E<lt>err.hE<gt>\n" |
| 594 |
"#include E<lt>fcntl.hE<gt>\n" |
| 595 |
"#include E<lt>stdint.hE<gt>\n" |
| 596 |
"#include E<lt>stdio.hE<gt>\n" |
| 597 |
"#include E<lt>stdlib.hE<gt>\n" |
| 598 |
"#include E<lt>sys/types.hE<gt>\n" |
| 599 |
"#include E<lt>unistd.hE<gt>\n" |
| 600 |
"\\&\n" |
| 601 |
"int\n" |
| 602 |
"main(void)\n" |
| 603 |
"{\n" |
| 604 |
" int fd;\n" |
| 605 |
" int pfd[2];\n" |
| 606 |
" off_t off;\n" |
| 607 |
" [[gnu::nonstring]]\n" |
| 608 |
"\tconst char s[12] = \"Hello, world\";\n" |
| 609 |
"\\&\n" |
| 610 |
" fd = open(\"out\", O_WRONLY | O_CREAT | O_EXCL, 0666);\n" |
| 611 |
" if (fd == -1)\n" |
| 612 |
" err(EXIT_FAILURE, \"open\");\n" |
| 613 |
"\\&\n" |
| 614 |
" if (pipe(pfd) == -1)\n" |
| 615 |
" err(EXIT_FAILURE, \"pipe\");\n" |
| 616 |
"\\&\n" |
| 617 |
" if (write(pfd[1], s, sizeof(s)) != sizeof(s))\n" |
| 618 |
" err(EXIT_FAILURE, \"write\");\n" |
| 619 |
" if (close(pfd[1]) == -1)\n" |
| 620 |
" err(EXIT_FAILURE, \"close\");\n" |
| 621 |
"\\&\n" |
| 622 |
" off = 10;\n" |
| 623 |
" if (splice(pfd[0], NULL, fd, &off, sizeof(s), 0) != sizeof(s))\n" |
| 624 |
" err(EXIT_FAILURE, \"splice\");\n" |
| 625 |
" if (close(pfd[0]) == -1)\n" |
| 626 |
" err(EXIT_FAILURE, \"close\");\n" |
| 627 |
"\\&\n" |
| 628 |
" printf(\"New offset is %jd\\[rs]n\", (intmax_t) off);\n" |
| 629 |
"\\&\n" |
| 630 |
" if (close(fd) == -1)\n" |
| 631 |
" err(EXIT_FAILURE, \"close\");\n" |
| 632 |
" exit(EXIT_SUCCESS);\n" |
| 633 |
"}\n" |
| 634 |
msgstr "" |
| 635 |
"\\&\n" |
| 636 |
"#define _GNU_SOURCE\n" |
| 637 |
"#define _FILE_OFFSET_BITS 64\n" |
| 638 |
"#include E<lt>err.hE<gt>\n" |
| 639 |
"#include E<lt>fcntl.hE<gt>\n" |
| 640 |
"#include E<lt>stdint.hE<gt>\n" |
| 641 |
"#include E<lt>stdio.hE<gt>\n" |
| 642 |
"#include E<lt>stdlib.hE<gt>\n" |
| 643 |
"#include E<lt>sys/types.hE<gt>\n" |
| 644 |
"#include E<lt>unistd.hE<gt>\n" |
| 645 |
"\\&\n" |
| 646 |
"int\n" |
| 647 |
"main(void)\n" |
| 648 |
"{\n" |
| 649 |
" int fd;\n" |
| 650 |
" int pfd[2];\n" |
| 651 |
" off_t off;\n" |
| 652 |
" [[gnu::nonstring]]\n" |
| 653 |
"\tconst char s[14] = \"Witaj swiecie!\";\n" |
| 654 |
"\\&\n" |
| 655 |
" fd = open(\"out\", O_WRONLY | O_CREAT | O_EXCL, 0666);\n" |
| 656 |
" if (fd == -1)\n" |
| 657 |
" err(EXIT_FAILURE, \"open\");\n" |
| 658 |
"\\&\n" |
| 659 |
" if (pipe(pfd) == -1)\n" |
| 660 |
" err(EXIT_FAILURE, \"pipe\");\n" |
| 661 |
"\\&\n" |
| 662 |
" if (write(pfd[1], s, sizeof(s)) != sizeof(s))\n" |
| 663 |
" err(EXIT_FAILURE, \"write\");\n" |
| 664 |
" if (close(pfd[1]) == -1)\n" |
| 665 |
" err(EXIT_FAILURE, \"close\");\n" |
| 666 |
"\\&\n" |
| 667 |
" off = 10;\n" |
| 668 |
" if (splice(pfd[0], NULL, fd, &off, sizeof(s), 0) != sizeof(s))\n" |
| 669 |
" err(EXIT_FAILURE, \"splice\");\n" |
| 670 |
" if (close(pfd[0]) == -1)\n" |
| 671 |
" err(EXIT_FAILURE, \"close\");\n" |
| 672 |
"\\&\n" |
| 673 |
" printf(\"Nowy przesunięcie wynosi %jd\\[rs]n\", (intmax_t) off);\n" |
| 674 |
"\\&\n" |
| 675 |
" if (close(fd) == -1)\n" |
| 676 |
" err(EXIT_FAILURE, \"close\");\n" |
| 677 |
" exit(EXIT_SUCCESS);\n" |
| 678 |
"}\n" |
| 679 |
|
| 680 |
#. #-#-#-#-# archlinux: splice.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 681 |
#. SRC END |
| 682 |
#. type: SH |
| 683 |
#. #-#-#-#-# debian-trixie: splice.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 684 |
#. type: SH |
| 685 |
#. #-#-#-#-# debian-unstable: splice.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 686 |
#. SRC END |
| 687 |
#. type: SH |
| 688 |
#. #-#-#-#-# fedora-44: splice.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 689 |
#. SRC END |
| 690 |
#. type: SH |
| 691 |
#. #-#-#-#-# fedora-rawhide: splice.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 692 |
#. SRC END |
| 693 |
#. type: SH |
| 694 |
#. #-#-#-#-# mageia-cauldron: splice.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 695 |
#. SRC END |
| 696 |
#. type: SH |
| 697 |
#. #-#-#-#-# opensuse-leap-16-1: splice.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 698 |
#. SRC END |
| 699 |
#. type: SH |
| 700 |
#. #-#-#-#-# opensuse-tumbleweed: splice.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 701 |
#. SRC END |
| 702 |
#. type: SH |
| 703 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 704 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 705 |
#, no-wrap |
| 706 |
msgid "SEE ALSO" |
| 707 |
msgstr "ZOBACZ TAKŻE" |
| 708 |
|
| 709 |
#. type: Plain text |
| 710 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 711 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 712 |
msgid "" |
| 713 |
"B<copy_file_range>(2), B<sendfile>(2), B<tee>(2), B<vmsplice>(2), B<pipe>(7)" |
| 714 |
msgstr "" |
| 715 |
"B<copy_file_range>(2), B<sendfile>(2), B<tee>(2), B<vmsplice>(2), B<pipe>(7)" |
| 716 |
|
| 717 |
#. type: TH |
| 718 |
#: debian-trixie |
| 719 |
#, no-wrap |
| 720 |
msgid "2024-05-02" |
| 721 |
msgstr "2 maja 2024 r." |
| 722 |
|
| 723 |
#. type: TH |
| 724 |
#: debian-trixie |
| 725 |
#, no-wrap |
| 726 |
msgid "Linux man-pages 6.9.1" |
| 727 |
msgstr "Linux man-pages 6.9.1" |
| 728 |
|
| 729 |
#. type: Plain text |
| 730 |
#: debian-trixie |
| 731 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 732 |
msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)" |
| 733 |
|
| 734 |
#. Return type was long before glibc 2.7 |
| 735 |
#. type: Plain text |
| 736 |
#: debian-trixie |
| 737 |
#, no-wrap |
| 738 |
msgid "" |
| 739 |
"B<ssize_t splice(int >I<fd_in>B<, off_t *_Nullable >I<off_in>B<,>\n" |
| 740 |
"B< int >I<fd_out>B<, off_t *_Nullable >I<off_out>B<,>\n" |
| 741 |
"B< size_t >I<len>B<, unsigned int >I<flags>B<);>\n" |
| 742 |
msgstr "" |
| 743 |
"B<ssize_t splice(int >I<fd_in>B<, off_t *_Nullable >I<off_in>B<,>\n" |
| 744 |
"B< int >I<fd_out>B<, off_t *_Nullable >I<off_out>B<,>\n" |
| 745 |
"B< size_t >I<len>B<, unsigned int >I<flags>B<);>\n" |
| 746 |
|
| 747 |
#. type: Plain text |
| 748 |
#: debian-trixie |
| 749 |
msgid "" |
| 750 |
"B<splice>() moves data between two file descriptors without copying between " |
| 751 |
"kernel address space and user address space. It transfers up to I<len> " |
| 752 |
"bytes of data from the file descriptor I<fd_in> to the file descriptor " |
| 753 |
"I<fd_out>, where one of the file descriptors must refer to a pipe." |
| 754 |
msgstr "" |
| 755 |
"B<splice>() przenosi dane pomiędzy dwoma deskryptorami plików, bez " |
| 756 |
"kopiowania pomiędzy przestrzenią adresową jądra i przestrzenią adresową " |
| 757 |
"użytkownika. Transferuje maksymalnie I<len> bajtów z deskryptora pliku " |
| 758 |
"I<fd_in> do deskryptora pliku I<fd_out>, przy czym jeden z deskryptorów " |
| 759 |
"plików musi odnosić się do potoku." |
| 760 |
|
| 761 |
#. type: Plain text |
| 762 |
#: debian-trixie |
| 763 |
msgid "" |
| 764 |
"If I<fd_in> does not refer to a pipe and I<off_in> is not NULL, then " |
| 765 |
"I<off_in> must point to a buffer which specifies the starting offset from " |
| 766 |
"which bytes will be read from I<fd_in>; in this case, the file offset of " |
| 767 |
"I<fd_in> is not changed." |
| 768 |
msgstr "" |
| 769 |
"Jeśli I<fd_in> nie odnosi się do potoku, a I<off_in> nie wynosi NULL, to " |
| 770 |
"I<off_in> musi wskazywać na bufor określający początkowe przesunięcie, z " |
| 771 |
"którego zostaną odczytane bajty w I<fd_in>; w tym przypadku przesunięcie " |
| 772 |
"pliku w I<fd_in> nie ulega zmianie." |
| 773 |
|
| 774 |
#. type: Plain text |
| 775 |
#: debian-trixie |
| 776 |
msgid "See B<tee>(2)." |
| 777 |
msgstr "Zob. B<tee>(2)." |
| 778 |
|
| 779 |
#. type: TH |
| 780 |
#: fedora-44 fedora-rawhide |
| 781 |
#, no-wrap |
| 782 |
msgid "2024-11-17" |
| 783 |
msgstr "17 listopada 2024 r." |
| 784 |
|
| 785 |
#. type: TH |
| 786 |
#: fedora-44 fedora-rawhide |
| 787 |
#, no-wrap |
| 788 |
msgid "Linux man-pages 6.13" |
| 789 |
msgstr "Linux man-pages 6.13" |
| 790 |
|
| 791 |
#. type: Plain text |
| 792 |
#: fedora-44 fedora-rawhide |
| 793 |
#, no-wrap |
| 794 |
msgid "" |
| 795 |
"\\&\n" |
| 796 |
"#define _GNU_SOURCE\n" |
| 797 |
"#define _FILE_OFFSET_BITS 64\n" |
| 798 |
"#include E<lt>err.hE<gt>\n" |
| 799 |
"#include E<lt>fcntl.hE<gt>\n" |
| 800 |
"#include E<lt>stdint.hE<gt>\n" |
| 801 |
"#include E<lt>stdio.hE<gt>\n" |
| 802 |
"#include E<lt>stdlib.hE<gt>\n" |
| 803 |
"#include E<lt>sys/types.hE<gt>\n" |
| 804 |
"#include E<lt>unistd.hE<gt>\n" |
| 805 |
"\\&\n" |
| 806 |
"int\n" |
| 807 |
"main(void)\n" |
| 808 |
"{\n" |
| 809 |
" int fd;\n" |
| 810 |
" int pfd[2];\n" |
| 811 |
" off_t off;\n" |
| 812 |
" const char s[12] = \"Hello, world\";\n" |
| 813 |
"\\&\n" |
| 814 |
" fd = open(\"out\", O_WRONLY | O_CREAT | O_EXCL, 0666);\n" |
| 815 |
" if (fd == -1)\n" |
| 816 |
" err(EXIT_FAILURE, \"open\");\n" |
| 817 |
"\\&\n" |
| 818 |
" if (pipe(pfd) == -1)\n" |
| 819 |
" err(EXIT_FAILURE, \"pipe\");\n" |
| 820 |
"\\&\n" |
| 821 |
" if (write(pfd[1], s, sizeof(s)) != sizeof(s))\n" |
| 822 |
" err(EXIT_FAILURE, \"write\");\n" |
| 823 |
" if (close(pfd[1]) == -1)\n" |
| 824 |
" err(EXIT_FAILURE, \"close\");\n" |
| 825 |
"\\&\n" |
| 826 |
" off = 10;\n" |
| 827 |
" if (splice(pfd[0], NULL, fd, &off, sizeof(s), 0) != sizeof(s))\n" |
| 828 |
" err(EXIT_FAILURE, \"splice\");\n" |
| 829 |
" if (close(pfd[0]) == -1)\n" |
| 830 |
" err(EXIT_FAILURE, \"close\");\n" |
| 831 |
"\\&\n" |
| 832 |
" printf(\"New offset is %jd\\[rs]n\", (intmax_t) off);\n" |
| 833 |
"\\&\n" |
| 834 |
" if (close(fd) == -1)\n" |
| 835 |
" err(EXIT_FAILURE, \"close\");\n" |
| 836 |
" exit(EXIT_SUCCESS);\n" |
| 837 |
"}\n" |
| 838 |
msgstr "" |
| 839 |
"\\&\n" |
| 840 |
"#define _GNU_SOURCE\n" |
| 841 |
"#define _FILE_OFFSET_BITS 64\n" |
| 842 |
"#include E<lt>err.hE<gt>\n" |
| 843 |
"#include E<lt>fcntl.hE<gt>\n" |
| 844 |
"#include E<lt>stdint.hE<gt>\n" |
| 845 |
"#include E<lt>stdio.hE<gt>\n" |
| 846 |
"#include E<lt>stdlib.hE<gt>\n" |
| 847 |
"#include E<lt>sys/types.hE<gt>\n" |
| 848 |
"#include E<lt>unistd.hE<gt>\n" |
| 849 |
"\\&\n" |
| 850 |
"int\n" |
| 851 |
"main(void)\n" |
| 852 |
"{\n" |
| 853 |
" int fd;\n" |
| 854 |
" int pfd[2];\n" |
| 855 |
" off_t off;\n" |
| 856 |
" const char s[14] = \"Witaj swiecie!\";\n" |
| 857 |
"\\&\n" |
| 858 |
" fd = open(\"out\", O_WRONLY | O_CREAT | O_EXCL, 0666);\n" |
| 859 |
" if (fd == -1)\n" |
| 860 |
" err(EXIT_FAILURE, \"open\");\n" |
| 861 |
"\\&\n" |
| 862 |
" if (pipe(pfd) == -1)\n" |
| 863 |
" err(EXIT_FAILURE, \"pipe\");\n" |
| 864 |
"\\&\n" |
| 865 |
" if (write(pfd[1], s, sizeof(s)) != sizeof(s))\n" |
| 866 |
" err(EXIT_FAILURE, \"write\");\n" |
| 867 |
" if (close(pfd[1]) == -1)\n" |
| 868 |
" err(EXIT_FAILURE, \"close\");\n" |
| 869 |
"\\&\n" |
| 870 |
" off = 10;\n" |
| 871 |
" if (splice(pfd[0], NULL, fd, &off, sizeof(s), 0) != sizeof(s))\n" |
| 872 |
" err(EXIT_FAILURE, \"splice\");\n" |
| 873 |
" if (close(pfd[0]) == -1)\n" |
| 874 |
" err(EXIT_FAILURE, \"close\");\n" |
| 875 |
"\\&\n" |
| 876 |
" printf(\"Nowy przesunięcie wynosi %jd\\[rs]n\", (intmax_t) off);\n" |
| 877 |
"\\&\n" |
| 878 |
" if (close(fd) == -1)\n" |
| 879 |
" err(EXIT_FAILURE, \"close\");\n" |
| 880 |
" exit(EXIT_SUCCESS);\n" |
| 881 |
"}\n" |
| 882 |
|
| 883 |
#. type: TH |
| 884 |
#: mageia-cauldron |
| 885 |
#, no-wrap |
| 886 |
msgid "Linux man-pages 6.17" |
| 887 |
msgstr "Linux man-pages 6.17" |
| 888 |
|
| 889 |
#. type: TH |
| 890 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 891 |
#, no-wrap |
| 892 |
msgid "Linux man-pages (unreleased)" |
| 893 |
msgstr "Linux man-pages (niewydane)" |