Free a word expansion buffer
#include <wordexp.h> void wordfree( wordexp_t * pwordexp );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The wordfree() frees the memory allocated by wordexp().
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |