wordfree()

QNX SDP8.0C Library ReferenceAPIDeveloper

Free a word expansion buffer

Synopsis:

#include <wordexp.h>

void wordfree( wordexp_t * pwordexp );

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The wordfree() frees the memory allocated by wordexp().

Note:
Because of security concerns, the versions of wordexp() and wordfree() in libc are stubs that do nothing. We recommend that you not use these functions.

Classification:

POSIX 1003.1

Safety:
Cancellation pointNo
Signal handlerYes
ThreadYes
Page updated: