# Polish translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Przemek Borys , 1999. # Andrzej Krzysztofowicz , 2001. # Robert Luberda , 2014, 2017, 2019. # Michał Kułach , 2016, 2024, 2025. msgid "" msgstr "" "Project-Id-Version: manpages-pl\n" "POT-Creation-Date: 2026-06-05 06:39+0200\n" "PO-Revision-Date: 2025-11-30 12:18+0100\n" "Last-Translator: Michał Kułach \n" "Language-Team: Polish \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "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 25.04.0\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "qsort" msgstr "qsort" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8 lutego 2026 r." #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "Linux man-pages 6.18" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "NAZWA" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "qsort, qsort_r - sort an array" msgstr "qsort, qsort_r - sortuje tablicę" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "BIBLIOTEKA" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "Standardowa biblioteka C (I,\\ I<-lc>)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "SKŁADNIA" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<#include Estdlib.hE>\n" msgstr "B<#include Estdlib.hE>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "Bsize_t n, size_t size;\n" "B< void >IB<[>IB< * >IB<], size_t >IB<, size_t >IB<,>\n" "B< typeof(int (const void [>IB<], const void [>IB<]))>\n" "B< *>IB<);>\n" "Bsize_t n, size_t size;\n" "B< void >IB<[>IB< * >IB<], size_t >IB<, size_t >IB<,>\n" "B< typeof(int (const void [>IB<], const void [>IB<], void *))>\n" "B< *>IB<,>\n" "B< void *>IB<);>\n" msgstr "" "Bsize_t n, size_t size;\n" "B< void >IB<[>IB< * >IB<], size_t >IB<, size_t >IB<,>\n" "B< typeof(int (const void [>IB<], const void [>IB<]))>\n" "B< *>IB<);>\n" "Bsize_t n, size_t size;\n" "B< void >IB<[>IB< * >IB<], size_t >IB<, size_t >IB<,>\n" "B< typeof(int (const void [>IB<], const void [>IB<], void *))>\n" "B< *>IB<,>\n" "B< void *>IB<);>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "" "Wymagane ustawienia makr biblioteki glibc (patrz B(7)):" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B():" msgstr "B():" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " _GNU_SOURCE\n" msgstr " _GNU_SOURCE\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "OPIS" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() function sorts an array with I elements of size I. " "The I argument points to the start of the array." msgstr "" "Funkcja B() sortuje tablicę I elementów o rozmiarze I. " "Argument I wskazuje na początek tablicy." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The contents of the array are sorted in ascending order according to a " "comparison function pointed to by I, which is called with two " "arguments that point to the objects being compared." msgstr "" "Zawartość tablicy jest sortowana w porządku rosnącym, zgodnie z funkcją " "porównawczą, określoną przez wskaźnik I. Funkcja ta jest wołana z " "dwoma argumentami, które wskazują na porównywane obiekty." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The comparison function must return an integer less than, equal to, or " "greater than zero if the first argument is considered to be respectively " "less than, equal to, or greater than the second. If two members compare as " "equal, their order in the sorted array is undefined." msgstr "" "Funkcja porównująca musi zwracać liczbę całkowitą, która jest mniejsza, " "równa, lub większa od zera. Oznacza to wtedy, odpowiednio, że pierwszy " "argument jest mniejszy, równy, lub większy od drugiego. Jeśli oba " "porównywane elementy są jednakowe, to ich kolejność w posortowanej tablicy " "jest nieokreślona." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() function is identical to B() except that the " "comparison function I takes a third argument. A pointer is passed " "to the comparison function via I. In this way, the comparison function " "does not need to use global variables to pass through arbitrary arguments, " "and is therefore reentrant and safe to use in threads." msgstr "" "Funkcja B() jest taka sama jak B(), z wyjątkiem tego, że " "funkcja porównująca I przyjmuje trzeci argument. Wskaźnik podany w " "argumencie I jest przekazywany do funkcji porównującej. W ten sposób " "funkcja porównująca nie potrzebuje zmiennych globalnych, by przekazywać " "sobie dowolne argumenty i dlatego jest bezpieczna do używana w aplikacji " "wielowątkowej." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "WARTOŚĆ ZWRACANA" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The B() and B() functions return no value." msgstr "Funkcje B() i B() nic nie zwracają." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ATTRIBUTES" msgstr "ATRYBUTY" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For an explanation of the terms used in this section, see B(7)." msgstr "" "Informacje o pojęciach używanych w tym rozdziale można znaleźć w podręczniku " "B(7)." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Interface" msgstr "Interfejs" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Attribute" msgstr "Atrybut" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Value" msgstr "Wartość" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".na\n" msgstr ".na\n" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".nh\n" msgstr ".nh\n" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "B(),\n" "B()" msgstr "" "B(),\n" "B()" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Thread safety" msgstr "Bezpieczeństwo wątkowe" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "MT-Safe" msgstr "MT-bezpieczne" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "STANDARDY" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "C11, POSIX.1-2008." msgstr "C11, POSIX.1-2008." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "HISTORIA" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "POSIX.1-2001, C89, SVr4, 4.3BSD." msgstr "POSIX.1-2001, C89, SVr4, 4.3BSD." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "glibc 2.8." msgstr "glibc 2.8." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "UWAGI" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To compare C strings, the comparison function can call B(3), as " "shown in the example below." msgstr "" "Aby porównać łańcuch znaków w stylu C, funkcja porównująca może wywołać " "B(3), tak jak to pokazano w przykładzie poniżej." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "PRZYKŁADY" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "For one example of use, see the example under B(3)." msgstr "Jeden przykład użycia można znaleźć w podręczniku B(3)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Another example is the following program, which sorts the strings given in " "its command-line arguments:" msgstr "" "Kolejnym przykładem jest następujący program, sortujący łańcuchy znaków " "podane w argumentach linii poleceń:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "static int\n" "cmpstringp(const void *p1, const void *p2)\n" "{\n" " /* The actual arguments to this function are \"pointers to\n" " pointers to char\", but strcmp(3) arguments are \"pointers\n" " to char\", hence the following cast plus dereference. */\n" "\\&\n" " return strcmp(*(const char **) p1, *(const char **) p2);\n" "}\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " if (argc E 2) {\n" " fprintf(stderr, \"Usage: %s EstringE...\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " qsort(&argv[1], argc - 1, sizeof(char *), cmpstringp);\n" "\\&\n" " for (size_t j = 1; j E argc; j++)\n" " puts(argv[j]);\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "static int\n" "cmpstringp(const void *p1, const void *p2)\n" "{\n" " /* Argumentami tej funkcji są \"wskaźniki do wskaźników\n" " na znak\", ale argumentami strcmp(3) są \"wskaźniki na\n" " znak\", dlatego potrzebne jest rzutowanie i dereferencja. */\n" "\\&\n" " return strcmp(*(const char **) p1, *(const char **) p2);\n" "}\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " if (argc E 2) {\n" " fprintf(stderr, \"Użycie: %s EłańcuchE...\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " qsort(&argv[1], argc - 1, sizeof(char *), cmpstringp);\n" "\\&\n" " for (size_t j = 1; j E argc; j++)\n" " puts(argv[j]);\n" " exit(EXIT_SUCCESS);\n" "}\n" #. SRC END #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "ZOBACZ TAKŻE" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B(1), B(3), B(3), B(3)" msgstr "B(1), B(3), B(3), B(3)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-15" msgstr "15 czerwca 2024 r." #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "Linux man-pages 6.9.1" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "Standardowa biblioteka C (I, I<-lc>)" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "BIB<[.>IB< * .>IB<], size_t >IB<, size_t >IB<,>\n" "B< int (*>IB<)(const void [.>IB<], const void [.>IB<]));>\n" "BIB<[.>IB< * .>IB<], size_t >IB<, size_t >IB<,>\n" "B< int (*>IB<)(const void [.>IB<], const void [.>IB<], void *),>\n" "B< void *>IB<);>\n" msgstr "" "BIB<[.>IB< * .>IB<], size_t >IB<, size_t >IB<,>\n" "B< int (*>IB<)(const void [.>IB<], const void [.>IB<]));>\n" "BIB<[.>IB< * .>IB<], size_t >IB<, size_t >IB<,>\n" "B< int (*>IB<)(const void [.>IB<], const void [.>IB<], void *),>\n" "B< void *>IB<);>\n" #. type: Plain text #: debian-trixie msgid "" "The B() function sorts an array with I elements of size " "I. The I argument points to the start of the array." msgstr "" "Funkcja B() sortuje tablicę I elementów o rozmiarze I. " "Argument I wskazuje na początek tablicy." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "static int\n" "cmpstringp(const void *p1, const void *p2)\n" "{\n" " /* The actual arguments to this function are \"pointers to\n" " pointers to char\", but strcmp(3) arguments are \"pointers\n" " to char\", hence the following cast plus dereference. */\n" "\\&\n" " return strcmp(*(const char **) p1, *(const char **) p2);\n" "}\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " if (argc E 2) {\n" " fprintf(stderr, \"Usage: %s EstringE...\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " qsort(&argv[1], argc - 1, sizeof(char *), cmpstringp);\n" "\\&\n" " for (size_t j = 1; j E argc; j++)\n" " puts(argv[j]);\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "static int\n" "cmpstringp(const void *p1, const void *p2)\n" "{\n" " /* Argumentami tej funkcji są \"wskaźniki do wskaźników\n" " na znak\", ale argumentami strcmp(3) są \"wskaźniki na\n" " znak\", dlatego potrzebne jest rzutowanie i dereferencja. */\n" "\\&\n" " return strcmp(*(const char **) p1, *(const char **) p2);\n" "}\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " if (argc E 2) {\n" " fprintf(stderr, \"Użycie: %s EłańcuchE...\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " qsort(&argv[1], argc - 1, sizeof(char *), cmpstringp);\n" "\\&\n" " for (size_t j = 1; j E argc; j++)\n" " puts(argv[j]);\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-12-13" msgstr "13 grudnia 2024 r." #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "Linux man-pages 6.13" #. type: Plain text #: fedora-44 fedora-rawhide #, no-wrap msgid "" "BIB<[.>IB< * .>IB<], size_t >IB<, size_t >IB<,>\n" "B< typeof(int (const void [.>IB<], const void [.>IB<]))>\n" "B< *>IB<);>\n" "BIB<[.>IB< * .>IB<], size_t >IB<, size_t >IB<,>\n" "B< typeof(int (const void [.>IB<], const void [.>IB<], void *))>\n" "B< *>IB<,>\n" "B< void *>IB<);>\n" msgstr "" "BIB<[.>IB< * .>IB<], size_t >IB<, size_t >IB<,>\n" "B< typeof(int (const void [.>IB<], const void [.>IB<]))>\n" "B< *>IB<);>\n" "BIB<[.>IB< * .>IB<], size_t >IB<, size_t >IB<,>\n" "B< typeof(int (const void [.>IB<], const void [.>IB<], void *))>\n" "B< *>IB<,>\n" "B< void *>IB<);>\n" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "Linux man-pages 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "Linux man-pages (niewydane)"