globfree()

QNX SDP8.0C Library ReferenceAPIDeveloper

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.

Description:

The globfree() function frees the storage allocated by a call to glob().

Classification:

POSIX 1003.1

Safety:
Cancellation pointNo
Signal handlerYes
ThreadYes

Caveats:

Don't change the values in pglob between calling glob() and globfree().

Page updated: