posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault - get or set the spawn-sigdefault attribute of a spawn attributes object.
libc.lib
#include <spawn.h> int posix_spawnattr_getsigdefault(const posix_spawnattr_t *attr, sigset_t *sigdefault); int posix_spawnattr_setsigdefault(posix_spawnattr_t *attr,const sigset_t *sigdefault);
The
posix_spawnattr_getsigdefault will get the
value of the spawn-sigdefault
attribute from the attributes object referenced by the argument
attr.
The posix_spawnattr_setsigdefault
will set the spawn-sigdefault
attribute in an initialized attributes object referenced by the argument
attr.
The spawn-sigdefault
attribute represents the set of signals to be forced to default signal handling
in the new process image. The default value of this attribute will be an empty
signal set.
On success,
posix_spawnattr_getsigdefault
will return 0 and stores the spawn-sigdefault
attribute of attr
in the object referenced by the argument
sigdefault.
On error, error number is returned to indicate the error.
On success
posix_spawnattr_setsigdefault will return 0.
On error, error number is returned to indicate the error.
These functions may fail
if:
[EINVAL]
The value specified by attr
is invalid.
The posix_spawnattr_setsigdefault()
function may fail if:
[EINVAL]
The value of the attribute being set is not valid.
For additional information or queries on this page send feedback
© 2005-2007 Nokia |