| 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 |
# Przemek Borys <[email protected]>, 1998. |
| 5 |
# Andrzej Krzysztofowicz <[email protected]>, 2003. |
| 6 |
# Michał Kułach <[email protected]>, 2024, 2025. |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: manpages-l10n\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:23+0200\n" |
| 11 |
"PO-Revision-Date: 2025-11-23 20:37+0100\n" |
| 12 |
"Last-Translator: Michał Kułach <[email protected]>\n" |
| 13 |
"Language-Team: Polish <[email protected]>\n" |
| 14 |
"Language: pl\n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
"X-Generator: Lokalize 25.04.0\n" |
| 19 |
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 " |
| 20 |
"|| n%100>14) ? 1 : 2);\n" |
| 21 |
|
| 22 |
#. type: TH |
| 23 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 24 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 25 |
#, no-wrap |
| 26 |
msgid "dup" |
| 27 |
msgstr "dup" |
| 28 |
|
| 29 |
#. type: TH |
| 30 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 31 |
#: opensuse-tumbleweed |
| 32 |
#, no-wrap |
| 33 |
msgid "2026-02-08" |
| 34 |
msgstr "8 lutego 2026 r." |
| 35 |
|
| 36 |
#. type: TH |
| 37 |
#: archlinux debian-unstable |
| 38 |
#, no-wrap |
| 39 |
msgid "Linux man-pages 6.18" |
| 40 |
msgstr "Linux man-pages 6.18" |
| 41 |
|
| 42 |
#. type: SH |
| 43 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 44 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 45 |
#, no-wrap |
| 46 |
msgid "NAME" |
| 47 |
msgstr "NAZWA" |
| 48 |
|
| 49 |
#. type: Plain text |
| 50 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 51 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 52 |
msgid "dup, dup2, dup3 - duplicate a file descriptor" |
| 53 |
msgstr "dup, dup2, dup3 - duplikuje deskryptor pliku" |
| 54 |
|
| 55 |
#. type: SH |
| 56 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 57 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 58 |
#, no-wrap |
| 59 |
msgid "LIBRARY" |
| 60 |
msgstr "BIBLIOTEKA" |
| 61 |
|
| 62 |
#. type: Plain text |
| 63 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 64 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 66 |
msgstr "Standardowa biblioteka C (I<libc>,\\ I<-lc>)" |
| 67 |
|
| 68 |
#. type: SH |
| 69 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 70 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
#, no-wrap |
| 72 |
msgid "SYNOPSIS" |
| 73 |
msgstr "SKŁADNIA" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 77 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 78 |
#, no-wrap |
| 79 |
msgid "B<#include E<lt>unistd.hE<gt>>\n" |
| 80 |
msgstr "B<#include E<lt>unistd.hE<gt>>\n" |
| 81 |
|
| 82 |
#. type: Plain text |
| 83 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 84 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 85 |
#, no-wrap |
| 86 |
msgid "" |
| 87 |
"B<int dup(int >I<oldfd>B<);>\n" |
| 88 |
"B<int dup2(int >I<oldfd>B<, int >I<newfd>B<);>\n" |
| 89 |
msgstr "" |
| 90 |
"B<int dup(int >I<oldfd>B<);>\n" |
| 91 |
"B<int dup2(int >I<oldfd>B<, int >I<newfd>B<);>\n" |
| 92 |
|
| 93 |
#. type: Plain text |
| 94 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 95 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 96 |
#, no-wrap |
| 97 |
msgid "" |
| 98 |
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" |
| 99 |
"B<#include E<lt>fcntl.hE<gt>> /* Definition of B<O_*> constants */\n" |
| 100 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 101 |
msgstr "" |
| 102 |
"B<#define _GNU_SOURCE> /* Zob. feature_test_macros(7) */\n" |
| 103 |
"B<#include E<lt>fcntl.hE<gt>> /* Definicja stałych B<O_*> */\n" |
| 104 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
#, no-wrap |
| 110 |
msgid "B<int dup3(int >I<oldfd>B<, int >I<newfd>B<, int >I<flags>B<);>\n" |
| 111 |
msgstr "B<int dup3(int >I<oldfd>B<, int >I<newfd>B<, int >I<flags>B<);>\n" |
| 112 |
|
| 113 |
#. type: SH |
| 114 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 115 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 116 |
#, no-wrap |
| 117 |
msgid "DESCRIPTION" |
| 118 |
msgstr "OPIS" |
| 119 |
|
| 120 |
#. type: Plain text |
| 121 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 122 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 123 |
msgid "" |
| 124 |
"The B<dup>() system call allocates a new file descriptor that refers to the " |
| 125 |
"same open file description as the descriptor I<oldfd>. (For an explanation " |
| 126 |
"of open file descriptions, see B<open>(2).) The new file descriptor number " |
| 127 |
"is guaranteed to be the lowest-numbered file descriptor that was unused in " |
| 128 |
"the calling process." |
| 129 |
msgstr "" |
| 130 |
"Wywołanie systemowe B<dup>() przydziela nowy deskryptor pliku odnoszący się " |
| 131 |
"do tego samego opisu otwartego pliku (OFD), jak deskryptor I<oldfd> " |
| 132 |
"(wyjaśnienie opisów otwartych plików znajduje się w podręczniku B<open>(2)). " |
| 133 |
"Gwarantuje się, że nowy numer deskryptora pliku będzie najniższym numerem " |
| 134 |
"deskryptora pliku, który nie był używany w trakcie procesu wywoływania." |
| 135 |
|
| 136 |
#. type: Plain text |
| 137 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 138 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 139 |
msgid "" |
| 140 |
"After a successful return, the old and new file descriptors may be used " |
| 141 |
"interchangeably. Since the two file descriptors refer to the same open file " |
| 142 |
"description, they share file offset and file status flags; for example, if " |
| 143 |
"the file offset is modified by using B<lseek>(2) on one of the file " |
| 144 |
"descriptors, the offset is also changed for the other file descriptor." |
| 145 |
msgstr "" |
| 146 |
"Po pomyślnym zakończeniu, stary i nowy deskryptor mogą być używane " |
| 147 |
"zamiennie. Oba deskryptory odnoszą się do tego samego opisu otwartego pliku, " |
| 148 |
"zatem współdzielą one przesunięcie pliku i znaczniki statusu pliku np. jeśli " |
| 149 |
"przesunięcie pliku zmieni się w wyniku użyciu B<lseek>(2) na jednym z " |
| 150 |
"deskryptorów pliku, zmieni się ono także dla drugiego deskryptora pliku." |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
msgid "" |
| 156 |
"The two file descriptors do not share file descriptor flags (the close-on-" |
| 157 |
"exec flag). The close-on-exec flag (B<FD_CLOEXEC>; see B<fcntl>(2)) for " |
| 158 |
"the duplicate descriptor is off." |
| 159 |
msgstr "" |
| 160 |
"Oba deskryptory nie dzielą znaczników deskryptora pliku (znacznika zamknij-" |
| 161 |
"przy-wykonaniu). Znacznik zamknij-przy-wykonaniu (B<FD_CLOEXEC>; zob. " |
| 162 |
"B<fcntl>(2)) dla duplikatu deskryptora jest wyłączony." |
| 163 |
|
| 164 |
#. type: SS |
| 165 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 166 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 167 |
#, no-wrap |
| 168 |
msgid "dup2()" |
| 169 |
msgstr "dup2()" |
| 170 |
|
| 171 |
#. type: Plain text |
| 172 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 173 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 174 |
msgid "" |
| 175 |
"The B<dup2>() system call performs the same task as B<dup>(), but instead " |
| 176 |
"of using the lowest-numbered unused file descriptor, it uses the file " |
| 177 |
"descriptor number specified in I<newfd>. In other words, the file " |
| 178 |
"descriptor I<newfd> is adjusted so that it now refers to the same open file " |
| 179 |
"description as I<oldfd>." |
| 180 |
msgstr "" |
| 181 |
"Wywołanie systemowe B<dup2>() wykonuje takie samo zadanie jak B<dup>(), lecz " |
| 182 |
"zamiast używać najniższego numeru nieużywanego deskryptora pliku, używa " |
| 183 |
"numeru deskryptora pliku podanego w I<newfd>. Innymi słowy, deskryptor pliku " |
| 184 |
"I<newfd> jest dostosowywany tak, aby wskazywał teraz na ten sam opis " |
| 185 |
"otwartego pliku (ODF) jak I<oldfd>." |
| 186 |
|
| 187 |
#. type: Plain text |
| 188 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 189 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 190 |
msgid "" |
| 191 |
"If the file descriptor I<newfd> was previously open, it is closed before " |
| 192 |
"being reused; the close is performed silently (i.e., any errors during the " |
| 193 |
"close are not reported by B<dup2>())." |
| 194 |
msgstr "" |
| 195 |
"Jeśli deskryptor pliku I<newfd> był uprzednio otwarty, jest zamykany przed " |
| 196 |
"ponownym użyciem; zamknięcie jest przeprowadzane po cichu (tj. ewentualne " |
| 197 |
"błędy przy zamknięciu nie są zgłaszane przez B<dup2>())." |
| 198 |
|
| 199 |
#. type: Plain text |
| 200 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 201 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 202 |
msgid "" |
| 203 |
"The steps of closing and reusing the file descriptor I<newfd> are performed " |
| 204 |
"I<atomically>. This is important, because trying to implement equivalent " |
| 205 |
"functionality using B<close>(2) and B<dup>() would be subject to race " |
| 206 |
"conditions, whereby I<newfd> might be reused between the two steps. Such " |
| 207 |
"reuse could happen because the main program is interrupted by a signal " |
| 208 |
"handler that allocates a file descriptor, or because a parallel thread " |
| 209 |
"allocates a file descriptor." |
| 210 |
msgstr "" |
| 211 |
"Kroki zamykania i ponownego użycia deskryptora pliku I<newfd> są wykonywane " |
| 212 |
"I<niepodzielnie>. Jest to istotne, ponieważ próba zaimplementowania " |
| 213 |
"równoważnej funkcjonalności za pomocą B<close>(2) i B<dup>() prowadziłaby do " |
| 214 |
"hazardu, gdzie I<newfd> mógłby być użyty ponownie pomiędzy oboma krokami. " |
| 215 |
"Mogłoby się tak zdarzyć, gdyby główny program został przerwany procedurą " |
| 216 |
"obsługi sygnału przydzielającego deskryptor plików lub gdyby równoległe " |
| 217 |
"wątki przydzielały deskryptor plików." |
| 218 |
|
| 219 |
#. type: Plain text |
| 220 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 221 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 222 |
msgid "Note the following points:" |
| 223 |
msgstr "Proszę zauważyć, co następuje:" |
| 224 |
|
| 225 |
#. type: IP |
| 226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 228 |
#, no-wrap |
| 229 |
msgid "\\[bu]" |
| 230 |
msgstr "\\[bu]" |
| 231 |
|
| 232 |
#. type: Plain text |
| 233 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 234 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 235 |
msgid "" |
| 236 |
"If I<oldfd> is not a valid file descriptor, then the call fails, and " |
| 237 |
"I<newfd> is not closed." |
| 238 |
msgstr "" |
| 239 |
"Jeśli I<oldfd> nie jest prawidłowym deskryptorem pliku, to wywołanie " |
| 240 |
"zawiedzie, a I<newfd> nie jest zamykane." |
| 241 |
|
| 242 |
#. type: Plain text |
| 243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 245 |
msgid "" |
| 246 |
"If I<oldfd> is a valid file descriptor, and I<newfd> has the same value as " |
| 247 |
"I<oldfd>, then B<dup2>() does nothing, and returns I<newfd>." |
| 248 |
msgstr "" |
| 249 |
"Jeśli I<oldfd> jest prawidłowym deskryptorem pliku, a I<newfd> ma tę samą " |
| 250 |
"wartość co I<oldfd>, to B<dup2>() niczego nie dokona i zwróci I<newfd>." |
| 251 |
|
| 252 |
#. type: SS |
| 253 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 254 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 255 |
#, no-wrap |
| 256 |
msgid "dup3()" |
| 257 |
msgstr "dup3()" |
| 258 |
|
| 259 |
#. type: Plain text |
| 260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 262 |
msgid "B<dup3>() is the same as B<dup2>(), except that:" |
| 263 |
msgstr "B<dup3>() działa jak B<dup2>(), tyle że:" |
| 264 |
|
| 265 |
#. type: Plain text |
| 266 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 267 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 268 |
msgid "" |
| 269 |
"The caller can force the close-on-exec flag to be set for the new file " |
| 270 |
"descriptor by specifying B<O_CLOEXEC> in I<flags>. See the description of " |
| 271 |
"the same flag in B<open>(2) for reasons why this may be useful." |
| 272 |
msgstr "" |
| 273 |
"Wywołujący może wymusić, aby znacznik zamknięcia-przy-wykonaniu był " |
| 274 |
"ustawiony dla nowego deskryptora pliku podając B<O_CLOEXEC> w I<flags>. " |
| 275 |
"Proszę zapoznać się z opisem tego samego znacznika w B<open>(2), aby " |
| 276 |
"przekonać się, dlaczego może być to użyteczne." |
| 277 |
|
| 278 |
#. Ulrich Drepper, LKML, 2008-10-09: |
| 279 |
#. We deliberately decided on this change. Otherwise, what is the |
| 280 |
#. result of dup3(fd, fd, O_CLOEXEC)? |
| 281 |
#. type: Plain text |
| 282 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 283 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 284 |
msgid "" |
| 285 |
"If I<oldfd> equals I<newfd>, then B<dup3>() fails with the error B<EINVAL>." |
| 286 |
msgstr "" |
| 287 |
"Jeśli I<oldfd> równa się I<newfd>, to B<dup3>() zawodzi z błędem B<EINVAL>." |
| 288 |
|
| 289 |
#. type: SH |
| 290 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 291 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 292 |
#, no-wrap |
| 293 |
msgid "RETURN VALUE" |
| 294 |
msgstr "WARTOŚĆ ZWRACANA" |
| 295 |
|
| 296 |
#. type: Plain text |
| 297 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 298 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 299 |
msgid "" |
| 300 |
"On success, these system calls return the new file descriptor. On error, -1 " |
| 301 |
"is returned, and I<errno> is set to indicate the error." |
| 302 |
msgstr "" |
| 303 |
"W przypadku powodzenia, te wywołania zwracają nowy deskryptor pliku. W razie " |
| 304 |
"wystąpienia błędu zwracane jest -1 i ustawiane jest I<errno> wskazując błąd." |
| 305 |
|
| 306 |
#. type: SH |
| 307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 309 |
#, no-wrap |
| 310 |
msgid "ERRORS" |
| 311 |
msgstr "BŁĘDY" |
| 312 |
|
| 313 |
#. type: TP |
| 314 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 315 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 316 |
#, no-wrap |
| 317 |
msgid "B<EBADF>" |
| 318 |
msgstr "B<EBADF>" |
| 319 |
|
| 320 |
#. type: Plain text |
| 321 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 322 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 323 |
msgid "I<oldfd> isn't an open file descriptor." |
| 324 |
msgstr "I<oldfd> nie jest otwartym deskryptorem pliku." |
| 325 |
|
| 326 |
#. type: Plain text |
| 327 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 328 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 329 |
msgid "" |
| 330 |
"I<newfd> is out of the allowed range for file descriptors (see the " |
| 331 |
"discussion of B<RLIMIT_NOFILE> in B<getrlimit>(2))." |
| 332 |
msgstr "" |
| 333 |
"I<newfd> jest poza dozwolonym przedziałem dla deskryptorów pliku (zob. opis " |
| 334 |
"B<RLIMIT_NOFILE> w B<getrlimit>(2))." |
| 335 |
|
| 336 |
#. type: TP |
| 337 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 338 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 339 |
#, no-wrap |
| 340 |
msgid "B<EBUSY>" |
| 341 |
msgstr "B<EBUSY>" |
| 342 |
|
| 343 |
#. type: Plain text |
| 344 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 345 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 346 |
msgid "" |
| 347 |
"(Linux only) This may be returned by B<dup2>() or B<dup3>() during a race " |
| 348 |
"condition with B<open>(2) and B<dup>()." |
| 349 |
msgstr "" |
| 350 |
"(tylko Linux) Błąd może być zwrócony przez B<dup2>() lub B<dup3>() w razie " |
| 351 |
"wystąpienia wyścigu z B<open>(2) i B<dup>()." |
| 352 |
|
| 353 |
#. type: TP |
| 354 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 355 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 356 |
#, no-wrap |
| 357 |
msgid "B<EINTR>" |
| 358 |
msgstr "B<EINTR>" |
| 359 |
|
| 360 |
#. type: Plain text |
| 361 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 362 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 363 |
msgid "" |
| 364 |
"The B<dup2>() or B<dup3>() call was interrupted by a signal; see " |
| 365 |
"B<signal>(7)." |
| 366 |
msgstr "" |
| 367 |
"Wywołanie B<dup2>() lub B<dup3>() przerwano sygnałem; zob. B<signal>(7)." |
| 368 |
|
| 369 |
#. type: TP |
| 370 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 371 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 372 |
#, no-wrap |
| 373 |
msgid "B<EINVAL>" |
| 374 |
msgstr "B<EINVAL>" |
| 375 |
|
| 376 |
#. type: Plain text |
| 377 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 378 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 379 |
msgid "(B<dup3>()) I<flags> contain an invalid value." |
| 380 |
msgstr "(B<dup3>()) I<flags> zawiera nieprawidłową wartość." |
| 381 |
|
| 382 |
#. type: Plain text |
| 383 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 384 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 385 |
msgid "(B<dup3>()) I<oldfd> was equal to I<newfd>." |
| 386 |
msgstr "(B<dup3>()) I<oldfd> było równe I<newfd>." |
| 387 |
|
| 388 |
#. type: TP |
| 389 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 390 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 391 |
#, no-wrap |
| 392 |
msgid "B<EMFILE>" |
| 393 |
msgstr "B<EMFILE>" |
| 394 |
|
| 395 |
#. type: Plain text |
| 396 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 397 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 398 |
msgid "" |
| 399 |
"The per-process limit on the number of open file descriptors has been " |
| 400 |
"reached (see the discussion of B<RLIMIT_NOFILE> in B<getrlimit>(2))." |
| 401 |
msgstr "" |
| 402 |
"Zostało osiągnięte ograniczenie na liczbę otwartych deskryptorów plików dla " |
| 403 |
"procesu (zob. opis B<RLIMIT_NOFILE> w B<getrlimit>(2))." |
| 404 |
|
| 405 |
#. type: TP |
| 406 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 407 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 408 |
#, no-wrap |
| 409 |
msgid "B<ENOMEM>" |
| 410 |
msgstr "B<ENOMEM>" |
| 411 |
|
| 412 |
#. type: Plain text |
| 413 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 414 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 415 |
msgid "Insufficient kernel memory was available." |
| 416 |
msgstr "Brak pamięci jądra." |
| 417 |
|
| 418 |
#. type: SH |
| 419 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 420 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 421 |
#, no-wrap |
| 422 |
msgid "STANDARDS" |
| 423 |
msgstr "STANDARDY" |
| 424 |
|
| 425 |
#. type: Plain text |
| 426 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 427 |
#: opensuse-tumbleweed |
| 428 |
msgid "POSIX.1-2024." |
| 429 |
msgstr "POSIX.1-2024." |
| 430 |
|
| 431 |
#. type: SH |
| 432 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 433 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 434 |
#, no-wrap |
| 435 |
msgid "HISTORY" |
| 436 |
msgstr "HISTORIA" |
| 437 |
|
| 438 |
#. type: TP |
| 439 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 440 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 441 |
#, no-wrap |
| 442 |
msgid "B<dup>()" |
| 443 |
msgstr "B<dup>()" |
| 444 |
|
| 445 |
#. type: TQ |
| 446 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 447 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 448 |
#, no-wrap |
| 449 |
msgid "B<dup2>()" |
| 450 |
msgstr "B<dup2>()" |
| 451 |
|
| 452 |
#. SVr4 documents additional |
| 453 |
#. EINTR and ENOLINK error conditions. POSIX.1 adds EINTR. |
| 454 |
#. The EBUSY return is Linux-specific. |
| 455 |
#. type: Plain text |
| 456 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 457 |
#: opensuse-tumbleweed |
| 458 |
msgid "4.3BSD, SVr4, POSIX.1-1988." |
| 459 |
msgstr "4.3BSD, SVr4, POSIX.1-1988." |
| 460 |
|
| 461 |
#. type: TP |
| 462 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 463 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 464 |
#, no-wrap |
| 465 |
msgid "B<dup3>()" |
| 466 |
msgstr "B<dup3>()" |
| 467 |
|
| 468 |
#. type: Plain text |
| 469 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 470 |
#: opensuse-tumbleweed |
| 471 |
msgid "POSIX.1-2024. Linux 2.6.27, glibc 2.9." |
| 472 |
msgstr "POSIX.1-2024. Linux 2.6.27, glibc 2.9." |
| 473 |
|
| 474 |
#. type: SH |
| 475 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 476 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 477 |
#, no-wrap |
| 478 |
msgid "NOTES" |
| 479 |
msgstr "UWAGI" |
| 480 |
|
| 481 |
#. type: Plain text |
| 482 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 483 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 484 |
msgid "" |
| 485 |
"The error returned by B<dup2>() is different from that returned by " |
| 486 |
"B<fcntl(>..., B<F_DUPFD>, ...B<)> when I<newfd> is out of range. On some " |
| 487 |
"systems, B<dup2>() also sometimes returns B<EINVAL> like B<F_DUPFD>." |
| 488 |
msgstr "" |
| 489 |
"Błąd zwracany przez B<dup2>() jest inny niż zwracany przez B<fcntl(>..., " |
| 490 |
"B<F_DUPFD>, ...B<)> gdy I<newfd> jest poza zakresem. W niektórych systemach " |
| 491 |
"B<dup2>() zwraca też czasem B<EINVAL> jako B<F_DUPFD>." |
| 492 |
|
| 493 |
#. type: Plain text |
| 494 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 495 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 496 |
msgid "" |
| 497 |
"If I<newfd> was open, any errors that would have been reported at " |
| 498 |
"B<close>(2) time are lost. If this is of concern, then\\[em]unless the " |
| 499 |
"program is single-threaded and does not allocate file descriptors in signal " |
| 500 |
"handlers\\[em]the correct approach is I<not> to close I<newfd> before " |
| 501 |
"calling B<dup2>(), because of the race condition described above. Instead, " |
| 502 |
"code something like the following could be used:" |
| 503 |
msgstr "" |
| 504 |
"Jeśli I<newfd> był otwarty, wszelkie błędy, które mogłyby zostać zgłoszone w " |
| 505 |
"chwili wykonania B<close>(2) zostaną utracone. Jeśli jest to istotne, to \\" |
| 506 |
"[en] o ile program jest jednowątkowy i nie przydziela deskryptorów pliku w " |
| 507 |
"procedurach obsługi sygnału \\[en] prawidłowym podejściem jest I<nie> " |
| 508 |
"zamykanie I<newfd> przez wywołanie B<dup2>(), ze względu na sytuację hazardu " |
| 509 |
"opisaną powyżej. Zamiast tego, można użyć kodu podobnego do poniższego:" |
| 510 |
|
| 511 |
#. type: Plain text |
| 512 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 513 |
#: opensuse-tumbleweed |
| 514 |
#, no-wrap |
| 515 |
msgid "" |
| 516 |
"/* Obtain a duplicate of \\[aq]newfd\\[aq] that can subsequently\n" |
| 517 |
" be used to check for close() errors; an EBADF error\n" |
| 518 |
" means that \\[aq]newfd\\[aq] was not open. */\n" |
| 519 |
"\\&\n" |
| 520 |
"tmpfd = dup(newfd);\n" |
| 521 |
"if (tmpfd == -1 && errno != EBADF) {\n" |
| 522 |
" /* Handle unexpected dup() error. */\n" |
| 523 |
"}\n" |
| 524 |
"\\&\n" |
| 525 |
"/* Atomically duplicate \\[aq]oldfd\\[aq] on \\[aq]newfd\\[aq]. */\n" |
| 526 |
"\\&\n" |
| 527 |
"if (dup2(oldfd, newfd) == -1) {\n" |
| 528 |
" /* Handle dup2() error. */\n" |
| 529 |
"}\n" |
| 530 |
"\\&\n" |
| 531 |
"/* Now check for close() errors on the file originally\n" |
| 532 |
" referred to by \\[aq]newfd\\[aq]. */\n" |
| 533 |
"\\&\n" |
| 534 |
"if (tmpfd != -1) {\n" |
| 535 |
" if (close(tmpfd) == -1) {\n" |
| 536 |
" /* Handle errors from close. */\n" |
| 537 |
" }\n" |
| 538 |
"}\n" |
| 539 |
msgstr "" |
| 540 |
"/* Pozyskanie duplikatu \\[aq]newfd\\[aq], którego można\n" |
| 541 |
" następnie użyć do sprawdzenia błędów close(); błąd EBADF\n" |
| 542 |
" oznacza, że \\[aq]newfd\\[aq] nie był otwarty. */\n" |
| 543 |
"\\&\n" |
| 544 |
"tmpfd = dup(newfd);\n" |
| 545 |
"if (tmpfd == -1 && errno != EBADF) {\n" |
| 546 |
" /* Obsługa nieoczekiwanego błędu dup(). */\n" |
| 547 |
"}\n" |
| 548 |
"\\&\n" |
| 549 |
"/* Niepodzielne zduplikowanie \\[aq]oldfd\\[aq] w \\[aq]newfd\\[aq]. */\n" |
| 550 |
"\\&\n" |
| 551 |
"if (dup2(oldfd, newfd) == -1) {\n" |
| 552 |
" /* Obsługa błędu dup2(). */\n" |
| 553 |
"}\n" |
| 554 |
"\\&\n" |
| 555 |
"/* Teraz sprawdzenie błędów close() pliku, do którego\n" |
| 556 |
" \\[aq]newfd\\[aq] odnosił się pierwotnie. */\n" |
| 557 |
"\\&\n" |
| 558 |
"if (tmpfd != -1) {\n" |
| 559 |
" if (close(tmpfd) == -1) {\n" |
| 560 |
" /* Obsługa błędów z close. */\n" |
| 561 |
" }\n" |
| 562 |
"}\n" |
| 563 |
|
| 564 |
#. type: SH |
| 565 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 566 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 567 |
#, no-wrap |
| 568 |
msgid "SEE ALSO" |
| 569 |
msgstr "ZOBACZ TAKŻE" |
| 570 |
|
| 571 |
#. type: Plain text |
| 572 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 573 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 574 |
msgid "B<close>(2), B<fcntl>(2), B<open>(2), B<pidfd_getfd>(2)" |
| 575 |
msgstr "B<close>(2), B<fcntl>(2), B<open>(2), B<pidfd_getfd>(2)" |
| 576 |
|
| 577 |
#. type: TH |
| 578 |
#: debian-trixie |
| 579 |
#, no-wrap |
| 580 |
msgid "2024-05-02" |
| 581 |
msgstr "2 maja 2024 r." |
| 582 |
|
| 583 |
#. type: TH |
| 584 |
#: debian-trixie |
| 585 |
#, no-wrap |
| 586 |
msgid "Linux man-pages 6.9.1" |
| 587 |
msgstr "Linux man-pages 6.9.1" |
| 588 |
|
| 589 |
#. type: Plain text |
| 590 |
#: debian-trixie |
| 591 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 592 |
msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)" |
| 593 |
|
| 594 |
#. type: Plain text |
| 595 |
#: debian-trixie fedora-44 fedora-rawhide |
| 596 |
msgid "POSIX.1-2008." |
| 597 |
msgstr "POSIX.1-2008." |
| 598 |
|
| 599 |
#. type: Plain text |
| 600 |
#: debian-trixie fedora-44 fedora-rawhide |
| 601 |
msgid "Linux." |
| 602 |
msgstr "Linux." |
| 603 |
|
| 604 |
#. SVr4 documents additional |
| 605 |
#. EINTR and ENOLINK error conditions. POSIX.1 adds EINTR. |
| 606 |
#. The EBUSY return is Linux-specific. |
| 607 |
#. type: Plain text |
| 608 |
#: debian-trixie fedora-44 fedora-rawhide |
| 609 |
msgid "POSIX.1-2001, SVr4, 4.3BSD." |
| 610 |
msgstr "POSIX.1-2001, SVr4, 4.3BSD." |
| 611 |
|
| 612 |
#. type: Plain text |
| 613 |
#: debian-trixie fedora-44 fedora-rawhide |
| 614 |
msgid "Linux 2.6.27, glibc 2.9." |
| 615 |
msgstr "Linux 2.6.27, glibc 2.9." |
| 616 |
|
| 617 |
#. type: Plain text |
| 618 |
#: debian-trixie fedora-44 fedora-rawhide |
| 619 |
#, no-wrap |
| 620 |
msgid "" |
| 621 |
"/* Obtain a duplicate of \\[aq]newfd\\[aq] that can subsequently\n" |
| 622 |
" be used to check for close() errors; an EBADF error\n" |
| 623 |
" means that \\[aq]newfd\\[aq] was not open. */\n" |
| 624 |
"\\&\n" |
| 625 |
"tmpfd = dup(newfd);\n" |
| 626 |
"if (tmpfd == -1 && errno != EBADF) {\n" |
| 627 |
" /* Handle unexpected dup() error. */\n" |
| 628 |
"}\n" |
| 629 |
"\\&\n" |
| 630 |
"/* Atomically duplicate \\[aq]oldfd\\[aq] on \\[aq]newfd\\[aq]. */\n" |
| 631 |
"\\&\n" |
| 632 |
"if (dup2(oldfd, newfd) == -1) {\n" |
| 633 |
" /* Handle dup2() error. */\n" |
| 634 |
"}\n" |
| 635 |
"\\&\n" |
| 636 |
"/* Now check for close() errors on the file originally\n" |
| 637 |
" referred to by \\[aq]newfd\\[aq]. */\n" |
| 638 |
"\\&\n" |
| 639 |
"if (tmpfd != -1) {\n" |
| 640 |
" if (close(tmpfd) == -1) {\n" |
| 641 |
" /* Handle errors from close. */\n" |
| 642 |
" }\n" |
| 643 |
"}\n" |
| 644 |
msgstr "" |
| 645 |
"/* Pozyskanie duplikatu \\[aq]newfd\\[aq], którego można\n" |
| 646 |
" następnie użyć do sprawdzenia błędów close(); błąd EBADF\n" |
| 647 |
" oznacza, że \\[aq]newfd\\[aq] nie był otwarty. */\n" |
| 648 |
"\\&\n" |
| 649 |
"tmpfd = dup(newfd);\n" |
| 650 |
"if (tmpfd == -1 && errno != EBADF) {\n" |
| 651 |
" /* Obsługa nieoczekiwanego błędu dup(). */\n" |
| 652 |
"}\n" |
| 653 |
"\\&\n" |
| 654 |
"/* Niepodzielne zduplikowanie \\[aq]oldfd\\[aq] w \\[aq]newfd\\[aq]. */\n" |
| 655 |
"\\&\n" |
| 656 |
"if (dup2(oldfd, newfd) == -1) {\n" |
| 657 |
" /* Obsługa błędu dup2(). */\n" |
| 658 |
"}\n" |
| 659 |
"\\&\n" |
| 660 |
"/* Teraz sprawdzenie błędów close() pliku, do którego\n" |
| 661 |
" \\[aq]newfd\\[aq] odnosił się pierwotnie. */\n" |
| 662 |
"\\&\n" |
| 663 |
"if (tmpfd != -1) {\n" |
| 664 |
" if (close(tmpfd) == -1) {\n" |
| 665 |
" /* Obsługa błędów z close. */\n" |
| 666 |
" }\n" |
| 667 |
"}\n" |
| 668 |
|
| 669 |
#. type: TH |
| 670 |
#: fedora-44 fedora-rawhide |
| 671 |
#, no-wrap |
| 672 |
msgid "2024-11-01" |
| 673 |
msgstr "1 listopada 2024 r." |
| 674 |
|
| 675 |
#. type: TH |
| 676 |
#: fedora-44 fedora-rawhide |
| 677 |
#, no-wrap |
| 678 |
msgid "Linux man-pages 6.13" |
| 679 |
msgstr "Linux man-pages 6.13" |
| 680 |
|
| 681 |
#. type: TH |
| 682 |
#: mageia-cauldron |
| 683 |
#, no-wrap |
| 684 |
msgid "Linux man-pages 6.17" |
| 685 |
msgstr "Linux man-pages 6.17" |
| 686 |
|
| 687 |
#. type: TH |
| 688 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 689 |
#, no-wrap |
| 690 |
msgid "Linux man-pages (unreleased)" |
| 691 |
msgstr "Linux man-pages (niewydane)" |