Updated: April 19, 2023 |
Release memory allocated 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().
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
Henry Spencer. For license information, see Licensing information in Typographical Conventions, Support, and Licensing.