This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Perform word expansions
#include <wordexp.h> int wordexp( const char * words, wordexp_t * pwordexp, int flags );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
This function is in libc.a, but not in libc.so (in order to save space). |
The C bindings for performing word expansions aren't currently supported.
-1 to indicate an error (errno is set).
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
glob(), globfree(), wordfree()