| 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 |
# Andrzej Krzysztofowicz <[email protected]>, 2001. |
| 5 |
# Robert Luberda <[email protected]>, 2006, 2012, 2017, 2019. |
| 6 |
# Michał Kułach <[email protected]>, 2013, 2014, 2016, 2024, 2025. |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: manpages-pl\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:25+0200\n" |
| 11 |
"PO-Revision-Date: 2025-04-13 22:03+0200\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 22.12.3\n" |
| 19 |
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " |
| 20 |
"|| n%100>=20) ? 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 "getline" |
| 27 |
msgstr "getline" |
| 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 "getline, getdelim - delimited string input" |
| 53 |
msgstr "getline, getdelim - wprowadza łańcuchy rozgraniczone" |
| 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>stdio.hE<gt>>\n" |
| 80 |
msgstr "B<#include E<lt>stdio.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<ssize_t getline(char **restrict >I<lineptr>B<, size_t *restrict >I<n>B<,>\n" |
| 88 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 89 |
"B<ssize_t getdelim(char **restrict >I<lineptr>B<, size_t *restrict >I<n>B<,>\n" |
| 90 |
"B< int >I<delim>B<, FILE *restrict >I<stream>B<);>\n" |
| 91 |
msgstr "" |
| 92 |
"B<ssize_t getline(char **restrict >I<lineptr>B<, size_t *restrict >I<n>B<,>\n" |
| 93 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 94 |
"B<ssize_t getdelim(char **restrict >I<lineptr>B<, size_t *restrict >I<n>B<,>\n" |
| 95 |
"B< int >I<delim>B<, FILE *restrict >I<stream>B<);>\n" |
| 96 |
|
| 97 |
#. type: Plain text |
| 98 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 99 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 100 |
msgid "" |
| 101 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 102 |
msgstr "" |
| 103 |
"Wymagane ustawienia makr biblioteki glibc (patrz B<feature_test_macros>(7)):" |
| 104 |
|
| 105 |
#. type: Plain text |
| 106 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 107 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 108 |
msgid "B<getline>(), B<getdelim>():" |
| 109 |
msgstr "B<getline>(), B<getdelim>():" |
| 110 |
|
| 111 |
#. type: Plain text |
| 112 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 113 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 114 |
#, no-wrap |
| 115 |
msgid "" |
| 116 |
" Since glibc 2.10:\n" |
| 117 |
" _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 118 |
" Before glibc 2.10:\n" |
| 119 |
" _GNU_SOURCE\n" |
| 120 |
msgstr "" |
| 121 |
" Od glibc 2.10:\n" |
| 122 |
" _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 123 |
" Przed glibc 2.10:\n" |
| 124 |
" _GNU_SOURCE\n" |
| 125 |
|
| 126 |
#. type: SH |
| 127 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 128 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 129 |
#, no-wrap |
| 130 |
msgid "DESCRIPTION" |
| 131 |
msgstr "OPIS" |
| 132 |
|
| 133 |
#. type: Plain text |
| 134 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 135 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 136 |
msgid "" |
| 137 |
"B<getline>() reads an entire line from I<stream>, storing the address of " |
| 138 |
"the buffer containing the text into I<*lineptr>. The buffer is null-" |
| 139 |
"terminated and includes the newline character, if one was found." |
| 140 |
msgstr "" |
| 141 |
"B<getline>() odczytuje cały wiersz ze strumienia I<stream>, przechowując " |
| 142 |
"adres bufora zawierającego tekst w I<*lineptr>. Bufor jest zakończony " |
| 143 |
"znakiem NULL i zawiera znak nowego wiersza, jeśli go napotkano." |
| 144 |
|
| 145 |
#. type: Plain text |
| 146 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 147 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 148 |
msgid "" |
| 149 |
"If I<*lineptr> is set to NULL before the call, then B<getline>() will " |
| 150 |
"allocate a buffer for storing the line. This buffer should be freed by the " |
| 151 |
"user program even if B<getline>() failed." |
| 152 |
msgstr "" |
| 153 |
"Gdy I<*lineptr> jest ustawione na NULL przed wywołaniem, to funkcja " |
| 154 |
"B<getline>() przydziela bufor dla umieszczenia w nim zawartości wiersza. " |
| 155 |
"Bufor ten powinien zostać zwolniony przez program użytkownika nawet wówczas, " |
| 156 |
"gdy B<getline>() zawiedzie." |
| 157 |
|
| 158 |
#. type: Plain text |
| 159 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 160 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 161 |
msgid "" |
| 162 |
"Alternatively, before calling B<getline>(), I<*lineptr> can contain a " |
| 163 |
"pointer to a B<malloc>(3)-allocated buffer I<*n> bytes in size. If the " |
| 164 |
"buffer is not large enough to hold the line, B<getline>() resizes it with " |
| 165 |
"B<realloc>(3), updating I<*lineptr> and I<*n> as necessary." |
| 166 |
msgstr "" |
| 167 |
"Alternatywnie, przed wywołaniem B<getline>() I<*lineptr> może zawierać " |
| 168 |
"wskaźnik do bufora przydzielonego za pomocą B<malloc>() o rozmiarze I<*n> " |
| 169 |
"bajtów. Gdy rozmiar bufora nie jest wystarczający do umieszczenia w nim " |
| 170 |
"odczytanego wiersza, B<getline>() rozszerzy go do odpowiedniego rozmiaru za " |
| 171 |
"pomocą B<realloc>(), modyfikując I<*lineptr> i I<*n>, jeśli będzie to " |
| 172 |
"potrzebne. " |
| 173 |
|
| 174 |
#. type: Plain text |
| 175 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 176 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 177 |
msgid "" |
| 178 |
"In either case, on a successful call, I<*lineptr> and I<*n> will be updated " |
| 179 |
"to reflect the buffer address and allocated size respectively." |
| 180 |
msgstr "" |
| 181 |
"W każdym razie, po pomyślnym wywołaniu I<*lineptr> i I<*n> będą " |
| 182 |
"zaktualizowane tak, aby odzwierciedlić, odpowiednio, adres i rozmiar bufora." |
| 183 |
|
| 184 |
#. type: Plain text |
| 185 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 186 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 187 |
msgid "" |
| 188 |
"B<getdelim>() works like B<getline>(), except that a line delimiter other " |
| 189 |
"than newline can be specified as the I<delimiter> argument. As with " |
| 190 |
"B<getline>(), a delimiter character is not added if one was not present in " |
| 191 |
"the input before end of file was reached." |
| 192 |
msgstr "" |
| 193 |
"B<getdelim>() działa jak B<getline>() z tym wyjątkiem, że jako argument " |
| 194 |
"I<delimiter> można podać ogranicznik wiersza inny niż znak nowej wiersza. " |
| 195 |
"Podobnie jak dla B<getline>(), znak ogranicznika nie jest dodawany, gdy nie " |
| 196 |
"występował w danych wejściowych przed osiągnięciem końca pliku. " |
| 197 |
|
| 198 |
#. type: SH |
| 199 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 200 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 201 |
#, no-wrap |
| 202 |
msgid "RETURN VALUE" |
| 203 |
msgstr "WARTOŚĆ ZWRACANA" |
| 204 |
|
| 205 |
#. type: Plain text |
| 206 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 207 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 208 |
msgid "" |
| 209 |
"On success, B<getline>() and B<getdelim>() return the number of characters " |
| 210 |
"read, including the delimiter character, but not including the terminating " |
| 211 |
"null byte (\\[aq]\\[rs]0\\[aq]). This value can be used to handle embedded " |
| 212 |
"null bytes in the line read." |
| 213 |
msgstr "" |
| 214 |
"Po pomyślnym zakończeniu, B<getline>() i B<getdelim>() zwracają liczbę " |
| 215 |
"odczytanych znaków, łącznie ze znakiem ogranicznika, ale nie włączając " |
| 216 |
"kończącego bajtu null (\\[aq]\\[rs]0\\[aq]). Wartość ta może służyć to " |
| 217 |
"wychwycenia znaków null zawartych w odczytanym wierszu." |
| 218 |
|
| 219 |
#. type: Plain text |
| 220 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 221 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 222 |
msgid "" |
| 223 |
"At end of file, both functions return -1 with the file stream end-of-file " |
| 224 |
"indicator set. On error, both functions return -1 with the file stream " |
| 225 |
"error indicator set, and I<errno> is set to indicate the error." |
| 226 |
msgstr "" |
| 227 |
"Przy końcu pliku, obie funkcje zwracają -1 z ustawionym znacznikiem " |
| 228 |
"strumienia pliku: koniec pliku. W razie niepowodzenia, obie funkcje zwracają " |
| 229 |
"-1 z ustawionym znacznikiem strumienia pliku: błąd oraz ustawiane jest " |
| 230 |
"I<errno>, aby wskazać błąd." |
| 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<*lineptr> was set to NULL before the call, then the buffer should be " |
| 237 |
"freed by the user program even on failure." |
| 238 |
msgstr "" |
| 239 |
"Gdy I<*lineptr> było ustawione na NULL przed wywołaniem, to bufor powinien " |
| 240 |
"zostać zwolniony przez program użytkownika nawet w przypadku niepowodzenia." |
| 241 |
|
| 242 |
#. type: SH |
| 243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 245 |
#, no-wrap |
| 246 |
msgid "ERRORS" |
| 247 |
msgstr "BŁĘDY" |
| 248 |
|
| 249 |
#. type: TP |
| 250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 252 |
#, no-wrap |
| 253 |
msgid "B<EINVAL>" |
| 254 |
msgstr "B<EINVAL>" |
| 255 |
|
| 256 |
#. type: Plain text |
| 257 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 258 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 259 |
msgid "Bad arguments (I<n> or I<lineptr> is NULL, or I<stream> is not valid)." |
| 260 |
msgstr "" |
| 261 |
"Błędne wartości parametrów (I<n> lub I<lineptr> równe NULL lub nieprawidłowy " |
| 262 |
"I<stream>)." |
| 263 |
|
| 264 |
#. type: TP |
| 265 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 266 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 267 |
#, no-wrap |
| 268 |
msgid "B<ENOMEM>" |
| 269 |
msgstr "B<ENOMEM>" |
| 270 |
|
| 271 |
#. type: Plain text |
| 272 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 273 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 274 |
msgid "Allocation or reallocation of the line buffer failed." |
| 275 |
msgstr "Nie powiódł się przydział pamięci dla bufora wiersza." |
| 276 |
|
| 277 |
#. type: SH |
| 278 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 279 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 280 |
#, no-wrap |
| 281 |
msgid "ATTRIBUTES" |
| 282 |
msgstr "ATRYBUTY" |
| 283 |
|
| 284 |
#. type: Plain text |
| 285 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 286 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 287 |
msgid "" |
| 288 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 289 |
msgstr "" |
| 290 |
"Informacje o pojęciach używanych w tym rozdziale można znaleźć w podręczniku " |
| 291 |
"B<attributes>(7)." |
| 292 |
|
| 293 |
#. type: tbl table |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
#, no-wrap |
| 297 |
msgid "Interface" |
| 298 |
msgstr "Interfejs" |
| 299 |
|
| 300 |
#. type: tbl table |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
#, no-wrap |
| 304 |
msgid "Attribute" |
| 305 |
msgstr "Atrybut" |
| 306 |
|
| 307 |
#. type: tbl table |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
#, no-wrap |
| 311 |
msgid "Value" |
| 312 |
msgstr "Wartość" |
| 313 |
|
| 314 |
#. type: tbl table |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
#, no-wrap |
| 318 |
msgid ".na\n" |
| 319 |
msgstr ".na\n" |
| 320 |
|
| 321 |
#. type: tbl table |
| 322 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 323 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 324 |
#, no-wrap |
| 325 |
msgid ".nh\n" |
| 326 |
msgstr ".nh\n" |
| 327 |
|
| 328 |
#. type: tbl table |
| 329 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 330 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 331 |
#, no-wrap |
| 332 |
msgid "" |
| 333 |
"B<getline>(),\n" |
| 334 |
"B<getdelim>()" |
| 335 |
msgstr "" |
| 336 |
"B<getline>(),\n" |
| 337 |
"B<getdelim>()" |
| 338 |
|
| 339 |
#. type: tbl table |
| 340 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 341 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 342 |
#, no-wrap |
| 343 |
msgid "Thread safety" |
| 344 |
msgstr "Bezpieczeństwo wątkowe" |
| 345 |
|
| 346 |
#. type: tbl table |
| 347 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 348 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 349 |
#, no-wrap |
| 350 |
msgid "MT-Safe" |
| 351 |
msgstr "MT-bezpieczne" |
| 352 |
|
| 353 |
#. type: SH |
| 354 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 355 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 356 |
#, no-wrap |
| 357 |
msgid "STANDARDS" |
| 358 |
msgstr "STANDARDY" |
| 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 "POSIX.1-2008." |
| 364 |
msgstr "POSIX.1-2008." |
| 365 |
|
| 366 |
#. type: SH |
| 367 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 368 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 369 |
#, no-wrap |
| 370 |
msgid "HISTORY" |
| 371 |
msgstr "HISTORIA" |
| 372 |
|
| 373 |
#. type: Plain text |
| 374 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 375 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 376 |
msgid "GNU, POSIX.1-2008." |
| 377 |
msgstr "GNU, POSIX.1-2008." |
| 378 |
|
| 379 |
#. type: SH |
| 380 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 381 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 382 |
#, no-wrap |
| 383 |
msgid "EXAMPLES" |
| 384 |
msgstr "PRZYKŁADY" |
| 385 |
|
| 386 |
#. type: Plain text |
| 387 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 388 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 389 |
#, no-wrap |
| 390 |
msgid "" |
| 391 |
"#define _GNU_SOURCE\n" |
| 392 |
"#include E<lt>stdio.hE<gt>\n" |
| 393 |
"#include E<lt>stdlib.hE<gt>\n" |
| 394 |
"\\&\n" |
| 395 |
"int\n" |
| 396 |
"main(int argc, char *argv[])\n" |
| 397 |
"{\n" |
| 398 |
" FILE *stream;\n" |
| 399 |
" char *line = NULL;\n" |
| 400 |
" size_t size = 0;\n" |
| 401 |
" ssize_t nread;\n" |
| 402 |
"\\&\n" |
| 403 |
" if (argc != 2) {\n" |
| 404 |
" fprintf(stderr, \"Usage: %s E<lt>fileE<gt>\\[rs]n\", argv[0]);\n" |
| 405 |
" exit(EXIT_FAILURE);\n" |
| 406 |
" }\n" |
| 407 |
"\\&\n" |
| 408 |
" stream = fopen(argv[1], \"r\");\n" |
| 409 |
" if (stream == NULL) {\n" |
| 410 |
" perror(\"fopen\");\n" |
| 411 |
" exit(EXIT_FAILURE);\n" |
| 412 |
" }\n" |
| 413 |
"\\&\n" |
| 414 |
" while ((nread = getline(&line, &size, stream)) != -1) {\n" |
| 415 |
" printf(\"Retrieved line of length %zd:\\[rs]n\", nread);\n" |
| 416 |
" fwrite(line, nread, 1, stdout);\n" |
| 417 |
" }\n" |
| 418 |
"\\&\n" |
| 419 |
" free(line);\n" |
| 420 |
" fclose(stream);\n" |
| 421 |
" exit(EXIT_SUCCESS);\n" |
| 422 |
"}\n" |
| 423 |
msgstr "" |
| 424 |
"#define _GNU_SOURCE\n" |
| 425 |
"#include E<lt>stdio.hE<gt>\n" |
| 426 |
"#include E<lt>stdlib.hE<gt>\n" |
| 427 |
"\\&\n" |
| 428 |
"int\n" |
| 429 |
"main(int argc, char *argv[])\n" |
| 430 |
"{\n" |
| 431 |
" FILE *stream;\n" |
| 432 |
" char *line = NULL;\n" |
| 433 |
" size_t size = 0;\n" |
| 434 |
" ssize_t nread;\n" |
| 435 |
"\\&\n" |
| 436 |
" if (argc != 2) {\n" |
| 437 |
" fprintf(stderr, \"Użycie: %s E<lt>plikE<gt>\\[rs]n\", argv[0]);\n" |
| 438 |
" exit(EXIT_FAILURE);\n" |
| 439 |
" }\n" |
| 440 |
"\\&\n" |
| 441 |
" stream = fopen(argv[1], \"r\");\n" |
| 442 |
" if (stream == NULL) {\n" |
| 443 |
" perror(\"fopen\");\n" |
| 444 |
" exit(EXIT_FAILURE);\n" |
| 445 |
" }\n" |
| 446 |
"\\&\n" |
| 447 |
" while ((nread = getline(&line, &size, stream)) != -1) {\n" |
| 448 |
" printf(\"Pobrano wiersz o długości %zd:\\[rs]n\", nread);\n" |
| 449 |
" fwrite(line, nread, 1, stdout);\n" |
| 450 |
" }\n" |
| 451 |
"\\&\n" |
| 452 |
" free(line);\n" |
| 453 |
" fclose(stream);\n" |
| 454 |
" exit(EXIT_SUCCESS);\n" |
| 455 |
"}\n" |
| 456 |
|
| 457 |
#. SRC END |
| 458 |
#. type: SH |
| 459 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 460 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 461 |
#, no-wrap |
| 462 |
msgid "SEE ALSO" |
| 463 |
msgstr "ZOBACZ TAKŻE" |
| 464 |
|
| 465 |
#. type: Plain text |
| 466 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 467 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 468 |
msgid "B<read>(2), B<fgets>(3), B<fopen>(3), B<fread>(3), B<scanf>(3)" |
| 469 |
msgstr "B<read>(2), B<fgets>(3), B<fopen>(3), B<fread>(3), B<scanf>(3)" |
| 470 |
|
| 471 |
#. type: TH |
| 472 |
#: debian-trixie |
| 473 |
#, no-wrap |
| 474 |
msgid "2024-06-15" |
| 475 |
msgstr "15 czerwca 2024 r." |
| 476 |
|
| 477 |
#. type: TH |
| 478 |
#: debian-trixie |
| 479 |
#, no-wrap |
| 480 |
msgid "Linux man-pages 6.9.1" |
| 481 |
msgstr "Linux man-pages 6.9.1" |
| 482 |
|
| 483 |
#. type: Plain text |
| 484 |
#: debian-trixie |
| 485 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 486 |
msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)" |
| 487 |
|
| 488 |
#. type: Plain text |
| 489 |
#: debian-trixie |
| 490 |
msgid "" |
| 491 |
"Both functions return -1 on failure to read a line (including end-of-file " |
| 492 |
"condition). In the event of a failure, I<errno> is set to indicate the " |
| 493 |
"error." |
| 494 |
msgstr "" |
| 495 |
"Obie funkcje zwracają -1, gdy nie uda się odczytać wiersza (włączając w to " |
| 496 |
"próbę czytania na końcu pliku). W razie niepowodzenia ustawiane jest " |
| 497 |
"I<errno>, aby wskazać błąd." |
| 498 |
|
| 499 |
#. type: Plain text |
| 500 |
#: debian-trixie |
| 501 |
#, no-wrap |
| 502 |
msgid "" |
| 503 |
"#define _GNU_SOURCE\n" |
| 504 |
"#include E<lt>stdio.hE<gt>\n" |
| 505 |
"#include E<lt>stdlib.hE<gt>\n" |
| 506 |
"\\&\n" |
| 507 |
"int\n" |
| 508 |
"main(int argc, char *argv[])\n" |
| 509 |
"{\n" |
| 510 |
" FILE *stream;\n" |
| 511 |
" char *line = NULL;\n" |
| 512 |
" size_t len = 0;\n" |
| 513 |
" ssize_t nread;\n" |
| 514 |
"\\&\n" |
| 515 |
" if (argc != 2) {\n" |
| 516 |
" fprintf(stderr, \"Usage: %s E<lt>fileE<gt>\\[rs]n\", argv[0]);\n" |
| 517 |
" exit(EXIT_FAILURE);\n" |
| 518 |
" }\n" |
| 519 |
"\\&\n" |
| 520 |
" stream = fopen(argv[1], \"r\");\n" |
| 521 |
" if (stream == NULL) {\n" |
| 522 |
" perror(\"fopen\");\n" |
| 523 |
" exit(EXIT_FAILURE);\n" |
| 524 |
" }\n" |
| 525 |
"\\&\n" |
| 526 |
" while ((nread = getline(&line, &len, stream)) != -1) {\n" |
| 527 |
" printf(\"Retrieved line of length %zd:\\[rs]n\", nread);\n" |
| 528 |
" fwrite(line, nread, 1, stdout);\n" |
| 529 |
" }\n" |
| 530 |
"\\&\n" |
| 531 |
" free(line);\n" |
| 532 |
" fclose(stream);\n" |
| 533 |
" exit(EXIT_SUCCESS);\n" |
| 534 |
"}\n" |
| 535 |
msgstr "" |
| 536 |
"#define _GNU_SOURCE\n" |
| 537 |
"#include E<lt>stdio.hE<gt>\n" |
| 538 |
"#include E<lt>stdlib.hE<gt>\n" |
| 539 |
"\\&\n" |
| 540 |
"int\n" |
| 541 |
"main(int argc, char *argv[])\n" |
| 542 |
"{\n" |
| 543 |
" FILE *stream;\n" |
| 544 |
" char *line = NULL;\n" |
| 545 |
" size_t len = 0;\n" |
| 546 |
" ssize_t nread;\n" |
| 547 |
"\\&\n" |
| 548 |
" if (argc != 2) {\n" |
| 549 |
" fprintf(stderr, \"Użycie: %s E<lt>plikE<gt>\\[rs]n\", argv[0]);\n" |
| 550 |
" exit(EXIT_FAILURE);\n" |
| 551 |
" }\n" |
| 552 |
"\\&\n" |
| 553 |
" stream = fopen(argv[1], \"r\");\n" |
| 554 |
" if (stream == NULL) {\n" |
| 555 |
" perror(\"fopen\");\n" |
| 556 |
" exit(EXIT_FAILURE);\n" |
| 557 |
" }\n" |
| 558 |
"\\&\n" |
| 559 |
" while ((nread = getline(&line, &len, stream)) != -1) {\n" |
| 560 |
" printf(\"Pobrano wiersz o długości %zd:\\[rs]n\", nread);\n" |
| 561 |
" fwrite(line, nread, 1, stdout);\n" |
| 562 |
" }\n" |
| 563 |
"\\&\n" |
| 564 |
" free(line);\n" |
| 565 |
" fclose(stream);\n" |
| 566 |
" exit(EXIT_SUCCESS);\n" |
| 567 |
"}\n" |
| 568 |
|
| 569 |
#. type: TH |
| 570 |
#: fedora-44 fedora-rawhide |
| 571 |
#, no-wrap |
| 572 |
msgid "2024-12-20" |
| 573 |
msgstr "20 grudnia 2024 r." |
| 574 |
|
| 575 |
#. type: TH |
| 576 |
#: fedora-44 fedora-rawhide |
| 577 |
#, no-wrap |
| 578 |
msgid "Linux man-pages 6.13" |
| 579 |
msgstr "Linux man-pages 6.13" |
| 580 |
|
| 581 |
#. type: TH |
| 582 |
#: mageia-cauldron |
| 583 |
#, no-wrap |
| 584 |
msgid "Linux man-pages 6.17" |
| 585 |
msgstr "Linux man-pages 6.17" |
| 586 |
|
| 587 |
#. type: TH |
| 588 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 589 |
#, no-wrap |
| 590 |
msgid "Linux man-pages (unreleased)" |
| 591 |
msgstr "Linux man-pages (niewydane)" |