summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/fnmatch.3
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1996-05-10 00:28:34 +0000
committerjdp <jdp@FreeBSD.org>1996-05-10 00:28:34 +0000
commita6bf8584a0571322503cd964109e493106392fe1 (patch)
tree7f4ecefca151801e7a452655c6a825851df7efc4 /lib/libc/gen/fnmatch.3
parent3d01623d39554d5ea60ec6ff3715267a9c16d532 (diff)
downloadFreeBSD-src-a6bf8584a0571322503cd964109e493106392fe1.zip
FreeBSD-src-a6bf8584a0571322503cd964109e493106392fe1.tar.gz
Clarify the description of the FNM_PERIOD flag.
Diffstat (limited to 'lib/libc/gen/fnmatch.3')
-rw-r--r--lib/libc/gen/fnmatch.37
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/gen/fnmatch.3 b/lib/libc/gen/fnmatch.3
index 8d0919c..d533e09 100644
--- a/lib/libc/gen/fnmatch.3
+++ b/lib/libc/gen/fnmatch.3
@@ -85,7 +85,12 @@ must be explicitly matched by slashes in
.Fa pattern .
If this flag is not set, then slashes are treated as regular characters.
.It Dv FNM_PERIOD
-Leading periods in strings match periods in patterns.
+Leading periods in
+.Fa string
+must be explicitly matched by periods in
+.Fa pattern .
+If this flag is not set, then leading periods are treated as regular
+characters.
The definition of ``leading'' is related to the specification of
.Dv FNM_PATHNAME.
A period is always ``leading'' if it is the first character in
OpenPOWER on IntegriCloud