From: millert Date: Fri, 24 Mar 2000 17:16:30 +0000 (+0000) Subject: Mention that FNM_LEADING_DIR and FNM_CASEFOLD are extensions. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cba28d8657d6b11f7630efbe0f071602d2e1e0c8;p=openbsd Mention that FNM_LEADING_DIR and FNM_CASEFOLD are extensions. I got bit by this recently in my own code... --- 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