Release memory allocated for a regular expression
#include <regex.h> void regfree( regex_t * preg );
- A pointer to the regex_t object for the regular expression that you want to free; see regcomp().
Use the -l c option to qcc to link against this library. This library is usually included automatically.
This function is in libc.a, but not in libc.so (in order to save space).
The regfree() function releases all memory allocated by regcomp() associated with preg.
Henry Spencer. For license information, see the Third Party License Terms List at http://www.qnx.com/licensing/third-party-terms/ .
Last modified: 2014-06-24