fnmatch.h (19133) | fnmatch.h (19144) |
---|---|
1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 28 unchanged lines hidden (view full) --- 37#define _FNMATCH_H_ 38 39#define FNM_NOMATCH 1 /* Match failed. */ 40 41#define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */ 42#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */ 43#define FNM_PERIOD 0x04 /* Period must be matched by period. */ 44#ifndef _POSIX_SOURCE | 1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 28 unchanged lines hidden (view full) --- 37#define _FNMATCH_H_ 38 39#define FNM_NOMATCH 1 /* Match failed. */ 40 41#define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */ 42#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */ 43#define FNM_PERIOD 0x04 /* Period must be matched by period. */ 44#ifndef _POSIX_SOURCE |
45#define FNM_LEADING_DIR 0x08 /* Ignore "/*" after match */ 46#define FNM_CASEFOLD 0x10 /* Case insensitive search */ | 45#define FNM_LEADING_DIR 0x08 /* Ignore "/*" after match. */ 46#define FNM_CASEFOLD 0x10 /* Case insensitive search. */ |
47#endif 48 49#include <sys/cdefs.h> 50 51__BEGIN_DECLS 52int fnmatch __P((const char *, const char *, int)); 53__END_DECLS 54 55#endif /* !_FNMATCH_H_ */ | 47#endif 48 49#include <sys/cdefs.h> 50 51__BEGIN_DECLS 52int fnmatch __P((const char *, const char *, int)); 53__END_DECLS 54 55#endif /* !_FNMATCH_H_ */ |