regfree [ MPE/iX Developer's Kit Reference Manual Volume I ] MPE/iX 5.0 Documentation
MPE/iX Developer's Kit Reference Manual Volume I
regfree
Free a compiled regular expression.
Syntax
#include <regex.h>
void regfree(regex_t *reg);
Parameters
reg must point to an object where regcomp() stored a compiled
regular expression.
Description
regfree() frees any memory that was allocated by regcomp() when it
compiled the regular expression associated with reg.
NOTE The regex_t object itself is not freed.
See Also
regcomp(), regexec(), regexp(3)
MPE/iX 5.0 Documentation