Frees any space associated with the pglob argument resulting from
a previous call to the glob function.
Format
#include <glob.h>
void globfree (glob_t *pglob);
1 – Function Variants
The globfree function has variants named _globfree32 and _
globfree64 for use with 32-bit and 64-bit pointer sizes,
respectively.
2 – Argument
pglob
Pointer to a previously allocated glob_t structure.
3 – Description
The globfree function frees any space associated with the pglob
argument resulting from a previous call to the glob function. The
globfree function returns no value.