Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
wordexp(3) OSS Library Calls Reference Manual
WRDE_CMDSUB
Command substitution was requested when the WRDE_NOCMD flag is set in
the flags parameter.
WRDE_EOPEN
The popen( ) function returned an error. Check the errno value returned by that
function call.
WRDE_ESHELL
An error occurred during a read of shell data from a pipe.
WRDE_NOSPACE
An attempt to allocate memory was unsuccessful.
WRDE_SYNTAX
A shell syntax error occurred, such as unbalanced parentheses or unterminated
string.
If the wordexp( ) function returns the error value WRDE_NOSPACE, then the structure pointed
to by the pwordexp parameter is updated to reflect any words that were successfully expanded. In
other cases, the structure pointed to by the pwordexp parameter is not modified.
RELATED INFORMATION
Functions: glob(3), wordfree(3).
STANDARDS CONFORMANCE
The following are HP extensions to the XPG4 Version 2 specification:
• The wordexp() function call can return the error constants WRDE_EOPEN and
WRDE_ESHELL.
8−72 Hewlett-Packard Company 527187-017