1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#if 0 #include <sys/types.h> #include <regex.h> int regexec(const regex_t * restrict preg, const char * restrict string, size_t nmatch, regmatch_t pmatch[restrict], int eflags) { (void)preg; (void)string; (void)nmatch; (void)pmatch; (void)eflags; return 0; } /* POSIX(2) */ #endif