[Previous]
[Contents]
[Next]

regfree()

release all memory allocated by regcomp() for a regular expression

Synopsis:

#include <regex.h>
void regfree( regex_t *preg );

Description:

The regfree() function releases all memory allocated by regcomp() associated with preg.

Examples:

See regcomp().

Classification:

POSIX 1003.2

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

regcomp(), regerror(), regexec()


[Previous]
[Contents]
[Next]