![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Release memory allocated for a regular expression
#include <regex.h> void regfree( regex_t * preg );
libc
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.
See regcomp().
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | Yes | 
Henry Spencer. For copyright information, see Third-Party Copyright Notices in this reference.
regcomp(), regerror(), regexec()
![]()  | 
![]()  | 
![]()  | 
![]()  |