10 #define __NEED_regoff_t
13 #include <bits/alltypes.h>
15 typedef struct re_pattern_buffer {
17 void *__opaque, *__padding[4];
27 #define REG_EXTENDED 1
38 #define REG_ECOLLATE 3
52 int regcomp(regex_t *__restrict, const char *__restrict, int);
53 int regexec(const regex_t *__restrict, const char *__restrict, size_t, regmatch_t *__restrict, int);
54 void regfree(regex_t *);
56 size_t regerror(int, const regex_t *__restrict, char *__restrict, size_t);