Updated: October 28, 2024 |
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.
The wordexp() function performs shell-style word expansion.
WRDE_NOSYS to indicate that wordexp() isn't supported. The function always returns WRDE_NOSYS and sets the errno to ENOSYS every time it is called.
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |