Debian Codegraph @

po/ro/man3/qsort.3.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2024, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.21.0\n"
8 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
9 "PO-Revision-Date: 2025-11-05 20:43+0100\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.6\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "qsort"
25 msgstr "qsort"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 februarie 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "Pagini de manual de Linux 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "NUME"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "qsort, qsort_r - sort an array"
51 msgstr "qsort, qsort_r - sortează o matrice"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr "BIBLIOTECA"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "SINOPSIS"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<#include E<lt>stdlib.hE<gt>>\n"
78 msgstr "B<#include E<lt>stdlib.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
82 #: opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<void qsort(>size_t n, size_t size;\n"
86 "B< void >I<base>B<[>I<n>B< * >I<size>B<], size_t >I<n>B<, size_t >I<size>B<,>\n"
87 "B< typeof(int (const void [>I<size>B<], const void [>I<size>B<]))>\n"
88 "B< *>I<compar>B<);>\n"
89 "B<void qsort_r(>size_t n, size_t size;\n"
90 "B< void >I<base>B<[>I<n>B< * >I<size>B<], size_t >I<n>B<, size_t >I<size>B<,>\n"
91 "B< typeof(int (const void [>I<size>B<], const void [>I<size>B<], void *))>\n"
92 "B< *>I<compar>B<,>\n"
93 "B< void *>I<arg>B<);>\n"
94 msgstr ""
95 "B<void qsort(>size_t n, size_t size;\n"
96 "B< void >I<base>B<[>I<n>B< * >I<size>B<], size_t >I<n>B<, size_t >I<size>B<,>\n"
97 "B< typeof(int (const void [>I<size>B<], const void [>I<size>B<]))>\n"
98 "B< *>I<compar>B<);>\n"
99 "B<void qsort_r(>size_t n, size_t size;\n"
100 "B< void >I<base>B<[>I<n>B< * >I<size>B<], size_t >I<n>B<, size_t >I<size>B<,>\n"
101 "B< typeof(int (const void [>I<size>B<], const void [>I<size>B<], void *))>\n"
102 "B< *>I<compar>B<,>\n"
103 "B< void *>I<arg>B<);>\n"
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 ""
109 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
110 msgstr ""
111 "Cerințe pentru macrocomenzi de testare a caracteristicilor pentru glibc "
112 "(consultați B<feature_test_macros>(7)):"
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 msgid "B<qsort_r>():"
118 msgstr "B<qsort_r>():"
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 #, no-wrap
124 msgid " _GNU_SOURCE\n"
125 msgstr " _GNU_SOURCE\n"
126
127 #. type: SH
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, no-wrap
131 msgid "DESCRIPTION"
132 msgstr "DESCRIERE"
133
134 #. type: Plain text
135 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
136 #: opensuse-leap-16-1 opensuse-tumbleweed
137 msgid ""
138 "The B<qsort>() function sorts an array with I<n> elements of size I<size>. "
139 "The I<base> argument points to the start of the array."
140 msgstr ""
141 "Funcția B<qsort>() sortează o matrice cu I<n> elemente de dimensiunea "
142 "I<size>. Argumentul I<base> indică începutul matricei."
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid ""
148 "The contents of the array are sorted in ascending order according to a "
149 "comparison function pointed to by I<compar>, which is called with two "
150 "arguments that point to the objects being compared."
151 msgstr ""
152 "Conținutul matricei este sortat în ordine crescătoare în conformitate cu o "
153 "funcție de comparație indicată de I<compar>, care este apelată cu două "
154 "argumente care indică obiectele care sunt comparate."
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 msgid ""
160 "The comparison function must return an integer less than, equal to, or "
161 "greater than zero if the first argument is considered to be respectively "
162 "less than, equal to, or greater than the second. If two members compare as "
163 "equal, their order in the sorted array is undefined."
164 msgstr ""
165 "Funcția de comparare trebuie să returneze un număr întreg mai mic, egal sau "
166 "mai mare decât zero dacă primul argument este considerat a fi mai mic, egal "
167 "sau mai mare decât al doilea. În cazul în care doi membri se compară ca "
168 "fiind egali, ordinea lor în matricea sortată este nedefinită."
169
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 msgid ""
174 "The B<qsort_r>() function is identical to B<qsort>() except that the "
175 "comparison function I<compar> takes a third argument. A pointer is passed "
176 "to the comparison function via I<arg>. In this way, the comparison function "
177 "does not need to use global variables to pass through arbitrary arguments, "
178 "and is therefore reentrant and safe to use in threads."
179 msgstr ""
180 "Funcția B<qsort_r>() este identică cu B<qsort>(), cu excepția faptului că "
181 "funcția de comparație I<compar> primește un al treilea argument. Un "
182 "indicator este transmis funcției de comparare prin I<arg>. În acest fel, "
183 "funcția de comparare nu trebuie să utilizeze variabile globale pentru a "
184 "trece prin argumente arbitrare și, prin urmare, este reentrantă și poate fi "
185 "utilizată în siguranță în fire de execuție."
186
187 #. type: SH
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 #, no-wrap
191 msgid "RETURN VALUE"
192 msgstr "VALOAREA RETURNATĂ"
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid "The B<qsort>() and B<qsort_r>() functions return no value."
198 msgstr "Funcțiile B<qsort>() și B<qsort_r>() nu returnează nicio valoare."
199
200 #. type: SH
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid "ATTRIBUTES"
205 msgstr "ATRIBUTE"
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "For an explanation of the terms used in this section, see B<attributes>(7)."
212 msgstr ""
213 "Pentru o explicație a termenilor folosiți în această secțiune, a se vedea "
214 "B<attributes>(7)."
215
216 #. type: tbl table
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 #, no-wrap
220 msgid "Interface"
221 msgstr "Interfață"
222
223 #. type: tbl table
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 #, no-wrap
227 msgid "Attribute"
228 msgstr "Atribut"
229
230 #. type: tbl table
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "Value"
235 msgstr "Valoare"
236
237 #. type: tbl table
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid ".na\n"
242 msgstr ".na\n"
243
244 #. type: tbl table
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid ".nh\n"
249 msgstr ".nh\n"
250
251 #. type: tbl table
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid ""
256 "B<qsort>(),\n"
257 "B<qsort_r>()"
258 msgstr ""
259 "B<qsort>(),\n"
260 "B<qsort_r>()"
261
262 #. type: tbl table
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "Thread safety"
267 msgstr "Siguranța firelor"
268
269 #. type: tbl table
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 #, no-wrap
273 msgid "MT-Safe"
274 msgstr "MT-Safe"
275
276 #. type: SH
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 #, no-wrap
280 msgid "STANDARDS"
281 msgstr "STANDARDE"
282
283 #. type: TP
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 #, no-wrap
287 msgid "B<qsort>()"
288 msgstr "B<qsort>()"
289
290 #. type: Plain text
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 msgid "C11, POSIX.1-2008."
294 msgstr "C11, POSIX.1-2008."
295
296 #. type: SH
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "HISTORY"
301 msgstr "ISTORIC"
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid "POSIX.1-2001, C89, SVr4, 4.3BSD."
307 msgstr "POSIX.1-2001, C89, SVr4, 4.3BSD."
308
309 #. type: TP
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 #, no-wrap
313 msgid "B<qsort_r>()"
314 msgstr "B<qsort_r>()"
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 msgid "glibc 2.8."
320 msgstr "glibc 2.8."
321
322 #. type: SH
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid "NOTES"
327 msgstr "NOTE"
328
329 #. type: Plain text
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 msgid ""
333 "To compare C strings, the comparison function can call B<strcmp>(3), as "
334 "shown in the example below."
335 msgstr ""
336 "Pentru a compara șiruri de caractere C, funcția de comparare poate apela "
337 "B<strcmp>(3), după cum se arată în exemplul de mai jos."
338
339 #. type: SH
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "EXAMPLES"
344 msgstr "EXEMPLE"
345
346 #. type: Plain text
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 msgid "For one example of use, see the example under B<bsearch>(3)."
350 msgstr ""
351 "Pentru un exemplu de utilizare, a se vedea exemplul de la B<bsearch>(3)."
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 msgid ""
357 "Another example is the following program, which sorts the strings given in "
358 "its command-line arguments:"
359 msgstr ""
360 "Un alt exemplu este următorul program, care sortează șirurile de caractere "
361 "date în argumentele din linia de comandă:"
362
363 #. type: Plain text
364 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
365 #: opensuse-tumbleweed
366 #, no-wrap
367 msgid ""
368 "#include E<lt>stdio.hE<gt>\n"
369 "#include E<lt>stdlib.hE<gt>\n"
370 "#include E<lt>string.hE<gt>\n"
371 "\\&\n"
372 "static int\n"
373 "cmpstringp(const void *p1, const void *p2)\n"
374 "{\n"
375 " /* The actual arguments to this function are \"pointers to\n"
376 " pointers to char\", but strcmp(3) arguments are \"pointers\n"
377 " to char\", hence the following cast plus dereference. */\n"
378 "\\&\n"
379 " return strcmp(*(const char **) p1, *(const char **) p2);\n"
380 "}\n"
381 "\\&\n"
382 "int\n"
383 "main(int argc, char *argv[])\n"
384 "{\n"
385 " if (argc E<lt> 2) {\n"
386 " fprintf(stderr, \"Usage: %s E<lt>stringE<gt>...\\[rs]n\", argv[0]);\n"
387 " exit(EXIT_FAILURE);\n"
388 " }\n"
389 "\\&\n"
390 " qsort(&argv[1], argc - 1, sizeof(char *), cmpstringp);\n"
391 "\\&\n"
392 " for (size_t j = 1; j E<lt> argc; j++)\n"
393 " puts(argv[j]);\n"
394 " exit(EXIT_SUCCESS);\n"
395 "}\n"
396 msgstr ""
397 "#include E<lt>stdio.hE<gt>\n"
398 "#include E<lt>stdlib.hE<gt>\n"
399 "#include E<lt>string.hE<gt>\n"
400 "\\&\n"
401 "static int\n"
402 "cmpstringp(const void *p1, const void *p2)\n"
403 "{\n"
404 " /* Argumentele reale ale acestei funcții sunt \" indicatori la\n"
405 " indicatorii către char\", dar argumentele strcmp(3) sunt \"indicatori\".\n"
406 " către char\", de aceea următoarele sunt convertite și dereferențiate. */\n"
407 "\\&\n"
408 " return strcmp(*(const char **) p1, *(const char **) p2);\n"
409 "}\n"
410 "\\&\n"
411 "int\n"
412 "main(int argc, char *argv[])\n"
413 "{\n"
414 " if (argc E<lt> 2) {\n"
415 " fprintf(stderr, \"Utilizare: %s E<lt>șirE<gt>...\\[rs]n\", argv[0]);\n"
416 " exit(EXIT_FAILURE);\n"
417 " }\n"
418 "\\&\n"
419 " qsort(&argv[1], argc - 1, sizeof(char *), cmpstringp);\n"
420 "\\&\n"
421 " for (size_t j = 1; j E<lt> argc; j++)\n"
422 " puts(argv[j]);\n"
423 " exit(EXIT_SUCCESS);\n"
424 "}\n"
425
426 #. SRC END
427 #. type: SH
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 #, no-wrap
431 msgid "SEE ALSO"
432 msgstr "CONSULTAȚI ȘI"
433
434 #. type: Plain text
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 msgid "B<sort>(1), B<alphasort>(3), B<strcmp>(3), B<versionsort>(3)"
438 msgstr "B<sort>(1), B<alphasort>(3), B<strcmp>(3), B<versionsort>(3)"
439
440 #. type: TH
441 #: debian-trixie
442 #, no-wrap
443 msgid "2024-06-15"
444 msgstr "15 iunie 2024"
445
446 #. type: TH
447 #: debian-trixie
448 #, no-wrap
449 msgid "Linux man-pages 6.9.1"
450 msgstr "Pagini de manual de Linux 6.9.1"
451
452 #. type: Plain text
453 #: debian-trixie
454 msgid "Standard C library (I<libc>, I<-lc>)"
455 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
456
457 #. type: Plain text
458 #: debian-trixie
459 #, no-wrap
460 msgid ""
461 "B<void qsort(void >I<base>B<[.>I<size>B< * .>I<nmemb>B<], size_t >I<nmemb>B<, size_t >I<size>B<,>\n"
462 "B< int (*>I<compar>B<)(const void [.>I<size>B<], const void [.>I<size>B<]));>\n"
463 "B<void qsort_r(void >I<base>B<[.>I<size>B< * .>I<nmemb>B<], size_t >I<nmemb>B<, size_t >I<size>B<,>\n"
464 "B< int (*>I<compar>B<)(const void [.>I<size>B<], const void [.>I<size>B<], void *),>\n"
465 "B< void *>I<arg>B<);>\n"
466 msgstr ""
467 "B<void qsort(void >I<base>B<[.>I<size>B< * .>I<nmemb>B<], size_t >I<nmemb>B<, size_t >I<size>B<,>\n"
468 "B< int (*>I<compar>B<)(const void [.>I<size>B<], const void [.>I<size>B<]));>\n"
469 "B<void qsort_r(void >I<base>B<[.>I<size>B< * .>I<nmemb>B<], size_t >I<nmemb>B<, size_t >I<size>B<,>\n"
470 "B< int (*>I<compar>B<)(const void [.>I<size>B<], const void [.>I<size>B<], void *),>\n"
471 "B< void *>I<arg>B<);>\n"
472
473 #. type: Plain text
474 #: debian-trixie
475 msgid ""
476 "The B<qsort>() function sorts an array with I<nmemb> elements of size "
477 "I<size>. The I<base> argument points to the start of the array."
478 msgstr ""
479 "Funcția B<qsort>() sortează o matrice cu I<nmemb> elemente de dimensiunea "
480 "I<size>. Argumentul I<base> indică începutul matricei."
481
482 #. type: Plain text
483 #: debian-trixie fedora-44 fedora-rawhide
484 #, no-wrap
485 msgid ""
486 "#include E<lt>stdio.hE<gt>\n"
487 "#include E<lt>stdlib.hE<gt>\n"
488 "#include E<lt>string.hE<gt>\n"
489 "\\&\n"
490 "static int\n"
491 "cmpstringp(const void *p1, const void *p2)\n"
492 "{\n"
493 " /* The actual arguments to this function are \"pointers to\n"
494 " pointers to char\", but strcmp(3) arguments are \"pointers\n"
495 " to char\", hence the following cast plus dereference. */\n"
496 "\\&\n"
497 " return strcmp(*(const char **) p1, *(const char **) p2);\n"
498 "}\n"
499 "\\&\n"
500 "int\n"
501 "main(int argc, char *argv[])\n"
502 "{\n"
503 " if (argc E<lt> 2) {\n"
504 " fprintf(stderr, \"Usage: %s E<lt>stringE<gt>...\\[rs]n\", argv[0]);\n"
505 " exit(EXIT_FAILURE);\n"
506 " }\n"
507 "\\&\n"
508 " qsort(&argv[1], argc - 1, sizeof(char *), cmpstringp);\n"
509 "\\&\n"
510 " for (size_t j = 1; j E<lt> argc; j++)\n"
511 " puts(argv[j]);\n"
512 " exit(EXIT_SUCCESS);\n"
513 "}\n"
514 msgstr ""
515 "#include E<lt>stdio.hE<gt>\n"
516 "#include E<lt>stdlib.hE<gt>\n"
517 "#include E<lt>string.hE<gt>\n"
518 "\\&\n"
519 "static int\n"
520 "cmpstringp(const void *p1, const void *p2)\n"
521 "{\n"
522 " /* Argumentele reale ale acestei funcții sunt \" indicatori la\n"
523 " indicatorii către char\", dar argumentele strcmp(3) sunt \"indicatori\".\n"
524 " către char\", de aceea următoarele sunt convertite și dereferențiate. */\n"
525 "\\&\n"
526 " return strcmp(*(const char **) p1, *(const char **) p2);\n"
527 "}\n"
528 "\\&\n"
529 "int\n"
530 "main(int argc, char *argv[])\n"
531 "{\n"
532 " if (argc E<lt> 2) {\n"
533 " fprintf(stderr, \"Utilizare: %s E<lt>șirE<gt>...\\[rs]n\", argv[0]);\n"
534 " exit(EXIT_FAILURE);\n"
535 " }\n"
536 "\\&\n"
537 " qsort(&argv[1], argc - 1, sizeof(char *), cmpstringp);\n"
538 "\\&\n"
539 " for (size_t j = 1; j E<lt> argc; j++)\n"
540 " puts(argv[j]);\n"
541 " exit(EXIT_SUCCESS);\n"
542 "}\n"
543
544 #. type: TH
545 #: fedora-44 fedora-rawhide
546 #, no-wrap
547 msgid "2024-12-13"
548 msgstr "13 decembrie 2024"
549
550 #. type: TH
551 #: fedora-44 fedora-rawhide
552 #, no-wrap
553 msgid "Linux man-pages 6.13"
554 msgstr "Pagini de manual de Linux 6.13"
555
556 #. type: Plain text
557 #: fedora-44 fedora-rawhide
558 #, no-wrap
559 msgid ""
560 "B<void qsort(void >I<base>B<[.>I<size>B< * .>I<n>B<], size_t >I<n>B<, size_t >I<size>B<,>\n"
561 "B< typeof(int (const void [.>I<size>B<], const void [.>I<size>B<]))>\n"
562 "B< *>I<compar>B<);>\n"
563 "B<void qsort_r(void >I<base>B<[.>I<size>B< * .>I<n>B<], size_t >I<n>B<, size_t >I<size>B<,>\n"
564 "B< typeof(int (const void [.>I<size>B<], const void [.>I<size>B<], void *))>\n"
565 "B< *>I<compar>B<,>\n"
566 "B< void *>I<arg>B<);>\n"
567 msgstr ""
568 "B<void qsort(void >I<base>B<[.>I<size>B< * .>I<n>B<], size_t >I<n>B<, size_t >I<size>B<,>\n"
569 "B< typeof(int (const void [.>I<size>B<], const void [.>I<size>B<]))>\n"
570 "B< *>I<compar>B<);>\n"
571 "B<void qsort_r(void >I<base>B<[.>I<size>B< * .>I<n>B<], size_t >I<n>B<, size_t >I<size>B<,>\n"
572 "B< typeof(int (const void [.>I<size>B<], const void [.>I<size>B<], void *))>\n"
573 "B< *>I<compar>B<,>\n"
574 "B< void *>I<arg>B<);>\n"
575
576 #. type: TH
577 #: mageia-cauldron
578 #, no-wrap
579 msgid "Linux man-pages 6.17"
580 msgstr "Pagini de manual de Linux 6.17"
581
582 #. type: TH
583 #: opensuse-leap-16-1 opensuse-tumbleweed
584 #, no-wrap
585 msgid "Linux man-pages (unreleased)"
586 msgstr "Pagini de manual Linux (nepublicate)"