Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

gmatch - global pattern matching (extension)

&pagelevel(4)&pagelevel

Syntax

#include <libgen.h>

int gmatch(const char *str, const char *pattern); 

Description

gmatch() checks whether the null-terminated string str matches the null-terminated pattern
string pattern. A backslash \ is used as an escape character in pattern strings.

Return val.

!= 0

0

if the string matches the pattern.

if no match was found.