Go to the first, previous, next, last section, table of contents.


regfree

Syntax

#include <sys/types.h>
#include <regex.h>

void regfree(regex_t *preg);

Description

regfree frees any dynamically-allocated storage associated with the compiled RE pointed to by preg. The remaining regex_t is no longer a valid compiled RE and the effect of supplying it to regexec or regerror is undefined.

Portability

not ANSI, POSIX


Go to the first, previous, next, last section, table of contents.