2 * Acess2 POSIX Emulation Library
3 * - By John Hodge (thePowersGang)
6 * - POSIX regular expression support
8 #ifndef _LIBPOSIX_REGEX_H_
9 #define _LIBPOSIX_REGEX_H_
15 typedef size_t regoff_t;
22 extern int regcomp(regex_t *preg, const char *regex, int cflags);
23 extern int regexec(const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags);
24 extern size_t regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size);
25 extern void regfree(regex_t *preg);