Debian Codegraph @

po/es/man3/scandir.3.po

raw
1 # Spanish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Vicente Pastor Gómez <[email protected]>, 1998.
5 # Miguel Pérez Ibars <[email protected]>, 2005.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:42+0200\n"
10 "PO-Revision-Date: 2021-01-30 17:58+0100\n"
11 "Last-Translator: Miguel Pérez Ibars <[email protected]>\n"
12 "Language-Team: Spanish <[email protected]>\n"
13 "Language: es\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18 "X-Generator: Lokalize 20.04.1\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 #, fuzzy, no-wrap
24 #| msgid "scandirat()"
25 msgid "scandir"
26 msgstr "scandirat()"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-08"
33 msgstr "8 Febrero 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, fuzzy, no-wrap
38 #| msgid "Linux man-pages 6.17"
39 msgid "Linux man-pages 6.18"
40 msgstr "Páginas de Manual de Linux 6.17"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NOMBRE"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid ""
53 "scandir, scandirat, alphasort, versionsort - scan a directory for matching "
54 "entries"
55 msgstr ""
56 "scandir, scandirat, alphasort, versionsort - busca en un directorio entradas "
57 "coincidentes"
58
59 #. type: SH
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 #, no-wrap
63 msgid "LIBRARY"
64 msgstr "BIBLIOTECA"
65
66 #. type: Plain text
67 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
68 #: opensuse-leap-16-1 opensuse-tumbleweed
69 msgid "Standard C library (I<libc>,\\ I<-lc>)"
70 msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)"
71
72 #. type: SH
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "SYNOPSIS"
77 msgstr "SINOPSIS"
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<#include E<lt>dirent.hE<gt>>\n"
84 msgstr "B<#include E<lt>dirent.hE<gt>>\n"
85
86 #. type: Plain text
87 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
88 #: opensuse-leap-16-1 opensuse-tumbleweed
89 #, fuzzy, no-wrap
90 #| msgid ""
91 #| "B<int (*>I<filter>B<)(const struct dirent *),>\n"
92 #| "B<int (*>I<compar>B<)(const struct dirent **, const struct dirent **));>\n"
93 msgid ""
94 "B<int scandir(const char *restrict >I<dirp>B<,>\n"
95 "B< struct dirent ***restrict >I<namelist>B<,>\n"
96 "B< typeof(int (const struct dirent *)) *>I<filter>B<,>\n"
97 "B<typeof(int (const struct dirent **, const struct dirent **))>\n"
98 "B< *>I<compar>B<);>\n"
99 msgstr ""
100 "B<int (*>I<filter>B<)(const struct dirent *),>\n"
101 "B<int (*>I<compar>B<)(const struct dirent **, const struct dirent **));>\n"
102
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 #, fuzzy, no-wrap
107 #| msgid ""
108 #| "B<int (*>I<filter>B<)(const struct dirent *),>\n"
109 #| "B<int (*>I<compar>B<)(const struct dirent **, const struct dirent **));>\n"
110 msgid ""
111 "B<int alphasort(const struct dirent **>I<a>B<, const struct dirent **>I<b>B<);>\n"
112 "B<int versionsort(const struct dirent **>I<a>B<, const struct dirent **>I<b>B<);>\n"
113 msgstr ""
114 "B<int (*>I<filter>B<)(const struct dirent *),>\n"
115 "B<int (*>I<compar>B<)(const struct dirent **, const struct dirent **));>\n"
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 #, no-wrap
121 msgid ""
122 "B<#include E<lt>fcntl.hE<gt>> /* Definition of AT_* constants */\n"
123 "B<#include E<lt>dirent.hE<gt>>\n"
124 msgstr ""
125
126 #. type: Plain text
127 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
128 #: opensuse-leap-16-1 opensuse-tumbleweed
129 #, fuzzy, no-wrap
130 #| msgid ""
131 #| "B<int (*>I<filter>B<)(const struct dirent *),>\n"
132 #| "B<int (*>I<compar>B<)(const struct dirent **, const struct dirent **));>\n"
133 msgid ""
134 "B<int scandirat(int >I<dirfd>B<, const char *restrict >I<dirp>B<,>\n"
135 "B< struct dirent ***restrict >I<namelist>B<,>\n"
136 "B< typeof(int (const struct dirent *)) *>I<filter>B<,>\n"
137 "B<typeof(int (const struct dirent **, const struct dirent **))>\n"
138 "B< *>I<compar>B<);>\n"
139 msgstr ""
140 "B<int (*>I<filter>B<)(const struct dirent *),>\n"
141 "B<int (*>I<compar>B<)(const struct dirent **, const struct dirent **));>\n"
142
143 #. type: Plain text
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 msgid ""
147 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
148 msgstr ""
149 "Requisitos de Macros de Prueba de Características para glibc (véase "
150 "B<feature_test_macros>(7)):"
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 msgid "B<scandir>(), B<alphasort>():"
156 msgstr "B<scandir>(), B<alphasort>():"
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 #, no-wrap
162 msgid ""
163 " /* Since glibc 2.10: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
164 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
165 msgstr ""
166 " /* Desde glibc 2.10: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
167 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 #, fuzzy
173 #| msgid "B<versionsort>(): _GNU_SOURCE"
174 msgid "B<versionsort>():"
175 msgstr "B<versionsort>(): _GNU_SOURCE"
176
177 #. type: Plain text
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 #, no-wrap
181 msgid " _GNU_SOURCE\n"
182 msgstr " _GNU_SOURCE\n"
183
184 #. type: Plain text
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 #, fuzzy
188 #| msgid "scandirat()"
189 msgid "B<scandirat>():"
190 msgstr "scandirat()"
191
192 #. type: SH
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 #, no-wrap
196 msgid "DESCRIPTION"
197 msgstr "DESCRIPCIÓN"
198
199 #. type: Plain text
200 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
201 #: opensuse-tumbleweed
202 #, fuzzy
203 #| msgid ""
204 #| "The B<scandir>() function scans the directory I<dirp>, calling "
205 #| "I<filter>() on each directory entry. Entries for which I<filter>() "
206 #| "returns nonzero are stored in strings allocated via B<malloc>(3), sorted "
207 #| "using B<qsort>(3) with the comparison function I<compar>(), and "
208 #| "collected in array I<namelist> which is allocated via B<malloc>(3). If "
209 #| "I<filter> is NULL, all entries are selected."
210 msgid ""
211 "The B<scandir>() function scans the directory I<dirp>, calling I<filter>() "
212 "on each directory entry. Entries for which I<filter>() returns nonzero are "
213 "stored in strings allocated via B<malloc>(3), sorted using B<qsort>(3) with "
214 "the comparison function I<compar>(), and collected in array I<namelist> "
215 "which is allocated via B<malloc>(3). If I<filter> is NULL, all entries are "
216 "selected."
217 msgstr ""
218 "La función B<scandir>() rastrea el directorio I<dirp>, llamando I<filter>() "
219 "en cada entrada de directorio. Las entradas para las que I<filter>() "
220 "devuelve un valor distinto de cero se almacenan en cadenas (strings) "
221 "reservadas vía B<malloc>(3), ordenadas usando B<qsort>(3) con la función de "
222 "comparación I<compar>(), y puestas en la matriz I<namelist> que está "
223 "reservada vía B<malloc>(3). Si I<filter> es NULL, se seleccionan todas las "
224 "entradas."
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 msgid ""
230 "The B<alphasort>() and B<versionsort>() functions can be used as the "
231 "comparison function I<compar>(). The former sorts directory entries using "
232 "B<strcoll>(3), the latter using B<strverscmp>(3) on the strings I<(*a)-"
233 "E<gt>d_name> and I<(*b)-E<gt>d_name>."
234 msgstr ""
235 "Las funciones B<alphasort>() y B<versionsort>() pueden ser utilizadas como "
236 "la función de comparación I<compar>(). La primera ordena las entradas de "
237 "directorio usando B<strcoll>(3), la última usando B<strverscmp>(3) sobre "
238 "las cadenas I<(*a)-E<gt>d_name> y I<(*b)-E<gt>d_name>."
239
240 #. type: SS
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 #, no-wrap
244 msgid "scandirat()"
245 msgstr "scandirat()"
246
247 #. type: Plain text
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 msgid ""
251 "The B<scandirat>() function operates in exactly the same way as "
252 "B<scandir>(), except for the differences described here."
253 msgstr ""
254
255 #. type: Plain text
256 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
257 #: opensuse-tumbleweed
258 msgid ""
259 "If I<dirp> is relative, then it is interpreted relative to the directory "
260 "referred to by the file descriptor I<dirfd> (rather than relative to the "
261 "current working directory of the calling process, as is done by "
262 "B<scandir>() for a relative pathname)."
263 msgstr ""
264
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 msgid ""
269 "If I<dirp> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
270 "I<dirp> is interpreted relative to the current working directory of the "
271 "calling process (like B<scandir>())."
272 msgstr ""
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid "If I<dirp> is absolute, then I<dirfd> is ignored."
278 msgstr ""
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 msgid "See B<openat>(2) for an explanation of the need for B<scandirat>()."
284 msgstr ""
285
286 #. type: SH
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "RETURN VALUE"
291 msgstr "VALOR DEVUELTO"
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, fuzzy
297 #| msgid ""
298 #| "The B<scandir()> function returns the number of directory entries "
299 #| "selected or -1 if an error occurs."
300 msgid ""
301 "The B<scandir>() function returns the number of directory entries "
302 "selected. On error, -1 is returned, with I<errno> set to indicate the error."
303 msgstr ""
304 "La función B<scandir()> devuelve el número de entradas de directorio "
305 "seleccionadas, o -1 si hubo algún error."
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 msgid ""
311 "The B<alphasort>() and B<versionsort>() functions return an integer less "
312 "than, equal to, or greater than zero if the first argument is considered to "
313 "be respectively less than, equal to, or greater than the second."
314 msgstr ""
315 "Las funciones B<alphasort>() y B<versionsort>() devuelven un entero menor "
316 "que, igual a, o mayor que cero si el primer argumento se considera "
317 "respectivamente menor que, igual a, o mayor que el segundo argumento."
318
319 #. type: SH
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, no-wrap
323 msgid "ERRORS"
324 msgstr "ERRORES"
325
326 #. type: TP
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "B<EBADF>"
331 msgstr "B<EBADF>"
332
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 msgid ""
337 "(B<scandirat>()) I<dirp> is relative but I<dirfd> is neither B<AT_FDCWD> "
338 "nor a valid file descriptor."
339 msgstr ""
340
341 #. type: TP
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 #, no-wrap
345 msgid "B<ENOENT>"
346 msgstr "B<ENOENT>"
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 msgid "The path in I<dirp> does not exist."
352 msgstr ""
353
354 #. type: TP
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 #, no-wrap
358 msgid "B<ENOMEM>"
359 msgstr "B<ENOMEM>"
360
361 #. type: Plain text
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 msgid "Insufficient memory to complete the operation."
365 msgstr "Memoria insuficiente para completar la operación."
366
367 #. type: TP
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 #, no-wrap
371 msgid "B<ENOTDIR>"
372 msgstr "B<ENOTDIR>"
373
374 #. type: Plain text
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 msgid "The path in I<dirp> is not a directory."
378 msgstr ""
379
380 #. type: Plain text
381 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
382 #: opensuse-tumbleweed
383 msgid ""
384 "(B<scandirat>()) I<dirp> is relative and I<dirfd> is a file descriptor "
385 "referring to a file other than a directory."
386 msgstr ""
387
388 #. type: SH
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 #, no-wrap
392 msgid "ATTRIBUTES"
393 msgstr "ATRIBUTOS"
394
395 #. type: Plain text
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
398 msgid ""
399 "For an explanation of the terms used in this section, see B<attributes>(7)."
400 msgstr ""
401 "Para obtener una explicación de los términos usados en esta sección, véase "
402 "B<attributes>(7)."
403
404 #. type: tbl table
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 #, no-wrap
408 msgid "Interface"
409 msgstr "Interfaz"
410
411 #. type: tbl table
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 #, no-wrap
415 msgid "Attribute"
416 msgstr "Atributo"
417
418 #. type: tbl table
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 #, no-wrap
422 msgid "Value"
423 msgstr "Valor"
424
425 #. type: tbl table
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 #, no-wrap
429 msgid ".na\n"
430 msgstr ".na\n"
431
432 #. type: tbl table
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 #, no-wrap
436 msgid ".nh\n"
437 msgstr ".nh\n"
438
439 #. type: tbl table
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 #, no-wrap
443 msgid ""
444 "B<scandir>(),\n"
445 "B<scandirat>()"
446 msgstr ""
447 "B<scandir>(),\n"
448 "B<scandirat>()"
449
450 #. type: tbl table
451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
453 #, no-wrap
454 msgid "Thread safety"
455 msgstr "Seguridad del hilo"
456
457 #. type: tbl table
458 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
459 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
460 #, no-wrap
461 msgid "MT-Safe"
462 msgstr "Multi-hilo seguro"
463
464 #. type: tbl table
465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
467 #, no-wrap
468 msgid ""
469 "B<alphasort>(),\n"
470 "B<versionsort>()"
471 msgstr ""
472 "B<alphasort>(),\n"
473 "B<versionsort>()"
474
475 #. type: tbl table
476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
478 #, no-wrap
479 msgid "MT-Safe locale"
480 msgstr "Configuración regional de multi-hilo seguro"
481
482 #. type: SH
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 #, no-wrap
486 msgid "STANDARDS"
487 msgstr "ESTÁNDARES"
488
489 #. type: TP
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 #, fuzzy, no-wrap
493 #| msgid "B<allexport>"
494 msgid "B<alphasort>()"
495 msgstr "B<allexport>"
496
497 #. type: TQ
498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
500 #, fuzzy, no-wrap
501 #| msgid "scandirat()"
502 msgid "B<scandir>()"
503 msgstr "scandirat()"
504
505 #. type: Plain text
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 msgid "POSIX.1-2008."
509 msgstr "POSIX.1-2008."
510
511 #. type: TP
512 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
513 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
514 #, fuzzy, no-wrap
515 #| msgid "B<versionsort>(): _GNU_SOURCE"
516 msgid "B<versionsort>()"
517 msgstr "B<versionsort>(): _GNU_SOURCE"
518
519 #. type: TP
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 #, fuzzy, no-wrap
523 #| msgid "scandirat()"
524 msgid "B<scandirat>()"
525 msgstr "scandirat()"
526
527 #. type: Plain text
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 msgid "GNU."
531 msgstr "GNU."
532
533 #. type: SH
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 #, no-wrap
537 msgid "HISTORY"
538 msgstr "HISTORIAL"
539
540 #. type: Plain text
541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
543 #, fuzzy
544 #| msgid "SVr4, 4.3BSD, POSIX.1-2001."
545 msgid "4.3BSD, POSIX.1-2008."
546 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
547
548 #. type: Plain text
549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
551 msgid "glibc 2.1."
552 msgstr "glibc 2.1."
553
554 #. .P
555 #. The functions
556 #. .BR scandir ()
557 #. and
558 #. .BR alphasort ()
559 #. are from 4.3BSD, and have been available under Linux since libc4.
560 #. Libc4 and libc5 use the more precise prototype
561 #. .sp
562 #. .nf
563 #. int alphasort(const struct dirent ** a,
564 #. const struct dirent **b);
565 #. .fi
566 #. .sp
567 #. but glibc 2.0 returns to the imprecise BSD prototype.
568 #. type: Plain text
569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
570 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
571 #, fuzzy
572 #| msgid "Since glibc 2.19:"
573 msgid "glibc 2.15."
574 msgstr "Desde glibc 2.19:"
575
576 #. type: SH
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 #, no-wrap
580 msgid "NOTES"
581 msgstr "NOTAS"
582
583 #. type: Plain text
584 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
585 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
586 msgid ""
587 "Since glibc 2.1, B<alphasort>() calls B<strcoll>(3); earlier it used "
588 "B<strcmp>(3)."
589 msgstr ""
590 "Desde glibc 2.1, B<alphasort>() invoca a B<strcoll>(3); anteriormente usaba "
591 "B<strcmp>(3)."
592
593 #. type: Plain text
594 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
595 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
596 msgid ""
597 "Before glibc 2.10, the two arguments of B<alphasort>() and "
598 "B<versionsort>() were typed as I<const void\\ *>. When B<alphasort>() was "
599 "standardized in POSIX.1-2008, the argument type was specified as the type-"
600 "safe I<const struct dirent\\ **>, and glibc 2.10 changed the definition of "
601 "B<alphasort>() (and the nonstandard B<versionsort>()) to match the "
602 "standard."
603 msgstr ""
604
605 #. type: SH
606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
608 #, no-wrap
609 msgid "EXAMPLES"
610 msgstr "EJEMPLOS"
611
612 #. type: Plain text
613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
615 msgid ""
616 "The program below prints a list of the files in the current directory in "
617 "reverse order."
618 msgstr ""
619
620 #. type: SS
621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
623 #, no-wrap
624 msgid "Program source"
625 msgstr "Código fuente"
626
627 #. type: Plain text
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 #, no-wrap
631 msgid ""
632 "#define _DEFAULT_SOURCE\n"
633 "#include E<lt>dirent.hE<gt>\n"
634 "#include E<lt>stdio.hE<gt>\n"
635 "#include E<lt>stdlib.hE<gt>\n"
636 "\\&\n"
637 "int\n"
638 "main(void)\n"
639 "{\n"
640 " struct dirent **namelist;\n"
641 " int n;\n"
642 "\\&\n"
643 " n = scandir(\".\", &namelist, NULL, alphasort);\n"
644 " if (n == -1) {\n"
645 " perror(\"scandir\");\n"
646 " exit(EXIT_FAILURE);\n"
647 " }\n"
648 "\\&\n"
649 " while (n--) {\n"
650 " printf(\"%s\\[rs]n\", namelist[n]-E<gt>d_name);\n"
651 " free(namelist[n]);\n"
652 " }\n"
653 " free(namelist);\n"
654 "\\&\n"
655 " exit(EXIT_SUCCESS);\n"
656 "}\n"
657 msgstr ""
658
659 #. SRC END
660 #. type: SH
661 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
662 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
663 #, no-wrap
664 msgid "SEE ALSO"
665 msgstr "VÉASE TAMBIÉN"
666
667 #. type: Plain text
668 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
669 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
670 msgid ""
671 "B<closedir>(3), B<fnmatch>(3), B<opendir>(3), B<readdir>(3), "
672 "B<rewinddir>(3), B<seekdir>(3), B<strcmp>(3), B<strcoll>(3), "
673 "B<strverscmp>(3), B<telldir>(3)"
674 msgstr ""
675 "B<closedir>(3), B<fnmatch>(3), B<opendir>(3), B<readdir>(3), "
676 "B<rewinddir>(3), B<seekdir>(3), B<strcmp>(3), B<strcoll>(3), "
677 "B<strverscmp>(3), B<telldir>(3)"
678
679 #. type: TH
680 #: debian-trixie
681 #, no-wrap
682 msgid "2024-06-15"
683 msgstr "15 Junio 2024"
684
685 #. type: TH
686 #: debian-trixie
687 #, no-wrap
688 msgid "Linux man-pages 6.9.1"
689 msgstr "Páginas de Manual de Linux 6.9.1"
690
691 #. type: Plain text
692 #: debian-trixie
693 msgid "Standard C library (I<libc>, I<-lc>)"
694 msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)"
695
696 #. type: Plain text
697 #: debian-trixie
698 #, fuzzy, no-wrap
699 #| msgid ""
700 #| "B<int (*>I<filter>B<)(const struct dirent *),>\n"
701 #| "B<int (*>I<compar>B<)(const struct dirent **, const struct dirent **));>\n"
702 msgid ""
703 "B<int scandir(const char *restrict >I<dirp>B<,>\n"
704 "B< struct dirent ***restrict >I<namelist>B<,>\n"
705 "B< int (*>I<filter>B<)(const struct dirent *),>\n"
706 "B< int (*>I<compar>B<)(const struct dirent **,>\n"
707 "B<const struct dirent **));>\n"
708 msgstr ""
709 "B<int (*>I<filter>B<)(const struct dirent *),>\n"
710 "B<int (*>I<compar>B<)(const struct dirent **, const struct dirent **));>\n"
711
712 #. type: Plain text
713 #: debian-trixie
714 #, fuzzy, no-wrap
715 #| msgid ""
716 #| "B<int (*>I<filter>B<)(const struct dirent *),>\n"
717 #| "B<int (*>I<compar>B<)(const struct dirent **, const struct dirent **));>\n"
718 msgid ""
719 "B<int scandirat(int >I<dirfd>B<, const char *restrict >I<dirp>B<,>\n"
720 "B< struct dirent ***restrict >I<namelist>B<,>\n"
721 "B< int (*>I<filter>B<)(const struct dirent *),>\n"
722 "B< int (*>I<compar>B<)(const struct dirent **,>\n"
723 "B<const struct dirent **));>\n"
724 msgstr ""
725 "B<int (*>I<filter>B<)(const struct dirent *),>\n"
726 "B<int (*>I<compar>B<)(const struct dirent **, const struct dirent **));>\n"
727
728 #. type: Plain text
729 #: debian-trixie fedora-44 fedora-rawhide
730 msgid ""
731 "The B<scandir>() function scans the directory I<dirp>, calling I<filter>() "
732 "on each directory entry. Entries for which I<filter>() returns nonzero are "
733 "stored in strings allocated via B<malloc>(3), sorted using B<qsort>(3) with "
734 "the comparison function I<compar>(), and collected in array I<namelist> "
735 "which is allocated via B<malloc>(3). If I<filter> is NULL, all entries are "
736 "selected."
737 msgstr ""
738 "La función B<scandir>() rastrea el directorio I<dirp>, llamando I<filter>() "
739 "en cada entrada de directorio. Las entradas para las que I<filter>() "
740 "devuelve un valor distinto de cero se almacenan en cadenas (strings) "
741 "reservadas vía B<malloc>(3), ordenadas usando B<qsort>(3) con la función de "
742 "comparación I<compar>(), y puestas en la matriz I<namelist> que está "
743 "reservada vía B<malloc>(3). Si I<filter> es NULL, se seleccionan todas las "
744 "entradas."
745
746 #. type: Plain text
747 #: debian-trixie fedora-44 fedora-rawhide
748 msgid ""
749 "If the pathname given in I<dirp> is relative, then it is interpreted "
750 "relative to the directory referred to by the file descriptor I<dirfd> "
751 "(rather than relative to the current working directory of the calling "
752 "process, as is done by B<scandir>() for a relative pathname)."
753 msgstr ""
754
755 #. type: Plain text
756 #: debian-trixie fedora-44 fedora-rawhide
757 msgid ""
758 "(B<scandirat>()) I<dirp> is a relative pathname and I<dirfd> is a file "
759 "descriptor referring to a file other than a directory."
760 msgstr ""
761
762 #. type: TH
763 #: fedora-44 fedora-rawhide
764 #, no-wrap
765 msgid "2024-12-13"
766 msgstr "13 Diciembre 2024"
767
768 #. type: TH
769 #: fedora-44 fedora-rawhide
770 #, no-wrap
771 msgid "Linux man-pages 6.13"
772 msgstr "Páginas de Manual de Linux 6.13"
773
774 #. type: TH
775 #: mageia-cauldron
776 #, no-wrap
777 msgid "Linux man-pages 6.17"
778 msgstr "Páginas de Manual de Linux 6.17"
779
780 #. type: TH
781 #: opensuse-leap-16-1 opensuse-tumbleweed
782 #, no-wrap
783 msgid "Linux man-pages (unreleased)"
784 msgstr "Páginas de Manual de Linux (no publicadas)"