Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
wordexp()
Perform word expansions
Synopsis:
#include <wordexp.h>
int wordexp( const char * words,
wordexp_t * pwordexp,
int flags );
Library:
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). |
Description:
The C bindings for performing word expansions aren't currently supported.
Returns:
-1 to indicate an error (errno is set).
Errors:
- WRDE_NOSYS
- The wordexp() function isn't currently supported.
Classification:
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
See also:
glob(), globfree(), wordfree()
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
