posix_spawnattr_getsigmask, posix_spawnattr_setsigmask - get or set the spawn-sigmask attribute of a spawn attributes object
libc.lib
#include <spawn.h> int posix_spawnattr_getsigmask(const posix_spawnattr_t *attr,sigset_t *sigmask); int posix_spawnattr_setsigmask(posix_spawnattr_t *attr,const sigset_t *sigmask);
The
posix_spawnattr_getsigmask will get the value
of the spawn-sigmask
attribute from the attributes object referenced by the argument
attr.
The posix_spawnattr_setsigmask
will set the
spawn-sigmask attribute in an initialized
attributes object referenced by the argument
attr.
The spawn-sigmask
attribute represents the signal mask in effect in the new process image of a
spawn operation. The default value of this attribute is unspecified.
On success,
posix_spawnattr_getsigmask
will return 0 and stores the spawn-sigmask
attribute of attr
in the object referenced by the argument
sigmask. On
error, error number is returned to indicate the error.
On success posix_spawnattr_setsigmask
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_setsigmask()
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 |