| 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:20+0200\n" |
| 11 |
"PO-Revision-Date: 2025-11-21 20:53+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 |
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " |
| 19 |
"|| n%100>=20) ? 1 : 2);\n" |
| 20 |
"X-Generator: Lokalize 25.04.0\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 "close" |
| 27 |
msgstr "close" |
| 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 "close - close a file descriptor" |
| 53 |
msgstr "close - zamyka 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 "B<int close(int >I<fd>B<);>\n" |
| 87 |
msgstr "B<int close(int >I<fd>B<);>\n" |
| 88 |
|
| 89 |
#. type: SH |
| 90 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 91 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 92 |
#, no-wrap |
| 93 |
msgid "DESCRIPTION" |
| 94 |
msgstr "OPIS" |
| 95 |
|
| 96 |
#. type: Plain text |
| 97 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 98 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 99 |
msgid "" |
| 100 |
"B<close>() closes a file descriptor, so that it no longer refers to any " |
| 101 |
"file and may be reused. Any record locks (see B<fcntl>(2)) held on the " |
| 102 |
"file it was associated with, and owned by the process, are removed " |
| 103 |
"regardless of the file descriptor that was used to obtain the lock. This " |
| 104 |
"has some unfortunate consequences and one should be extra careful when using " |
| 105 |
"advisory record locking. See B<fcntl>(2) for discussion of the risks and " |
| 106 |
"consequences as well as for the (probably preferred) open file description " |
| 107 |
"locks." |
| 108 |
msgstr "" |
| 109 |
"B<close>() zamyka deskryptor pliku, tak że nie odnosi się on już później do " |
| 110 |
"żadnego pliku i może być użyty ponownie. Wszelkie blokady na poziomie " |
| 111 |
"rekordu (zob. B<fcntl>(2)) utrzymywane na pliku, z którymi deskryptor był " |
| 112 |
"związany, i których właścicielem był proces, zostają usunięte, niezależnie " |
| 113 |
"od deskryptora plików, którego użyto dla uzyskanie blokady. Ma to pewne " |
| 114 |
"niefortunne skutki, dlatego należy być szczególnie ostrożnym przy używaniu " |
| 115 |
"pomocniczego zakładania blokad na poziomie rekordów. W podręczniku " |
| 116 |
"B<fcntl>(2) opisano ryzyka i konsekwencje oraz (prawdopodobnie preferowane) " |
| 117 |
"blokady opisu otwartego pliku (ang. open file description (OFD) lock)." |
| 118 |
|
| 119 |
#. type: Plain text |
| 120 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 121 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 122 |
msgid "" |
| 123 |
"If I<fd> is the last file descriptor referring to the underlying open file " |
| 124 |
"description (see B<open>(2)), the resources associated with the open file " |
| 125 |
"description are freed; if the file descriptor was the last reference to a " |
| 126 |
"file which has been removed using B<unlink>(2), the file is deleted." |
| 127 |
msgstr "" |
| 128 |
"Jeśli I<fd> jest ostatnim deskryptorem pliku odnoszącego się do podległego " |
| 129 |
"opisu otwartego pliku (OFD, zob. B<open>(2)), to zasoby związane z opisem " |
| 130 |
"otwartego pliku zostają zwolnione; jeśli deskryptor pliku był ostatnim " |
| 131 |
"odniesieniem do pliku, który usunięto za pomocą polecenia B<unlink>(2), to " |
| 132 |
"plik jest kasowany." |
| 133 |
|
| 134 |
#. type: SH |
| 135 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 136 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 137 |
#, no-wrap |
| 138 |
msgid "RETURN VALUE" |
| 139 |
msgstr "WARTOŚĆ ZWRACANA" |
| 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 |
"B<close>() returns zero on success. On error, -1 is returned, and I<errno> " |
| 146 |
"is set to indicate the error." |
| 147 |
msgstr "" |
| 148 |
"B<close>() w przypadku powodzenia zwraca zero. W razie wystąpienia błędu " |
| 149 |
"zwracane jest -1 i ustawiana jest zmienna I<errno> wskazując na błąd." |
| 150 |
|
| 151 |
#. type: SH |
| 152 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 153 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 154 |
#, no-wrap |
| 155 |
msgid "ERRORS" |
| 156 |
msgstr "BŁĘDY" |
| 157 |
|
| 158 |
#. type: TP |
| 159 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 160 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 161 |
#, no-wrap |
| 162 |
msgid "B<EBADF>" |
| 163 |
msgstr "B<EBADF>" |
| 164 |
|
| 165 |
#. type: Plain text |
| 166 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 167 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 168 |
msgid "I<fd> isn't a valid open file descriptor." |
| 169 |
msgstr "I<fd> nie jest prawidłowym deskryptorem otwartego pliku." |
| 170 |
|
| 171 |
#. type: TP |
| 172 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 173 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 174 |
#, no-wrap |
| 175 |
msgid "B<EINTR>" |
| 176 |
msgstr "B<EINTR>" |
| 177 |
|
| 178 |
#. Though, it's in doubt whether this error can ever occur; see |
| 179 |
#. https://lwn.net/Articles/576478/ "Returning EINTR from close()" |
| 180 |
#. type: Plain text |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
msgid "The B<close>() call was interrupted by a signal; see B<signal>(7)." |
| 184 |
msgstr "" |
| 185 |
"Funkcja B<close>() została przerwana przez sygnał; zobacz B<signal>(7)." |
| 186 |
|
| 187 |
#. type: TP |
| 188 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 189 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 190 |
#, no-wrap |
| 191 |
msgid "B<EIO>" |
| 192 |
msgstr "B<EIO>" |
| 193 |
|
| 194 |
#. type: Plain text |
| 195 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 196 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 197 |
msgid "An I/O error occurred." |
| 198 |
msgstr "Wystąpił błąd wejścia/wyjścia." |
| 199 |
|
| 200 |
#. type: TP |
| 201 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 202 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 203 |
#, no-wrap |
| 204 |
msgid "B<ENOSPC>" |
| 205 |
msgstr "B<ENOSPC>" |
| 206 |
|
| 207 |
#. type: TQ |
| 208 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 209 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 210 |
#, no-wrap |
| 211 |
msgid "B<EDQUOT>" |
| 212 |
msgstr "B<EDQUOT>" |
| 213 |
|
| 214 |
#. type: Plain text |
| 215 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 216 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 217 |
msgid "" |
| 218 |
"On NFS, these errors are not normally reported against the first write which " |
| 219 |
"exceeds the available storage space, but instead against a subsequent " |
| 220 |
"B<write>(2), B<fsync>(2), or B<close>()." |
| 221 |
msgstr "" |
| 222 |
"W NFS, błędy te nie są zwykle zgłaszane wobec wobec pierwszego zapisu, który " |
| 223 |
"przekroczył dostępną przestrzeń dyskową, lecz wobec kolejnego B<write>(2), " |
| 224 |
"B<fsync>(2) lub B<close>()." |
| 225 |
|
| 226 |
#. type: Plain text |
| 227 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 228 |
#: opensuse-tumbleweed |
| 229 |
msgid "" |
| 230 |
"See CAVEATS for a discussion of why B<close>() should not be retried after " |
| 231 |
"an error." |
| 232 |
msgstr "" |
| 233 |
"Zob. ZASTRZEŻENIA, aby dowiedzieć się dlaczego B<close>() nie powinien być " |
| 234 |
"powtarzany po wystąpieniu błędu." |
| 235 |
|
| 236 |
#. type: SH |
| 237 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 238 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 239 |
#, no-wrap |
| 240 |
msgid "STANDARDS" |
| 241 |
msgstr "STANDARDY" |
| 242 |
|
| 243 |
#. type: Plain text |
| 244 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 245 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 246 |
msgid "POSIX.1-2008." |
| 247 |
msgstr "POSIX.1-2008." |
| 248 |
|
| 249 |
#. type: SH |
| 250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 252 |
#, no-wrap |
| 253 |
msgid "HISTORY" |
| 254 |
msgstr "HISTORIA" |
| 255 |
|
| 256 |
#. SVr4 documents an additional ENOLINK error condition. |
| 257 |
#. type: Plain text |
| 258 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 259 |
#: opensuse-tumbleweed |
| 260 |
msgid "4.3BSD, SVr4, POSIX.1-1988." |
| 261 |
msgstr "4.3BSD, SVr4, POSIX.1-1988." |
| 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 "NOTES" |
| 268 |
msgstr "UWAGI" |
| 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 |
"The close-on-exec file descriptor flag can be used to ensure that a file " |
| 275 |
"descriptor is automatically closed upon a successful B<execve>(2); see " |
| 276 |
"B<fcntl>(2) for details." |
| 277 |
msgstr "" |
| 278 |
"Znacznik deskryptora pliku zamknij-przy-wykonaniu może być użyty do " |
| 279 |
"upewnienia się, że dany deskryptor pliku jest automatycznie zamknięty po " |
| 280 |
"pomyślnym B<execve>(2); więcej szczegółów w podręczniku B<fcntl>(2)." |
| 281 |
|
| 282 |
#. type: SH |
| 283 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 284 |
#: opensuse-tumbleweed |
| 285 |
#, no-wrap |
| 286 |
msgid "CAVEATS" |
| 287 |
msgstr "ZASTRZEŻENIA" |
| 288 |
|
| 289 |
#. type: Plain text |
| 290 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 291 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 292 |
msgid "" |
| 293 |
"A successful close does not guarantee that the data has been successfully " |
| 294 |
"saved to disk, as the kernel uses the buffer cache to defer writes. " |
| 295 |
"Typically, filesystems do not flush buffers when a file is closed. If you " |
| 296 |
"need to be sure that the data is physically stored on the underlying disk, " |
| 297 |
"use B<fsync>(2). (It will depend on the disk hardware at this point.)" |
| 298 |
msgstr "" |
| 299 |
"Pomyślne zamknięcie nie gwarantuje, że dane zostaną pomyślnie zapisane na " |
| 300 |
"dysku, gdyż jądro używa bufora do opóźnienia zapisów. Zwykle systemy plików " |
| 301 |
"nie opróżniają buforów przy zamykaniu pliku. Jeśli istnieje potrzeba " |
| 302 |
"zapewnienia, aby dane zostały zapisane fizycznie na nośniku, należy użyć " |
| 303 |
"B<fsync>(2) (zapis zależy w tym momencie od właściwości sprzętowych dysku)." |
| 304 |
|
| 305 |
#. type: SS |
| 306 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 307 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 308 |
#, no-wrap |
| 309 |
msgid "Multithreaded processes and close()" |
| 310 |
msgstr "Procesy wielowątkowe i close()" |
| 311 |
|
| 312 |
#. #-#-#-#-# archlinux: close.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 313 |
#. Date: Tue, 4 Sep 2007 13:57:35 +0200 |
| 314 |
#. From: Fredrik Noring <[email protected]> |
| 315 |
#. One such race involves signals and ERESTARTSYS. If a file descriptor |
| 316 |
#. in use by a system call is closed and then reused by, e.g., an |
| 317 |
#. independent open() in some unrelated thread, before the original system |
| 318 |
#. call has restarted after ERESTARTSYS, the original system call will |
| 319 |
#. later restart with the reused file descriptor. This is most likely a |
| 320 |
#. serious programming error. |
| 321 |
#. type: Plain text |
| 322 |
#. #-#-#-#-# debian-trixie: close.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 323 |
#. Date: Tue, 4 Sep 2007 13:57:35 +0200 |
| 324 |
#. From: Fredrik Noring <[email protected]> |
| 325 |
#. One such race involves signals and ERESTARTSYS. If a file descriptor |
| 326 |
#. in use by a system call is closed and then reused by e.g. an |
| 327 |
#. independent open() in some unrelated thread, before the original system |
| 328 |
#. call has restarted after ERESTARTSYS, the original system call will |
| 329 |
#. later restart with the reused file descriptor. This is most likely a |
| 330 |
#. serious programming error. |
| 331 |
#. type: Plain text |
| 332 |
#. #-#-#-#-# debian-unstable: close.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 333 |
#. Date: Tue, 4 Sep 2007 13:57:35 +0200 |
| 334 |
#. From: Fredrik Noring <[email protected]> |
| 335 |
#. One such race involves signals and ERESTARTSYS. If a file descriptor |
| 336 |
#. in use by a system call is closed and then reused by, e.g., an |
| 337 |
#. independent open() in some unrelated thread, before the original system |
| 338 |
#. call has restarted after ERESTARTSYS, the original system call will |
| 339 |
#. later restart with the reused file descriptor. This is most likely a |
| 340 |
#. serious programming error. |
| 341 |
#. type: Plain text |
| 342 |
#. #-#-#-#-# fedora-44: close.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 343 |
#. type: Plain text |
| 344 |
#. #-#-#-#-# fedora-rawhide: close.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 345 |
#. type: Plain text |
| 346 |
#. #-#-#-#-# mageia-cauldron: close.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 347 |
#. Date: Tue, 4 Sep 2007 13:57:35 +0200 |
| 348 |
#. From: Fredrik Noring <[email protected]> |
| 349 |
#. One such race involves signals and ERESTARTSYS. If a file descriptor |
| 350 |
#. in use by a system call is closed and then reused by, e.g., an |
| 351 |
#. independent open() in some unrelated thread, before the original system |
| 352 |
#. call has restarted after ERESTARTSYS, the original system call will |
| 353 |
#. later restart with the reused file descriptor. This is most likely a |
| 354 |
#. serious programming error. |
| 355 |
#. type: Plain text |
| 356 |
#. #-#-#-#-# opensuse-leap-16-1: close.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 357 |
#. Date: Tue, 4 Sep 2007 13:57:35 +0200 |
| 358 |
#. From: Fredrik Noring <[email protected]> |
| 359 |
#. One such race involves signals and ERESTARTSYS. If a file descriptor |
| 360 |
#. in use by a system call is closed and then reused by, e.g., an |
| 361 |
#. independent open() in some unrelated thread, before the original system |
| 362 |
#. call has restarted after ERESTARTSYS, the original system call will |
| 363 |
#. later restart with the reused file descriptor. This is most likely a |
| 364 |
#. serious programming error. |
| 365 |
#. type: Plain text |
| 366 |
#. #-#-#-#-# opensuse-tumbleweed: close.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 367 |
#. Date: Tue, 4 Sep 2007 13:57:35 +0200 |
| 368 |
#. From: Fredrik Noring <[email protected]> |
| 369 |
#. One such race involves signals and ERESTARTSYS. If a file descriptor |
| 370 |
#. in use by a system call is closed and then reused by, e.g., an |
| 371 |
#. independent open() in some unrelated thread, before the original system |
| 372 |
#. call has restarted after ERESTARTSYS, the original system call will |
| 373 |
#. later restart with the reused file descriptor. This is most likely a |
| 374 |
#. serious programming error. |
| 375 |
#. type: Plain text |
| 376 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 377 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 378 |
msgid "" |
| 379 |
"It is probably unwise to close file descriptors while they may be in use by " |
| 380 |
"system calls in other threads in the same process. Since a file descriptor " |
| 381 |
"may be reused, there are some obscure race conditions that may cause " |
| 382 |
"unintended side effects." |
| 383 |
msgstr "" |
| 384 |
"Prawdopodobnie nie jest roztropnie zamykać deskryptory pliku w chwili, gdy " |
| 385 |
"mogą być one używane przez wywołania systemowe w innych wątkach tego samego " |
| 386 |
"procesu. Ponieważ deskryptora pliku można użyć ponownie, istnieją pewne " |
| 387 |
"zawiłe sytuacje hazardu, które mogą przynieść pewnie nieprzewidziane skutku " |
| 388 |
"uboczne." |
| 389 |
|
| 390 |
#. type: Plain text |
| 391 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 392 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 393 |
msgid "" |
| 394 |
"Furthermore, consider the following scenario where two threads are " |
| 395 |
"performing operations on the same file descriptor:" |
| 396 |
msgstr "" |
| 397 |
"Co więcej, proszę rozważyć następujący scenariusz, gdy dwa wątki " |
| 398 |
"przeprowadzają operacje na tym samym deskryptorze pliku:" |
| 399 |
|
| 400 |
#. type: IP |
| 401 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 402 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 403 |
#, no-wrap |
| 404 |
msgid "(1)" |
| 405 |
msgstr "(1)" |
| 406 |
|
| 407 |
#. type: Plain text |
| 408 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 409 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 410 |
msgid "" |
| 411 |
"One thread is blocked in an I/O system call on the file descriptor. For " |
| 412 |
"example, it is trying to B<write>(2) to a pipe that is already full, or " |
| 413 |
"trying to B<read>(2) from a stream socket which currently has no available " |
| 414 |
"data." |
| 415 |
msgstr "" |
| 416 |
"Jeden wątek jest zablokowany w wywołaniu wejścia/wyjścia na deskryptorze " |
| 417 |
"pliku. Może to być na przykład próba B<write>(2) do zapełnionego potoku lub " |
| 418 |
"próba B<read>(2) z gniazda strumieniowego, które aktualnie nie dysponuje " |
| 419 |
"danymi." |
| 420 |
|
| 421 |
#. type: IP |
| 422 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 423 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 424 |
#, no-wrap |
| 425 |
msgid "(2)" |
| 426 |
msgstr "(2)" |
| 427 |
|
| 428 |
#. type: Plain text |
| 429 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 430 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 431 |
msgid "Another thread closes the file descriptor." |
| 432 |
msgstr "Inny wątek zamyka deskryptor pliku." |
| 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 "" |
| 438 |
"The behavior in this situation varies across systems. On some systems, when " |
| 439 |
"the file descriptor is closed, the blocking system call returns immediately " |
| 440 |
"with an error." |
| 441 |
msgstr "" |
| 442 |
"Zachowanie w takiej sytuacji różni się w różnych systemach. W niektórych, po " |
| 443 |
"zamknięciu deskryptora pliku, blokujące wywołanie systemowe natychmiast " |
| 444 |
"powróci z błędem." |
| 445 |
|
| 446 |
#. 'struct file' in kernel-speak |
| 447 |
#. type: Plain text |
| 448 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 449 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 450 |
msgid "" |
| 451 |
"On Linux (and possibly some other systems), the behavior is different: the " |
| 452 |
"blocking I/O system call holds a reference to the underlying open file " |
| 453 |
"description, and this reference keeps the description open until the I/O " |
| 454 |
"system call completes. (See B<open>(2) for a discussion of open file " |
| 455 |
"descriptions.) Thus, the blocking system call in the first thread may " |
| 456 |
"successfully complete after the B<close>() in the second thread." |
| 457 |
msgstr "" |
| 458 |
"W Linuksie (i prawdopodobnie w niektórych innych systemach) zachowanie jest " |
| 459 |
"inne: blokujące wywołanie systemowe wejścia/wyjścia utrzymuje referencję do " |
| 460 |
"podległego opisu otwartego pliku (OFD) i to odniesienie utrzymuje opis " |
| 461 |
"otwarty do momentu zakończenia wywołania systemowego wejścia/wyjścia (zob. " |
| 462 |
"B<open>(2) aby dowiedzieć się więcej o opisach otwartego pliku). Z tego " |
| 463 |
"względu, blokujące wywołanie systemowe w pierwszym wątku może się pomyślnie " |
| 464 |
"zakończyć po B<close>() w drugim wątku." |
| 465 |
|
| 466 |
#. type: SS |
| 467 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 468 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 469 |
#, no-wrap |
| 470 |
msgid "Dealing with error returns from close()" |
| 471 |
msgstr "Zajmowanie się błędami zwróconymi przez close()" |
| 472 |
|
| 473 |
#. type: Plain text |
| 474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 476 |
msgid "" |
| 477 |
"A careful programmer will check the return value of B<close>(), since it is " |
| 478 |
"quite possible that errors on a previous B<write>(2) operation are reported " |
| 479 |
"only on the final B<close>() that releases the open file description. " |
| 480 |
"Failing to check the return value when closing a file may lead to I<silent> " |
| 481 |
"loss of data. This can especially be observed with NFS and with disk quota." |
| 482 |
msgstr "" |
| 483 |
"Ostrożny programista sprawdzi wartość zwracaną przez B<close>(), ponieważ " |
| 484 |
"może się zdarzyć, że błędy wcześniejszej operacji B<write>(2) zostaną " |
| 485 |
"zgłoszone jedynie przy kończącym B<close>(), zwalniającym opis otwartego " |
| 486 |
"pliku (OFD). Niesprawdzenie zwróconej podczas zamykania pliku wartości może " |
| 487 |
"doprowadzić do I<niesygnalizowanej> utraty danych. Jest to obserwowane " |
| 488 |
"zwłaszcza w przypadku NFS i przy używaniu przydziałów dyskowych." |
| 489 |
|
| 490 |
#. type: Plain text |
| 491 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 492 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 493 |
msgid "" |
| 494 |
"Note, however, that a failure return should be used only for diagnostic " |
| 495 |
"purposes (i.e., a warning to the application that there may still be I/O " |
| 496 |
"pending or there may have been failed I/O) or remedial purposes (e.g., " |
| 497 |
"writing the file once more or creating a backup)." |
| 498 |
msgstr "" |
| 499 |
"Proszę jednak zauważyć, że zwrócenie błędu powinno być używane jedynie do " |
| 500 |
"celów diagnostycznych (tj. jako ostrzeżenie dla aplikacji, że wciąż może " |
| 501 |
"istnieć oczekujące wejście/wyjście lub wejście/wyjście mogło się nie " |
| 502 |
"powieść) lub do celów zaradczych (np. ponowny zapis pliku lub utworzenie " |
| 503 |
"kopii)." |
| 504 |
|
| 505 |
# |
| 506 |
#. The file descriptor is released early in close(); |
| 507 |
#. close() ==> __close_fd(): |
| 508 |
#. __put_unused_fd() ==> __clear_open_fd() |
| 509 |
#. return filp_close(file, files); |
| 510 |
#. The errors are returned by filp_close() after the FD has been |
| 511 |
#. cleared for re-use. |
| 512 |
#. filp_close() |
| 513 |
#. type: Plain text |
| 514 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 515 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 516 |
msgid "" |
| 517 |
"Retrying the B<close>() after a failure return is the wrong thing to do, " |
| 518 |
"since this may cause a reused file descriptor from another thread to be " |
| 519 |
"closed. This can occur because the Linux kernel I<always> releases the file " |
| 520 |
"descriptor early in the close operation, freeing it for reuse; the steps " |
| 521 |
"that may return an error, such as flushing data to the filesystem or device, " |
| 522 |
"occur only later in the close operation." |
| 523 |
msgstr "" |
| 524 |
"Ponowna próba wykonania B<close>() po zwróceniu błędu nie jest właściwym " |
| 525 |
"zachowaniem, ponieważ może to spowodować zamknięcie użytego ponownie " |
| 526 |
"deskryptora pliku z innego wątku. Może się tak zdarzyć, ponieważ jądro Linux " |
| 527 |
"I<zawsze> uwalnia deskryptor plików wcześnie przy operacji zamykania, " |
| 528 |
"zwalniając go do ponownego użytku; kroki mogące zwrócić błąd, takie jak " |
| 529 |
"opróżnianie danych do systemu plików lub urządzenia, mogą wystąpić przy " |
| 530 |
"operacji zamykania jedynie później." |
| 531 |
|
| 532 |
#. FreeBSD documents this explicitly. From the look of the source code |
| 533 |
#. SVR4, ancient SunOS, later Solaris, and AIX all do this. |
| 534 |
#. type: Plain text |
| 535 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 536 |
#: opensuse-tumbleweed |
| 537 |
msgid "" |
| 538 |
"Many other implementations similarly always close the file descriptor " |
| 539 |
"(except in the case of B<EBADF>, meaning that the file descriptor was " |
| 540 |
"invalid) even if they subsequently report an error on return from " |
| 541 |
"B<close>(). POSIX.1-2008 was silent on this point." |
| 542 |
msgstr "" |
| 543 |
"Większość innych implementacji zachowuje się podobnie zamykając deskryptor " |
| 544 |
"plików zawsze (z wyjątkiem B<EBADF> oznaczającego, że deskryptor pliku był " |
| 545 |
"nieprawidłowy) nawet, gdy następnie zwrócą błąd przy powrocie z B<close>(). " |
| 546 |
"POSIX.1-2008 nie wypowiadał się na ten temat." |
| 547 |
|
| 548 |
#. type: Plain text |
| 549 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 550 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 551 |
msgid "" |
| 552 |
"A careful programmer who wants to know about I/O errors may precede " |
| 553 |
"B<close>() with a call to B<fsync>(2)." |
| 554 |
msgstr "" |
| 555 |
"Ostrożny programista, chcący posiąść informacje o błędach wejścia/wyjścia, " |
| 556 |
"może poprzedzić B<close>() wywołaniem do B<fsync>(2)." |
| 557 |
|
| 558 |
#. type: Plain text |
| 559 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 560 |
#: opensuse-tumbleweed |
| 561 |
msgid "" |
| 562 |
"The B<EINTR> error is a somewhat special case. Regarding the B<EINTR> " |
| 563 |
"error, POSIX.1-2008 said:" |
| 564 |
msgstr "" |
| 565 |
"Błąd B<EINTR> jest poniekąd szczególnym przypadkiem. Odnośnie błędu B<EINTR> " |
| 566 |
"norma POSIX.1-2008 wspominała:" |
| 567 |
|
| 568 |
#. type: Plain text |
| 569 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 570 |
#: opensuse-tumbleweed |
| 571 |
msgid "" |
| 572 |
"If B<close>() is interrupted by a signal that is to be caught, it shall " |
| 573 |
"return -1 with I<errno> set to B<EINTR> and the state of I<fd> is " |
| 574 |
"unspecified." |
| 575 |
msgstr "" |
| 576 |
"Jeśli B<close>() zostanie przerwane mającym być przechwyconym sygnałem, ma " |
| 577 |
"zwrócić wartość -1 z I<errno> ustawionym na B<EINTR>, a stan I<fd> jest " |
| 578 |
"nieokreślony." |
| 579 |
|
| 580 |
#. type: Plain text |
| 581 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 582 |
#: opensuse-tumbleweed |
| 583 |
msgid "" |
| 584 |
"This permits the behavior that occurs on Linux and many other " |
| 585 |
"implementations, where, as with other errors that may be reported by " |
| 586 |
"B<close>(), the file descriptor is guaranteed to be closed. However, it " |
| 587 |
"also permits another possibility: that the implementation returns an " |
| 588 |
"B<EINTR> error and keeps the file descriptor open. (According to its " |
| 589 |
"documentation, HP-UX's B<close>() does this.) The caller must then once " |
| 590 |
"more use B<close>() to close the file descriptor, to avoid file descriptor " |
| 591 |
"leaks. This divergence in implementation behaviors provides a difficult " |
| 592 |
"hurdle for portable applications, since on many implementations, B<close>() " |
| 593 |
"must not be called again after an B<EINTR> error, and on at least one, " |
| 594 |
"B<close>() must be called again." |
| 595 |
msgstr "" |
| 596 |
"Zezwala to na zachowanie występujące w Linuksie i wielu innych " |
| 597 |
"implementacjach, gdzie, jak w przypadku innych błędów, jakie może zwrócić " |
| 598 |
"B<close>(), deskryptor pliku zostanie na pewno zamknięty. Istnieje jednak " |
| 599 |
"również inna możliwość: że implementacja zwróci błąd B<EINTR> i utrzyma " |
| 600 |
"otwarty deskryptor pliku (zgodnie z dokumentacją HP-UX, jego B<close>() tak " |
| 601 |
"czyni). Wywołujący musi wówczas użyć B<close>() ponownie, aby zamknąć " |
| 602 |
"deskryptor pliku i aby uniknąć wycieku deskryptora pliku. Ta rozbieżność w " |
| 603 |
"implementacji czyni trudności przenośnym aplikacjom, ponieważ w wielu " |
| 604 |
"implementacjach B<close>() nie musi być ponownie wywoływane po błędzie " |
| 605 |
"B<EINTR>, a w przynajmniej jednej, B<close>() musi być ponownie wywołane." |
| 606 |
|
| 607 |
#. type: Plain text |
| 608 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 609 |
#: opensuse-tumbleweed |
| 610 |
msgid "" |
| 611 |
"POSIX.1-2024 standardized the behavior of HP-UX, making Linux and many other " |
| 612 |
"implementations non-conforming. There are no plans to change the behavior " |
| 613 |
"on Linux." |
| 614 |
msgstr "" |
| 615 |
"POSIX.1-2024 uczyniło standardowym zachowanie HP-UX, co spowodowało " |
| 616 |
"niezgodność Linuksa i wielu innych implementacji z normą. Nie ma planów " |
| 617 |
"modyfikacji opisanego zachowania w Linuksie." |
| 618 |
|
| 619 |
#. type: SH |
| 620 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 621 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 622 |
#, no-wrap |
| 623 |
msgid "SEE ALSO" |
| 624 |
msgstr "ZOBACZ TAKŻE" |
| 625 |
|
| 626 |
#. type: Plain text |
| 627 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 628 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 629 |
msgid "" |
| 630 |
"B<close_range>(2), B<fcntl>(2), B<fsync>(2), B<open>(2), B<shutdown>(2), " |
| 631 |
"B<unlink>(2), B<fclose>(3)" |
| 632 |
msgstr "" |
| 633 |
"B<close_range>(2), B<fcntl>(2), B<fsync>(2), B<open>(2), B<shutdown>(2), " |
| 634 |
"B<unlink>(2), B<fclose>(3)" |
| 635 |
|
| 636 |
#. type: TH |
| 637 |
#: debian-trixie |
| 638 |
#, no-wrap |
| 639 |
msgid "2024-05-02" |
| 640 |
msgstr "2 maja 2024 r." |
| 641 |
|
| 642 |
#. type: TH |
| 643 |
#: debian-trixie |
| 644 |
#, no-wrap |
| 645 |
msgid "Linux man-pages 6.9.1" |
| 646 |
msgstr "Linux man-pages 6.9.1" |
| 647 |
|
| 648 |
#. type: Plain text |
| 649 |
#: debian-trixie |
| 650 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 651 |
msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)" |
| 652 |
|
| 653 |
#. type: Plain text |
| 654 |
#: debian-trixie fedora-44 fedora-rawhide |
| 655 |
msgid "" |
| 656 |
"See NOTES for a discussion of why B<close>() should not be retried after an " |
| 657 |
"error." |
| 658 |
msgstr "" |
| 659 |
"Zob. UWAGI, aby dowiedzieć się dlaczego B<close>() nie powinien być " |
| 660 |
"powtarzany po wystąpieniu błędu." |
| 661 |
|
| 662 |
#. SVr4 documents an additional ENOLINK error condition. |
| 663 |
#. type: Plain text |
| 664 |
#: debian-trixie fedora-44 fedora-rawhide |
| 665 |
msgid "POSIX.1-2001, SVr4, 4.3BSD." |
| 666 |
msgstr "POSIX.1-2001, SVr4, 4.3BSD." |
| 667 |
|
| 668 |
#. FreeBSD documents this explicitly. From the look of the source code |
| 669 |
#. SVR4, ancient SunOS, later Solaris, and AIX all do this. |
| 670 |
#. Issue 8 |
| 671 |
#. type: Plain text |
| 672 |
#: debian-trixie fedora-44 fedora-rawhide |
| 673 |
msgid "" |
| 674 |
"Many other implementations similarly always close the file descriptor " |
| 675 |
"(except in the case of B<EBADF>, meaning that the file descriptor was " |
| 676 |
"invalid) even if they subsequently report an error on return from " |
| 677 |
"B<close>(). POSIX.1 is currently silent on this point, but there are plans " |
| 678 |
"to mandate this behavior in the next major release of the standard." |
| 679 |
msgstr "" |
| 680 |
"Większość innych implementacji zachowuje się podobnie zamykając deskryptor " |
| 681 |
"plików zawsze (z wyjątkiem B<EBADF> oznaczającego, że deskryptor pliku był " |
| 682 |
"nieprawidłowy) nawet, gdy następnie zwrócą błąd przy powrocie z B<close>(). " |
| 683 |
"POSIX.1 nie wypowiada się obecnie na ten temat, ale istnieją plany nakazania " |
| 684 |
"tego zachowania w następnym głównym wydaniu standardu" |
| 685 |
|
| 686 |
#. type: Plain text |
| 687 |
#: debian-trixie fedora-44 fedora-rawhide |
| 688 |
msgid "" |
| 689 |
"The B<EINTR> error is a somewhat special case. Regarding the B<EINTR> " |
| 690 |
"error, POSIX.1-2008 says:" |
| 691 |
msgstr "" |
| 692 |
"Błąd B<EINTR> jest poniekąd szczególnym przypadkiem. Odnośnie błędu B<EINTR> " |
| 693 |
"norma POSIX.1-2008 wspomina:" |
| 694 |
|
| 695 |
#. type: Plain text |
| 696 |
#: debian-trixie fedora-44 fedora-rawhide |
| 697 |
msgid "" |
| 698 |
"If B<close>() is interrupted by a signal that is to be caught, it shall " |
| 699 |
"return -1 with I<errno> set to B<EINTR> and the state of I<fildes> is " |
| 700 |
"unspecified." |
| 701 |
msgstr "" |
| 702 |
"Jeśli B<close>() zostanie przerwane mającym być przechwyconym sygnałem, ma " |
| 703 |
"zwrócić wartość -1 z I<errno> ustawionym na B<EINTR>, a stan I<fildes> jest " |
| 704 |
"nieokreślony." |
| 705 |
|
| 706 |
# |
| 707 |
#. FIXME . for later review when Issue 8 is one day released... |
| 708 |
#. POSIX proposes further changes for EINTR |
| 709 |
#. http://austingroupbugs.net/tag_view_page.php?tag_id=8 |
| 710 |
#. http://austingroupbugs.net/view.php?id=529 |
| 711 |
#. FIXME . |
| 712 |
#. Review the following glibc bug later |
| 713 |
#. https://sourceware.org/bugzilla/show_bug.cgi?id=14627 |
| 714 |
#. type: Plain text |
| 715 |
#: debian-trixie fedora-44 fedora-rawhide |
| 716 |
msgid "" |
| 717 |
"This permits the behavior that occurs on Linux and many other " |
| 718 |
"implementations, where, as with other errors that may be reported by " |
| 719 |
"B<close>(), the file descriptor is guaranteed to be closed. However, it " |
| 720 |
"also permits another possibility: that the implementation returns an " |
| 721 |
"B<EINTR> error and keeps the file descriptor open. (According to its " |
| 722 |
"documentation, HP-UX's B<close>() does this.) The caller must then once " |
| 723 |
"more use B<close>() to close the file descriptor, to avoid file descriptor " |
| 724 |
"leaks. This divergence in implementation behaviors provides a difficult " |
| 725 |
"hurdle for portable applications, since on many implementations, B<close>() " |
| 726 |
"must not be called again after an B<EINTR> error, and on at least one, " |
| 727 |
"B<close>() must be called again. There are plans to address this conundrum " |
| 728 |
"for the next major release of the POSIX.1 standard." |
| 729 |
msgstr "" |
| 730 |
"Zezwala to na zachowanie występujące w Linuksie i wielu innych " |
| 731 |
"implementacjach, gdzie, jak w przypadku innych błędów, jakie może zwrócić " |
| 732 |
"B<close>(), deskryptor pliku zostanie na pewno zamknięty. Istnieje jednak " |
| 733 |
"również inna możliwość: że implementacja zwróci błąd B<EINTR> i utrzyma " |
| 734 |
"otwarty deskryptor pliku (zgodnie z dokumentacją HP-UX, jego B<close>() tak " |
| 735 |
"czyni). Wywołujący musi wówczas użyć B<close>() ponownie, aby zamknąć " |
| 736 |
"deskryptor pliku i aby uniknąć wycieku deskryptora pliku. Ta rozbieżność w " |
| 737 |
"implementacji czyni trudności przenośnym aplikacjom, ponieważ w wielu " |
| 738 |
"implementacjach B<close>() nie musi być ponownie wywoływane po błędzie " |
| 739 |
"B<EINTR>, a w przynajmniej jednej, B<close>() musi być ponownie wywołane. " |
| 740 |
"Istnieją plany rozwiązania tej zagwozdki w następnym głównym wydaniu " |
| 741 |
"standardu POSIX.1." |
| 742 |
|
| 743 |
#. type: TH |
| 744 |
#: fedora-44 fedora-rawhide |
| 745 |
#, no-wrap |
| 746 |
msgid "2024-07-23" |
| 747 |
msgstr "23 lipca 2024 r." |
| 748 |
|
| 749 |
#. type: TH |
| 750 |
#: fedora-44 fedora-rawhide |
| 751 |
#, no-wrap |
| 752 |
msgid "Linux man-pages 6.13" |
| 753 |
msgstr "Linux man-pages 6.13" |
| 754 |
|
| 755 |
#. Date: Tue, 4 Sep 2007 13:57:35 +0200 |
| 756 |
#. From: Fredrik Noring <[email protected]> |
| 757 |
#. One such race involves signals and ERESTARTSYS. If a file descriptor |
| 758 |
#. in use by a system call is closed and then reused by e.g. an |
| 759 |
#. independent open() in some unrelated thread, before the original system |
| 760 |
#. call has restarted after ERESTARTSYS, the original system call will |
| 761 |
#. later restart with the reused file descriptor. This is most likely a |
| 762 |
#. serious programming error. |
| 763 |
#. type: Plain text |
| 764 |
#: fedora-44 fedora-rawhide |
| 765 |
msgid "" |
| 766 |
"When dealing with sockets, you have to be sure that there is no B<recv>(2) " |
| 767 |
"still blocking on it on another thread, otherwise it might block forever, " |
| 768 |
"since no more messages will be send via the socket. Be sure to use " |
| 769 |
"B<shutdown>(2) to shut down all parts the connection before closing the " |
| 770 |
"socket." |
| 771 |
msgstr "" |
| 772 |
"Przy zajmowaniu się gniazdami, należy się upewnić że nie występuje " |
| 773 |
"B<recv>(2) blokujące je wciąż w innym wątku, w przeciwnym razie blokada może " |
| 774 |
"trwać w nieskończoność, ponieważ przez gniazdo nie zostanie wysłany żaden " |
| 775 |
"kolejny komunikat. Proszę się upewnić, że przed zamknięciem gniazda użyto " |
| 776 |
"B<shutdown>(2), aby zamknąć wszystkie składowe połączenia." |
| 777 |
|
| 778 |
#. type: TH |
| 779 |
#: mageia-cauldron |
| 780 |
#, no-wrap |
| 781 |
msgid "Linux man-pages 6.17" |
| 782 |
msgstr "Linux man-pages 6.17" |
| 783 |
|
| 784 |
#. type: TH |
| 785 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 786 |
#, no-wrap |
| 787 |
msgid "Linux man-pages (unreleased)" |
| 788 |
msgstr "Linux man-pages (niewydane)" |