# Romanian translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Remus-Gabriel Chelu , 2024. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.21.0\n" "POT-Creation-Date: 2024-03-01 17:05+0100\n" "PO-Revision-Date: 2024-01-29 10:47+0100\n" "Last-Translator: Remus-Gabriel Chelu \n" "Language-Team: Romanian \n" "Language: ro\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==0 || (n%100 > 0 && n%100 < " "20)) ? 1 : 2;\n" "X-Generator: Poedit 3.2.2\n" #. type: TH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "qsort" msgstr "qsort" #. type: TH #: archlinux fedora-40 fedora-rawhide mageia-cauldron #, no-wrap msgid "2023-10-31" msgstr "31 octombrie 2023" #. type: TH #: archlinux fedora-40 fedora-rawhide mageia-cauldron #, no-wrap msgid "Linux man-pages 6.06" msgstr "Pagini de manual de Linux 6.06" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "NUME" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "qsort, qsort_r - sort an array" msgstr "qsort, qsort_r - sortează o matrice" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "BIBLIOTECA" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Standard C library (I, I<-lc>)" msgstr "Biblioteca C standard (I, I<-lc>)" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "REZUMAT" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B<#include Estdlib.hE>\n" msgstr "B<#include Estdlib.hE>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, 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 #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "" "Cerințe pentru macrocomenzi de testare a caracteristicilor pentru glibc " "(consultați B(7)):" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "B():" msgstr "B():" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid " _GNU_SOURCE\n" msgstr " _GNU_SOURCE\n" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "DESCRIERE" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 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 "" "Funcția B() sortează o matrice cu I elemente de dimensiunea " "I. Argumentul I indică începutul matricei." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 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 "" "Conținutul matricei este sortat în ordine crescătoare în conformitate cu o " "funcție de comparație indicată de I, care este apelată cu două " "argumente care indică obiectele care sunt comparate." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 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 "" "Funcția de comparare trebuie să returneze un număr întreg mai mic, egal sau " "mai mare decât zero dacă primul argument este considerat a fi mai mic, egal " "sau mai mare decât al doilea. În cazul în care doi membri se compară ca " "fiind egali, ordinea lor în matricea sortată este nedefinită." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 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 "" "Funcția B() este identică cu B(), cu excepția faptului că " "funcția de comparație I primește un al treilea argument. Un " "indicator este transmis funcției de comparare prin I. În acest fel, " "funcția de comparare nu trebuie să utilizeze variabile globale pentru a " "trece prin argumente arbitrare și, prin urmare, este reentrantă și poate fi " "utilizată în siguranță în fire de execuție." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "VALOAREA RETURNATĂ" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "The B() and B() functions return no value." msgstr "Funcțiile B() și B() nu returnează nicio valoare." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "ATTRIBUTES" msgstr "ATRIBUTE" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "For an explanation of the terms used in this section, see B(7)." msgstr "" "Pentru o explicație a termenilor folosiți în această secțiune, a se vedea " "B(7)." #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Interface" msgstr "Interfață" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Attribute" msgstr "Atribut" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Value" msgstr "Valoare" #. type: tbl table #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, no-wrap msgid ".na\n" msgstr ".na\n" #. type: tbl table #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, no-wrap msgid ".nh\n" msgstr ".nh\n" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "B(),\n" "B()" msgstr "" "B(),\n" "B()" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Thread safety" msgstr "Siguranța firelor" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "MT-Safe" msgstr "MT-Safe" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "STANDARDE" #. type: TP #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "C11, POSIX.1-2008." msgstr "C11, POSIX.1-2008." #. type: SH #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "ISTORIC" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "POSIX.1-2001, C89, SVr4, 4.3BSD." msgstr "POSIX.1-2001, C89, SVr4, 4.3BSD." #. type: TP #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "glibc 2.8." msgstr "glibc 2.8." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "NOTE" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "To compare C strings, the comparison function can call B(3), as " "shown in the example below." msgstr "" "Pentru a compara șiruri de caractere C, funcția de comparare poate apela " "B(3), după cum se arată în exemplul de mai jos." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "EXEMPLE" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "For one example of use, see the example under B(3)." msgstr "" "Pentru un exemplu de utilizare, a se vedea exemplul de la B(3)." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Another example is the following program, which sorts the strings given in " "its command-line arguments:" msgstr "" "Un alt exemplu este următorul program, care sortează șirurile de caractere " "date în argumentele din linia de comandă:" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: 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...\\en\", 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" " /* Argumentele reale ale acestei funcții sunt \" indicatori la\n" " indicatorii către char\", dar argumentele strcmp(3) sunt \"indicatori\".\n" " către char\", de aceea următoarele sunt convertite și dereferențiate. */\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, \"Utilizare: %s EșirE...\\en\", 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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "CONSULTAȚI ȘI" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "B(1), B(3), B(3), B(3)" msgstr "B(1), B(3), B(3), B(3)" #. type: TH #: debian-bookworm #, no-wrap msgid "2023-01-07" msgstr "7 ianuarie 2023" #. type: TH #: debian-bookworm #, no-wrap msgid "Linux man-pages 6.03" msgstr "Pagini de manual de Linux 6.03" #. type: SH #: debian-bookworm #, no-wrap msgid "VERSIONS" msgstr "VERSIUNI" #. type: Plain text #: debian-bookworm msgid "B() was added in glibc 2.8." msgstr "B() a fost adăugată în glibc 2.8." #. type: Plain text #: debian-bookworm msgid "B(): POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD." msgstr "B(): POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD." #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" msgstr "" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" "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" msgstr "" "static int\n" "cmpstringp(const void *p1, const void *p2)\n" "{\n" " /* Argumentele reale ale acestei funcții sunt \" indicatori la\n" " indicatorii către char\", dar argumentele strcmp(3) sunt \"indicatori\".\n" " către char\", de aceea următoarele sunt convertite și dereferențiate. */\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " return strcmp(*(const char **) p1, *(const char **) p2);\n" "}\n" msgstr "" " return strcmp(*(const char **) p1, *(const char **) p2);\n" "}\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" "int\n" "main(int argc, char *argv[])\n" "{\n" " if (argc E 2) {\n" " fprintf(stderr, \"Usage: %s EstringE...\\en\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" msgstr "" "int\n" "main(int argc, char *argv[])\n" "{\n" " if (argc E 2) {\n" " fprintf(stderr, \"Utilizare: %s EșirE...\\en\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid " qsort(&argv[1], argc - 1, sizeof(char *), cmpstringp);\n" msgstr " qsort(&argv[1], argc - 1, sizeof(char *), cmpstringp);\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " for (size_t j = 1; j E argc; j++)\n" " puts(argv[j]);\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" " for (size_t j = 1; j E argc; j++)\n" " puts(argv[j]);\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: TH #: debian-unstable opensuse-tumbleweed #, no-wrap msgid "2023-07-20" msgstr "20 iulie 2023" #. type: TH #: debian-unstable opensuse-tumbleweed #, no-wrap msgid "Linux man-pages 6.05.01" msgstr "Pagini de manual de Linux 6.05.01" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "2023-03-30" msgstr "30 martie 2023" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "Linux man-pages 6.04" msgstr "Pagini de manual de Linux 6.04"