OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / fnmatch.3
index 3f6b8b6..05c2183 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -19,7 +20,8 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
-.\" License.
+.\" %%%LICENSE_END
+.\"
 .\" Modified Sat Jul 24 19:35:54 1993 by Rik Faith (faith@cs.unc.edu)
 .\" Modified Mon Oct 16 00:16:29 2000 following Joseph S. Myers
 .\"
@@ -70,7 +72,8 @@ or if both
 is set and the period immediately follows a slash.
 .TP
 .B FNM_FILE_NAME
-This is a GNU synonym for \fBFNM_PATHNAME\fR.
+This is a GNU synonym for
+.BR FNM_PATHNAME .
 .TP
 .B FNM_LEADING_DIR
 If this flag (a GNU extension) is set, the pattern is considered to be
@@ -78,26 +81,35 @@ matched if it matches an initial segment of
 .I string
 which is followed by a slash.
 This flag is mainly for the internal
-use of glibc and is only implemented in certain cases.
+use of glibc and is implemented only in certain cases.
 .TP
 .B FNM_CASEFOLD
 If this flag (a GNU extension) is set, the pattern is matched
 case-insensitively.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 Zero if
 .I string
 matches
 .IR pattern ,
 .B FNM_NOMATCH
 if there is no match or another nonzero value if there is an error.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 POSIX.2.
 The
 .BR FNM_FILE_NAME ", " FNM_LEADING_DIR ", and " FNM_CASEFOLD
 flags are GNU extensions.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR sh (1),
 .BR glob (3),
 .BR scandir (3),
 .BR wordexp (3),
 .BR glob (7)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.