| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
Free storage allocated by a call to glob()
#include <glob.h> void globfree( glob_t* pglob );
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 globfree() function frees the storage allocated by a call to glob().
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | No | 
| Signal handler | Yes | 
| Thread | Yes | 
Don't change the values in pglob between calling glob() and globfree().
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |