File: glob

package info (click to toggle)
gnulib 20260109-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 165,988 kB
  • sloc: ansic: 391,363; sh: 30,873; python: 8,397; cpp: 2,985; yacc: 1,846; perl: 920; makefile: 631; lisp: 328; sed: 11; java: 5
file content (71 lines) | stat: -rw-r--r-- 2,628 bytes parent folder | download
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Description:
glob() function: Search for files and directories with paths matching a
pattern, with GNU extensions.

Files:
lib/glob.c
lib/glob_internal.h
lib/glob_pattern_p.c
lib/globfree.c
m4/glob.m4

Depends-on:
glob-h
c99
largefile
alloca                        [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
builtin-expect                [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
closedir                      [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
d-type                        [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
dirfd                         [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
flexmember                    [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
fnmatch                       [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
fstatat                       [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
getlogin_r                    [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
libc-config                   [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
memchr                        [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
mempcpy                       [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
opendir                       [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
readdir                       [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
glibc-internal/scratch_buffer [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
bool                          [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
stdckdint-h                   [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
stdint-h                      [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
strdup                        [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
unistd-h                      [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
malloc-posix                  [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]

configure.ac:
gl_GLOB
dnl Because of gl_REPLACE_GLOB_H:
gl_CONDITIONAL_HEADER([glob.h])
gl_CONDITIONAL([GL_COND_OBJ_GLOB],
               [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1])
AM_COND_IF([GL_COND_OBJ_GLOB], [
  gl_PREREQ_GLOB
])
gl_CONDITIONAL([GL_COND_OBJ_GLOB_PATTERN_P],
               [test $HAVE_GLOB_PATTERN_P = 0 || test $REPLACE_GLOB_PATTERN_P = 1])
gl_GLOB_MODULE_INDICATOR([glob])

Makefile.am:
if GL_COND_OBJ_GLOB
lib_SOURCES += glob.c globfree.c
endif
if GL_COND_OBJ_GLOB_PATTERN_P
lib_SOURCES += glob_pattern_p.c
endif

Include:
<glob.h>

Link:
$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
$(MBRTOWC_LIB)
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise

License:
GPL

Maintainer:
all, glibc