![]() |
![]() |
![]() |
![]() |
globfree()
Free storage allocated by a call to glob()
Synopsis:
#include <glob.h> void globfree( glob_t* pglob );
Arguments:
- pglob
- A pointer to a glob_t structure that you passed to glob().
Library:
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). |
Description:
The globfree() function frees the storage allocated by a call to glob().
Classification:
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
Caveats:
Don't change the values in pglob between calling glob() and globfree().
See also:
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
