X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/1f2f436a38f7ae2d39a943ad2898d8fed4ed2e58..aa54d2fad3d9038b43475aa93c76795c5141a993:/gen/FreeBSD/fnmatch.3?ds=sidebyside diff --git a/gen/FreeBSD/fnmatch.3 b/gen/FreeBSD/fnmatch.3 index 0ff709b..f3aa885 100644 --- a/gen/FreeBSD/fnmatch.3 +++ b/gen/FreeBSD/fnmatch.3 @@ -122,7 +122,18 @@ The function returns zero if .Fa string matches the pattern specified by -.Fa pattern , +.Fa pattern . +It returns the value +.Dv FNM_NOMATCH +if no match is found. +Otherwise, another non-zero value is returned on error. +.Sh LEGACY RETURN VALUES +The +.Fn fnmatch +function returns zero if +.Fa string +matches the pattern specified by +.Fa pattern ; otherwise, it returns the value .Dv FNM_NOMATCH . .Sh SEE ALSO