summaryrefslogtreecommitdiffstats
path: root/po/pl/man3/fread.3.po
diff options
context:
space:
mode:
Diffstat (limited to 'po/pl/man3/fread.3.po')
-rw-r--r--po/pl/man3/fread.3.po102
1 files changed, 79 insertions, 23 deletions
diff --git a/po/pl/man3/fread.3.po b/po/pl/man3/fread.3.po
index beec94b4..7a61d909 100644
--- a/po/pl/man3/fread.3.po
+++ b/po/pl/man3/fread.3.po
@@ -4,12 +4,13 @@
# Adam Byrtek <alpha@irc.pl>, 1999.
# Andrzej Krzysztofowicz <ankry@green.mf.pg.gda.pl>, 2001.
# Robert Luberda <robert@debian.org>, 2017.
+# Michał Kułach <michal.kulach@gmail.com>, 2024.
msgid ""
msgstr ""
"Project-Id-Version: manpages-pl\n"
-"POT-Creation-Date: 2024-03-01 16:56+0100\n"
-"PO-Revision-Date: 2017-02-12 23:42+0100\n"
-"Last-Translator: Robert Luberda <robert@debian.org>\n"
+"POT-Creation-Date: 2024-06-01 05:51+0200\n"
+"PO-Revision-Date: 2024-04-19 21:10+0200\n"
+"Last-Translator: Michał Kułach <michal.kulach@gmail.com>\n"
"Language-Team: Polish <manpages-pl-list@lists.sourceforge.net>\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
@@ -17,7 +18,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2);\n"
-"X-Generator: Lokalize 2.0\n"
+"X-Generator: Lokalize 22.12.3\n"
#. type: TH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
@@ -27,16 +28,16 @@ msgid "fread"
msgstr "fread"
#. type: TH
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable opensuse-tumbleweed
#, no-wrap
-msgid "2023-10-31"
-msgstr "31 października 2023 r."
+msgid "2024-05-02"
+msgstr "2 maja 2024 r."
#. type: TH
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable
#, no-wrap
-msgid "Linux man-pages 6.06"
-msgstr "Linux man-pages 6.06"
+msgid "Linux man-pages 6.8"
+msgstr "Linux man-pages 6.8"
#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
@@ -49,7 +50,7 @@ msgstr "NAZWA"
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "fread, fwrite - binary stream input/output"
-msgstr "fread, fwrite - odczyt/zapis strumienia binarnego"
+msgstr "fread, fwrite - odczytuje/zapisuje strumień binarny"
#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
@@ -165,6 +166,8 @@ msgid ""
"The file position indicator for the stream is advanced by the number of "
"bytes successfully read or written."
msgstr ""
+"Wskaźnik pozycji pliku jest przesuwany o liczbę pomyślnie odczytanych lub "
+"zapisanych bajtów."
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
@@ -292,6 +295,8 @@ msgid ""
"The program below demonstrates the use of B<fread>() by parsing /bin/sh ELF "
"executable in binary mode and printing its magic and class:"
msgstr ""
+"Program poniżej demonstruje użycie B<fread>(), przez analizę pliku "
+"wykonywalnego ELF /bin/sh w trybie binarnym i wypisanie jego magii i klasy:"
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
@@ -303,8 +308,8 @@ msgid ""
"Class: 0x02\n"
msgstr ""
"$ B<./a.out>\n"
-"ELF magic: 0x7f454c46\n"
-"Class: 0x02\n"
+"Magia ELF: 0x7f454c46\n"
+"Klasa: 0x02\n"
#. type: SS
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
@@ -358,6 +363,45 @@ msgid ""
" exit(EXIT_SUCCESS);\n"
"}\n"
msgstr ""
+"#include E<lt>stdio.hE<gt>\n"
+"#include E<lt>stdlib.hE<gt>\n"
+"\\&\n"
+"#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))\n"
+"\\&\n"
+"int\n"
+"main(void)\n"
+"{\n"
+" FILE *fp;\n"
+" size_t ret;\n"
+" unsigned char buffer[4];\n"
+"\\&\n"
+" fp = fopen(\"/bin/sh\", \"rb\");\n"
+" if (!fp) {\n"
+" perror(\"fopen\");\n"
+" return EXIT_FAILURE;\n"
+" }\n"
+"\\&\n"
+" ret = fread(buffer, sizeof(*buffer), ARRAY_SIZE(buffer), fp);\n"
+" if (ret != ARRAY_SIZE(buffer)) {\n"
+" fprintf(stderr, \"fread() zawiodło: %zu\\en\", ret);\n"
+" exit(EXIT_FAILURE);\n"
+" }\n"
+"\\&\n"
+" printf(\"Magia ELF: %#04x%02x%02x%02x\\en\", buffer[0], buffer[1],\n"
+" buffer[2], buffer[3]);\n"
+"\\&\n"
+" ret = fread(buffer, 1, 1, fp);\n"
+" if (ret != 1) {\n"
+" fprintf(stderr, \"fread() zawiodło: %zu\\en\", ret);\n"
+" exit(EXIT_FAILURE);\n"
+" }\n"
+"\\&\n"
+" printf(\"Klasa: %#04x\\en\", buffer[0]);\n"
+"\\&\n"
+" fclose(fp);\n"
+"\\&\n"
+" exit(EXIT_SUCCESS);\n"
+"}\n"
#. SRC END
#. type: SH
@@ -453,7 +497,7 @@ msgid ""
msgstr ""
" ret = fread(buffer, sizeof(*buffer), ARRAY_SIZE(buffer), fp);\n"
" if (ret != ARRAY_SIZE(buffer)) {\n"
-" fprintf(stderr, \"fread() failed: %zu\\en\", ret);\n"
+" fprintf(stderr, \"fread() zawiodło: %zu\\en\", ret);\n"
" exit(EXIT_FAILURE);\n"
" }\n"
@@ -464,7 +508,7 @@ msgid ""
" printf(\"ELF magic: %#04x%02x%02x%02x\\en\", buffer[0], buffer[1],\n"
" buffer[2], buffer[3]);\n"
msgstr ""
-" printf(\"ELF magic: %#04x%02x%02x%02x\\en\", buffer[0], buffer[1],\n"
+" printf(\"Magia ELF: %#04x%02x%02x%02x\\en\", buffer[0], buffer[1],\n"
" buffer[2], buffer[3]);\n"
#. type: Plain text
@@ -479,7 +523,7 @@ msgid ""
msgstr ""
" ret = fread(buffer, 1, 1, fp);\n"
" if (ret != 1) {\n"
-" fprintf(stderr, \"fread() failed: %zu\\en\", ret);\n"
+" fprintf(stderr, \"fread() zawiodło: %zu\\en\", ret);\n"
" exit(EXIT_FAILURE);\n"
" }\n"
@@ -487,7 +531,7 @@ msgstr ""
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid " printf(\"Class: %#04x\\en\", buffer[0]);\n"
-msgstr " printf(\"Class: %#04x\\en\", buffer[0]);\n"
+msgstr " printf(\"Klasa: %#04x\\en\", buffer[0]);\n"
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
@@ -506,16 +550,22 @@ msgstr ""
"}\n"
#. type: TH
-#: debian-unstable opensuse-tumbleweed
+#: fedora-40 fedora-rawhide mageia-cauldron
#, no-wrap
-msgid "2023-07-20"
-msgstr "20 lipca 2023 r."
+msgid "2023-10-31"
+msgstr "31 października 2023 r."
#. type: TH
-#: debian-unstable opensuse-tumbleweed
+#: fedora-40 mageia-cauldron
#, no-wrap
-msgid "Linux man-pages 6.05.01"
-msgstr "Linux man-pages 6.05.01"
+msgid "Linux man-pages 6.06"
+msgstr "Linux man-pages 6.06"
+
+#. type: TH
+#: fedora-rawhide
+#, no-wrap
+msgid "Linux man-pages 6.7"
+msgstr "Linux man-pages 6.7"
#. type: TH
#: opensuse-leap-15-6
@@ -528,3 +578,9 @@ msgstr "30 marca 2023 r."
#, no-wrap
msgid "Linux man-pages 6.04"
msgstr "Linux man-pages 6.04"
+
+#. type: TH
+#: opensuse-tumbleweed
+#, no-wrap
+msgid "Linux man-pages (unreleased)"
+msgstr "Linux man-pages (niewydane)"