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.
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().