release all memory allocated by regcomp() for a regular expression
#include <regex.h> void regfree( regex_t *preg );
The regfree() function releases all memory allocated by regcomp() associated with preg.
See regcomp().
POSIX 1003.2
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
regcomp(), regerror(), regexec()