]> git.saurik.com Git - apple/libc.git/blob - gen/FreeBSD/fnmatch.3.patch
Libc-763.11.tar.gz
[apple/libc.git] / gen / FreeBSD / fnmatch.3.patch
1 --- fnmatch.3.orig 2011-02-17 17:09:58.000000000 -0800
2 +++ fnmatch.3 2011-02-18 12:10:47.000000000 -0800
3 @@ -122,7 +122,18 @@
4 function returns zero if
5 .Fa string
6 matches the pattern specified by
7 -.Fa pattern ,
8 +.Fa pattern .
9 +It returns the value
10 +.Dv FNM_NOMATCH
11 +if no match is found.
12 +Otherwise, another non-zero value is returned on error.
13 +.Sh LEGACY RETURN VALUES
14 +The
15 +.Fn fnmatch
16 +function returns zero if
17 +.Fa string
18 +matches the pattern specified by
19 +.Fa pattern ;
20 otherwise, it returns the value
21 .Dv FNM_NOMATCH .
22 .Sh SEE ALSO