diff options
Diffstat (limited to 'po/pl/man3/strcpy.3.po')
-rw-r--r-- | po/pl/man3/strcpy.3.po | 191 |
1 files changed, 157 insertions, 34 deletions
diff --git a/po/pl/man3/strcpy.3.po b/po/pl/man3/strcpy.3.po index d6f52302..028313e3 100644 --- a/po/pl/man3/strcpy.3.po +++ b/po/pl/man3/strcpy.3.po @@ -3,13 +3,13 @@ # Copyright © of this file: # Jarosław Beczek <bexx@poczta.onet.pl>, 2000. # Robert Luberda <robert@debian.org>, 2014, 2017, 2019. -# Michał Kułach <michal.kulach@gmail.com>, 2014, 2016. +# Michał Kułach <michal.kulach@gmail.com>, 2014, 2016, 2024. msgid "" msgstr "" "Project-Id-Version: manpages-pl\n" -"POT-Creation-Date: 2024-03-01 17:09+0100\n" -"PO-Revision-Date: 2019-08-16 21:27+0100\n" -"Last-Translator: Robert Luberda <robert@debian.org>\n" +"POT-Creation-Date: 2024-06-01 06:24+0200\n" +"PO-Revision-Date: 2024-04-27 22:20+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 +17,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 +27,16 @@ msgid "strcpy" msgstr "strcpy" #. 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 @@ -48,10 +48,8 @@ msgstr "NAZWA" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed -#, fuzzy -#| msgid "strcpy, strncpy - copy a string" msgid "stpcpy, strcpy, strcat - copy or catenate a string" -msgstr "strcpy, strncpy - kopiuje łańcuch znaków" +msgstr "stpcpy, strcpy, strcat - kopiuje lub łączy łańcuch znaków" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide @@ -152,6 +150,10 @@ msgid "" "destination buffer large enough, that is, I<strlen(src) + 1>. For the " "difference between the two functions, see RETURN VALUE." msgstr "" +"Funkcje kopiują łańcuch, na który wskazuje I<src>, do łańcucha w buforze, na " +"który wskazuje I<dst>. To programista jest odpowiedzialny za alokację " +"odpowiednio dużego bufora docelowego tj. I<strlen(src) + 1>. Różnicę " +"pomiędzy obiema funkcjami opisano w rozdziale WARTOŚĆ ZWRACANA." #. type: TQ #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide @@ -169,14 +171,16 @@ msgid "" "programmer is responsible for allocating a destination buffer large enough, " "that is, I<strlen(dst) + strlen(src) + 1>." msgstr "" +"Funkcja dołącza łańcuch, na który wskazuje I<src>, po łańcuchu, na który " +"wskazuje I<dst> (nadpisując jego końcowy bajt null). To programista jest " +"odpowiedzialny za alokację odpowiednio dużego bufora docelowego, tj. " +"I<strlen(dst) + strlen(src) + 1>." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed -#, fuzzy -#| msgid "A simple implementation of B<strncpy>() might be:" msgid "An implementation of these functions might be:" -msgstr "Prosta implementacja B<strncpy>() mogłaby wyglądać tak:" +msgstr "Implementacja tych funkcji mogłaby wyglądać tak:" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron @@ -208,6 +212,30 @@ msgid "" " return dst;\n" "}\n" msgstr "" +"char *\n" +"stpcpy(char *restrict dst, const char *restrict src)\n" +"{\n" +" char *p;\n" +"\\&\n" +" p = mempcpy(dst, src, strlen(src));\n" +" *p = \\[aq]\\e0\\[aq];\n" +"\\&\n" +" return p;\n" +"}\n" +"\\&\n" +"char *\n" +"strcpy(char *restrict dst, const char *restrict src)\n" +"{\n" +" stpcpy(dst, src);\n" +" return dst;\n" +"}\n" +"\\&\n" +"char *\n" +"strcat(char *restrict dst, const char *restrict src)\n" +"{\n" +" stpcpy(dst + strlen(dst), src);\n" +" return dst;\n" +"}\n" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide @@ -222,16 +250,13 @@ msgstr "WARTOŚĆ ZWRACANA" msgid "" "This function returns a pointer to the terminating null byte of the copied " "string." -msgstr "" +msgstr "Funkcja zwraca wskaźnik do końcowego bajtu null kopiowanego łańcucha." -# #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed -#, fuzzy -#| msgid "These functions are always successful." msgid "These functions return I<dst>." -msgstr "Funkcje te zawsze kończą się pomyślnie." +msgstr "Funkcje te zwracają I<dst>." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide @@ -341,13 +366,13 @@ msgstr "POSIX.1-2001, C89, SVr4, 4.3BSD." #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "CAVEATS" -msgstr "" +msgstr "ZASTRZEŻENIA" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "The strings I<src> and I<dst> may not overlap." -msgstr "" +msgstr "Łańcuchy I<src> i I<dst> nie mogą na siebie nachodzić." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide @@ -356,14 +381,21 @@ msgid "" "If the destination buffer is not large enough, the behavior is undefined. " "See B<_FORTIFY_SOURCE> in B<feature_test_macros>(7)." msgstr "" +"Jeśli bufor docelowy nie jest wystarczającą duży, zachowanie jest " +"niezdefiniowane. Zob. opis B<_FORTIFY_SOURCE> w podręczniku " +"B<feature_test_macros>(7)." #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "B<strcat>() can be very inefficient. Read about E<.UR https://www." "joelonsoftware.com/\\:2001/12/11/\\:back-to-basics/> Shlemiel the painter E<." "UE .>" msgstr "" +"B<strcat>() może być bardzo mało wydajny. Proszę zapoznać się z historią o " +"E<.UR https://www.joelonsoftware.com/\\:2001/12/11/\\:back-to-basics/> " +"malarzu Shlemielu E<.UE .>" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide @@ -420,6 +452,48 @@ msgid "" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" +"#include E<lt>err.hE<gt>\n" +"#include E<lt>stdio.hE<gt>\n" +"#include E<lt>stdlib.hE<gt>\n" +"#include E<lt>string.hE<gt>\n" +"\\&\n" +"int\n" +"main(void)\n" +"{\n" +" char *p;\n" +" char *buf1;\n" +" char *buf2;\n" +" size_t len, maxsize;\n" +"\\&\n" +" maxsize = strlen(\"Witaj \") + strlen(\"świecie\") + strlen(\"!\") + 1;\n" +" buf1 = malloc(sizeof(*buf1) * maxsize);\n" +" if (buf1 == NULL)\n" +" err(EXIT_FAILURE, \"malloc()\");\n" +" buf2 = malloc(sizeof(*buf2) * maxsize);\n" +" if (buf2 == NULL)\n" +" err(EXIT_FAILURE, \"malloc()\");\n" +"\\&\n" +" p = buf1;\n" +" p = stpcpy(p, \"Witaj \");\n" +" p = stpcpy(p, \"świecie\");\n" +" p = stpcpy(p, \"!\");\n" +" len = p - buf1;\n" +"\\&\n" +" printf(\"[len = %zu]: \", len);\n" +" puts(buf1); // \"Witaj świecie!\"\n" +" free(buf1);\n" +"\\&\n" +" strcpy(buf2, \"Witaj \");\n" +" strcat(buf2, \"świecie\");\n" +" strcat(buf2, \"!\");\n" +" len = strlen(buf2);\n" +"\\&\n" +" printf(\"[len = %zu]: \", len);\n" +" puts(buf2); // \"Witaj świecie!\"\n" +" free(buf2);\n" +"\\&\n" +" exit(EXIT_SUCCESS);\n" +"}\n" #. SRC END #. type: SH @@ -523,12 +597,20 @@ msgid "POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD." msgstr "POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD." #. type: Plain text -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 +#, fuzzy +#| msgid "" +#| "B<strcat>() can be very inefficient. Read about E<.UR https://www." +#| "joelonsoftware.com/\\:2001/12/11/\\:back-to-basics/> Shlemiel the painter " +#| "E<.UE .>" msgid "" "B<strcat>() can be very inefficient. Read about E<.UR https://www." -"joelonsoftware.com/\\:2001/12/11/\\:back-to-basics/> Shlemiel the\\ painter " -"E<.UE .>" +"joelonsoftware.com/\\:2001/12/11/\\:back-to-basics/> Shlemiel the painter E<." +"UE .>" msgstr "" +"B<strcat>() może być bardzo mało wydajny. Proszę zapoznać się z historią o " +"E<.UR https://www.joelonsoftware.com/\\:2001/12/11/\\:back-to-basics/> " +"malarzu Shlemielu E<.UE .>" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 @@ -556,6 +638,13 @@ msgid "" " char *buf2;\n" " size_t len, maxsize;\n" msgstr "" +"int\n" +"main(void)\n" +"{\n" +" char *p;\n" +" char *buf1;\n" +" char *buf2;\n" +" size_t len, maxsize;\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 @@ -569,6 +658,13 @@ msgid "" " if (buf2 == NULL)\n" " err(EXIT_FAILURE, \"malloc()\");\n" msgstr "" +" maxsize = strlen(\"Witaj \") + strlen(\"świecie\") + strlen(\"!\") + 1;\n" +" buf1 = malloc(sizeof(*buf1) * maxsize);\n" +" if (buf1 == NULL)\n" +" err(EXIT_FAILURE, \"malloc()\");\n" +" buf2 = malloc(sizeof(*buf2) * maxsize);\n" +" if (buf2 == NULL)\n" +" err(EXIT_FAILURE, \"malloc()\");\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 @@ -580,6 +676,11 @@ msgid "" " p = stpcpy(p, \"!\");\n" " len = p - buf1;\n" msgstr "" +" p = buf1;\n" +" p = stpcpy(p, \"Witaj \");\n" +" p = stpcpy(p, \"świecie\");\n" +" p = stpcpy(p, \"!\");\n" +" len = p - buf1;\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 @@ -589,6 +690,9 @@ msgid "" " puts(buf1); // \"Hello world!\"\n" " free(buf1);\n" msgstr "" +" printf(\"[len = %zu]: \", len);\n" +" puts(buf1); // \"Witaj świecie!\"\n" +" free(buf1);\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 @@ -599,6 +703,10 @@ msgid "" " strcat(buf2, \"!\");\n" " len = strlen(buf2);\n" msgstr "" +" strcpy(buf2, \"Witaj \");\n" +" strcat(buf2, \"świecie\");\n" +" strcat(buf2, \"!\");\n" +" len = strlen(buf2);\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 @@ -608,6 +716,9 @@ msgid "" " puts(buf2); // \"Hello world!\"\n" " free(buf2);\n" msgstr "" +" printf(\"[len = %zu]: \", len);\n" +" puts(buf2); // \"Witaj świecie!\"\n" +" free(buf2);\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 @@ -620,16 +731,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 @@ -642,3 +759,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)" |