source: trunk/src/emx/include/fnmatch.h@ 18

Last change on this file since 18 was 18, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 759 bytes
Line 
1/* fnmatch.h (emx+gcc) */
2
3#ifndef _FNMATCH_H
4#define _FNMATCH_H
5
6#if defined (__cplusplus)
7extern "C" {
8#endif
9
10/* POSIX.2 */
11
12#define FNM_NOMATCH 1
13
14#define FNM_NOESCAPE 16
15#define FNM_PATHNAME 32
16#define FNM_PERIOD 64
17
18int fnmatch (__const__ char *, __const__ char *, int);
19
20
21#if !defined (_POSIX_SOURCE) || defined (_WITH_UNDERSCORE)
22
23/* emx extensions */
24
25#define _FNM_MATCH 0
26#define _FNM_ERR 2
27
28#define _FNM_STYLE_MASK 15
29
30#define _FNM_POSIX 0
31#define _FNM_OS2 1
32#define _FNM_DOS 2
33
34#define _FNM_IGNORECASE 128
35#define _FNM_PATHPREFIX 256
36
37int _fnmatch (__const__ char *, __const__ char *, int);
38
39#endif
40
41
42#if defined (__cplusplus)
43}
44#endif
45
46#endif /* not _FNMATCH_H */
Note: See TracBrowser for help on using the repository browser.