xref: /original-bsd/include/fnmatch.h (revision 3cd9f84a)
1 /*-
2  * Copyright (c) 1992, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)fnmatch.h	8.1 (Berkeley) 06/02/93
8  */
9 
10 #ifndef	_FNMATCH_H_
11 #define	_FNMATCH_H_
12 
13 #define	FNM_NOMATCH	1	/* Match failed. */
14 
15 #define	FNM_NOESCAPE	0x01	/* Disable backslash escaping. */
16 #define	FNM_PATHNAME	0x02	/* Slash must be matched by slash. */
17 #define	FNM_PERIOD	0x04	/* Period must be matched by period. */
18 
19 #include <sys/cdefs.h>
20 
21 __BEGIN_DECLS
22 #ifndef	_POSIX_SOURCE
23 int	 fnmatch __P((const char *, const char *, int));
24 #endif
25 __END_DECLS
26 
27 #endif /* !_FNMATCH_H_ */
28