]>
git.ipfire.org Git - thirdparty/glibc.git/blob - posix/bug-regex31.c
14 while (! feof (stdin
))
16 ssize_t n
= getline (&buf
, &len
, stdin
);
19 if (buf
[n
- 1] == '\n')
23 int rc
= regcomp (®ex
, buf
, REG_EXTENDED
);
25 printf ("%s: Error %d (expected)\n", buf
, rc
);
28 printf ("%s: succeeded !\n", buf
);