summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-03-24 17:16:31 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-03-24 17:16:31 +0000
commit5316c662e69cd3edaae69f8581f585d3c71c0950 (patch)
treee8a69ea2ecd968425b316eaa695e151182fc10dc /lib
parent443aef0261dbd03cad16eda4c22cd70977a4b4cd (diff)
Mention that FNM_LEADING_DIR and FNM_CASEFOLD are extensions.
I got bit by this recently in my own code...
Diffstat (limited to 'lib')
-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