regfree()
QNX SDP8.0C Library ReferenceAPIDeveloper
Release memory allocated for a regular expression
Synopsis:
#include <regex.h>
void regfree( regex_t * preg );
Arguments:
- preg
- A pointer to the regex_t object for the regular expression that you want to free; see regcomp().
Library:
libregex
Use the -l regex option to qcc to link against this library.
Description:
The regfree() function releases all memory allocated by regcomp() associated with preg.
Examples:
See regcomp().
Classification:
Safety: | |
---|---|
Cancellation point | No |
Signal handler | No |
Thread | Yes |
Contributing author:
Henry Spencer.
For license information, see
Licensing information
in Typographical Conventions, Support, and Licensing.
Page updated: