posix_spawnattr_destroy, posix_spawnattr_init - destroy/initialize the spawn attributes object.
libc.lib
#include <spawn.h> int posix_spawnattr_destroy(posix_spawnattr_t *attr); int posix_spawnattr_init(posix_spawnattr_t *attr);
The
posix_spawnattr_destroy will destroy the
spawn attribute object referenced by the argument
attr. The
object becomes uninitialized. If the destroyed object is referenced the results
will be undefined.
The posix_spawnattr_init
will initialize the spawn attribute object referenced by the
attr
argument with default value for all the individual attributes.
On success, these functions return 0. On error they return the error number that is set to indicate the error.
The
posix_spawnattr_init()
function fails if:
[ENOMEM]
Insufficient memory exists to initialize the spawn attributes object.
The posix_spawnattr_destroy()
function may fail if:
[EINVAL]
The value specified by attr
is invalid.
For additional information or queries on this page send feedback
© 2005-2007 Nokia |