From 5316c662e69cd3edaae69f8581f585d3c71c0950 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 24 Mar 2000 17:16:31 +0000 Subject: Mention that FNM_LEADING_DIR and FNM_CASEFOLD are extensions. I got bit by this recently in my own code... --- lib/libc/gen/fnmatch.3 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'lib/libc') 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 -- cgit v1.2.3