summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2000-03-24 17:16:30 +0000
committermillert <millert@openbsd.org>2000-03-24 17:16:30 +0000
commitcba28d8657d6b11f7630efbe0f071602d2e1e0c8 (patch)
tree66cc4f06ed0aed7acc307d9c09e4a3375cac8312
parentAdd FNM_NOSYS, meaning "The implementation does not support this function", (diff)
downloadwireguard-openbsd-cba28d8657d6b11f7630efbe0f071602d2e1e0c8.tar.xz
wireguard-openbsd-cba28d8657d6b11f7630efbe0f071602d2e1e0c8.zip
Mention that FNM_LEADING_DIR and FNM_CASEFOLD are extensions.
I got bit by this recently in my own code...
-rw-r--r--lib/libc/gen/fnmatch.313
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/libc/gen/fnmatch.3 b/lib/libc/gen/fnmatch.3
index d4efe72e18e..739996aa1a3 100644
--- a/lib/libc/gen/fnmatch.3
+++ b/lib/libc/gen/fnmatch.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fnmatch.3,v 1.7 1999/06/05 04:47:41 aaron Exp $
+.\" $OpenBSD: fnmatch.3,v 1.8 2000/03/24 17:16:30 millert Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -134,7 +134,16 @@ otherwise, it returns the value
The
.Fn fnmatch
function conforms to
-.St -p1003.2-92 .
+.St -p1003.2-92
+and
+.St -xpg4.2 .
+.Pp
+Note, however, that the flags
+.Dv FNM_LEADING_DIR
+and
+.Dv FNM_CASEFOLD
+are extensions and should not be used by applications striving for
+strict standards conformance.
.Sh HISTORY
The
.Fn fnmatch