posix_spawn_file_actions_destroy, posix_spawn_file_actions_init - destroy or initialize the spawn file actions object.
libc.lib
#include <spawn.h> int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *file_actions); int posix_spawn_file_actions_init(posix_spawn_file_actions_t *file_actions);
The
posix_spawn_file_actions_destroy will destroy
the file action object referenced by the argument
file_actions.
The object becomes uninitialized. If the destroyed object is referenced the
results will be undefined.
The posix_spawn_file_actions_init
will initialize the file action object
referenced by the file_actions
argument to contain no action for
posix_spawn.
The effect of initializing an already initialized spawn file actions object is
undefined.
On success, these functions return 0. On error it returns the error number that is set to indicate the error.
The
posix_spawn_file_actions_init() function
fails if:
[ENOMEM]
Insufficient memory exists to initialize the spawn file actions object.
The posix_spawn_file_actions_destroy()
function may fail if:
[EINVAL]
The value specified by file_actions
is invalid.
For additional information or queries on this page send feedback
© 2005-2007 Nokia |