wordfree() — Free shell word expansion memory
Standards
Standards / Extensions | C or C++ | Dependencies |
---|---|---|
XPG4 |
both |
Format
#define _XOPEN_SOURCE
#include <wordexp.h>
int wordexp(const char *words, wordexp_t *pwordexp, int flags);
void wordfree(wordexp_t *pwordexp);
General description
The wordfree() function frees any memory associated with pwordexp from a previous call to wordexp(). Please refer to the description of wordexp() for the rules governing use of wordexp() and wordfree().
Returned value
wordfree() returns no values.