summaryrefslogtreecommitdiff
path: root/include/fnmatch.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-03-24 17:13:24 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-03-24 17:13:24 +0000
commit443aef0261dbd03cad16eda4c22cd70977a4b4cd (patch)
tree860c6ac2ccdc219fdeb37158768854bb769f3485 /include/fnmatch.h
parentcf7ae36606a25dc931a7c8c696623c5650ad8c66 (diff)
Add FNM_NOSYS, meaning "The implementation does not support this function",
for XPG conformance. We don't use it but programs might check for it.
Diffstat (limited to 'include/fnmatch.h')
-rw-r--r--include/fnmatch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/fnmatch.h b/include/fnmatch.h
index 55e9e5786b7..70a5fec6d7c 100644
--- a/include/fnmatch.h
+++ b/include/fnmatch.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: fnmatch.h,v 1.4 1997/09/22 05:25:32 millert Exp $ */
+/* $OpenBSD: fnmatch.h,v 1.5 2000/03/24 17:13:23 millert Exp $ */
/* $NetBSD: fnmatch.h,v 1.5 1994/10/26 00:55:53 cgd Exp $ */
/*-
@@ -40,6 +40,7 @@
#define _FNMATCH_H_
#define FNM_NOMATCH 1 /* Match failed. */
+#define FNM_NOSYS 2 /* Function not supported (unused). */
#define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */
#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */