Standards / Extensions | C or C++ | Dependencies |
---|---|---|
XPG4 |
both |
#define _XOPEN_SOURCE
#include <wordexp.h>
int wordexp(const char *words, wordexp_t *pwordexp, int flags);
void wordfree(wordexp_t *pwordexp);
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().
wordfree() returns no values.