summaryrefslogtreecommitdiff
path: root/doc/posix-functions/glob.texi
blob: 74ac551ebcde3ec0ab339be0374d1cd22687329d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@node glob
@section @code{glob}
@findex glob

POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/glob.html}

Gnulib module: glob

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
mingw, MSVC 14, Android 8.1.
@item
This function does not list symbolic links to nonexistent files among the results,
on some platforms:
glibc 2.26, AIX 7.2, HP-UX 11, Solaris 11.4.
@item
On platforms where @code{off_t} is a 32-bit type, this function may not
work correctly on huge directories larger than 2 GB.
(Cf. @code{AC_SYS_LARGEFILE}.)
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
Some platforms may store additional flags in the @code{gl_flags} field.
@end itemize