*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: pmatch | Section: 9 | Source: NetBSD | File: pmatch.9
PMATCH(9) FreeBSD Kernel Developer's Manual PMATCH(9) NAME pmatch - performs pattern matching on strings SYNOPSIS #include <sys/systm.h> int pmatch(const char *string, const char *pattern, const char **estr); DESCRIPTION Extract substring matching pattern from string. If not NULL, estr points to the end of the longest exact or substring match. pmatch() uses the following metacharacters: ? match any single character. * match any character 0 or more times. [ define a range of characters that will match. The range is defined by 2 characters separated by a `-'. The range definition has to end with a `]'. A `^' following the `[' will negate the range. RETURN VALUES pmatch() will return 2 for an exact match, 1 for a substring match, 0 for no match and -1 if an error occurs. FreeBSD 14.1-RELEASE-p8 October 12, 2003 FreeBSD 14.1-RELEASE-p8

Navigation Options