File: fnmatch.h

package info (click to toggle)
swish++ 6.1.5-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,256 kB
  • ctags: 1,759
  • sloc: ansic: 11,931; lisp: 804; sh: 629; perl: 366; makefile: 80
file content (40 lines) | stat: -rw-r--r-- 685 bytes parent folder | download | duplicates (6)
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
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#ifndef __dj_include_fnmatch_h_
#define __dj_include_fnmatch_h_

#ifdef __cplusplus
extern "C" {
#endif

#ifdef	FNM_NOESCAPE
#undef	FNM_NOESCAPE
#endif
#ifdef	FNM_PATHNAME
#undef	FNM_PATHNAME
#endif
#ifdef	FNM_PERIOD
#undef	FNM_PERIOD
#endif
#ifdef	FNM_NOCASE
#undef	FNM_NOCASE
#endif

#define	FNM_NOESCAPE	0x01
#define	FNM_PATHNAME	0x02
#define	FNM_PERIOD	0x04
#define	FNM_NOCASE	0x08

#ifdef	FNM_NOMATCH
#undef	FNM_NOMATCH
#endif

#define	FNM_NOMATCH	1

int fnmatch( const char *pattern, const char *string, int flags );

#ifdef __cplusplus
}
#endif

#endif /* !__dj_include_fnmatch_h_ */
/* vim:set noet sw=8 ts=8: */