[Previous] [Contents] [Next]

regfree()

Release memory allocated for a regular expression

Synopsis:

#include <regex.h>

void regfree( regex_t * preg );

Library:

libc

Description:

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

Examples:

See regcomp().

Classification:

POSIX 1003.1a

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes

Author:

Henry Spencer. For copyright information, see Third-Party Copyright Notices in this reference.

See also:

regcomp(), regerror(), regexec()


[Previous] [Contents] [Next]