1<fnmatch.h>(P) POSIX Programmer's Manual <fnmatch.h>(P)
2
3
4
6 fnmatch.h - filename-matching types
7
9 #include <fnmatch.h>
10
12 The <fnmatch.h> header shall define the following constants:
13
14 FNM_NOMATCH
15 The string does not match the specified pattern.
16
17 FNM_PATHNAME
18 Slash in string only matches slash in pattern.
19
20 FNM_PERIOD
21 Leading period in string must be exactly matched by period in
22 pattern.
23
24 FNM_NOESCAPE
25 Disable backslash escaping.
26
27 FNM_NOSYS
28 Reserved.
29
30
31 The following shall be declared as a function and may also be defined
32 as a macro. A function prototype shall be provided.
33
34
35 int fnmatch(const char *, const char *, int);
36
37 The following sections are informative.
38
40 None.
41
43 None.
44
46 None.
47
49 The System Interfaces volume of IEEE Std 1003.1-2001, fnmatch(), the
50 Shell and Utilities volume of IEEE Std 1003.1-2001
51
53 Portions of this text are reprinted and reproduced in electronic form
54 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
55 -- Portable Operating System Interface (POSIX), The Open Group Base
56 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
57 Electrical and Electronics Engineers, Inc and The Open Group. In the
58 event of any discrepancy between this version and the original IEEE and
59 The Open Group Standard, the original IEEE and The Open Group Standard
60 is the referee document. The original Standard can be obtained online
61 at http://www.opengroup.org/unix/online.html .
62
63
64
65IEEE/The Open Group 2003 <fnmatch.h>(P)