|
|||||||
|
|
FNMATCHSection: Linux Programmer's Manual (3)Updated: 2000-10-15 Index Return to Main Contents NAMEfnmatch - match filename or pathnameSYNOPSIS#include <fnmatch.h> int fnmatch(const char *pattern, const char *string, int flags); DESCRIPTIONThe fnmatch() function checks whether the string argument matches the pattern argument, which is a shell wildcard pattern.The flags argument modifies the behaviour; it is the bitwise OR of zero or more of the following flags:
RETURN VALUEZero if string matches pattern, FNM_NOMATCH if there is no match or another non-zero value if there is an error.CONFORMING TOISO/IEC 9945-2: 1993 (POSIX.2). The FNM_FILE_NAME, FNM_LEADING_DIR, and FNM_CASEFOLD flags are GNU extensions.SEE ALSOsh(1), glob(3), scandir(3), glob(7)
Index | ||||||
|
|
|
Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account Document on this page is part of "Linuxinfor Man Pages in HTML Format: man3". See Index Page for more info about Authorship and Copyright. 1999-2008 Linuxinfor.com. No rights reserved. |