1POSIX_SPAWNATTR_GETSIGMASK(3PPO)SIX Programmer's ManPuOaSlIX_SPAWNATTR_GETSIGMASK(3P)
2
3
4

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10

NAME

12       posix_spawnattr_getsigmask, posix_spawnattr_setsigmask -  get  and  set
13       the  spawn-sigmask  attribute  of  a  spawn attributes object (ADVANCED
14       REALTIME)
15

SYNOPSIS

17       #include <signal.h>
18       #include <spawn.h>
19
20       int posix_spawnattr_getsigmask(const posix_spawnattr_t *restrict attr,
21              sigset_t *restrict sigmask);
22       int posix_spawnattr_setsigmask(posix_spawnattr_t *restrict attr,
23              const sigset_t *restrict sigmask);
24
25

DESCRIPTION

27       The posix_spawnattr_getsigmask() function shall obtain the value of the
28       spawn-sigmask attribute from the attributes object referenced by attr.
29
30       The  posix_spawnattr_setsigmask()  function shall set the spawn-sigmask
31       attribute in an initialized attributes object referenced by attr.
32
33       The spawn-sigmask attribute represents the signal mask in effect in the
34       new  process  image  of a spawn operation (if POSIX_SPAWN_SETSIGMASK is
35       set in the spawn-flags attribute).  The default value of this attribute
36       is unspecified.
37

RETURN VALUE

39       Upon  successful  completion, posix_spawnattr_getsigmask() shall return
40       zero and store the value of the spawn-sigmask attribute  of  attr  into
41       the  object  referenced  by  the sigmask parameter; otherwise, an error
42       number shall be returned to indicate the error.
43
44       Upon successful completion, posix_spawnattr_setsigmask()  shall  return
45       zero;  otherwise,  an  error  number  shall be returned to indicate the
46       error.
47

ERRORS

49       These functions may fail if:
50
51       EINVAL The value specified by attr is invalid.
52
53
54       The posix_spawnattr_setsigmask() function may fail if:
55
56       EINVAL The value of the attribute being set is not valid.
57
58
59       The following sections are informative.
60

EXAMPLES

62       None.
63

APPLICATION USAGE

65       These functions are part of the Spawn option and need not  be  provided
66       on all implementations.
67

RATIONALE

69       None.
70

FUTURE DIRECTIONS

72       None.
73

SEE ALSO

75       posix_spawn(),    posix_spawnattr_destroy(),    posix_spawnattr_init(),
76       posix_spawnattr_getsigdefault(),            posix_spawnattr_getflags(),
77       posix_spawnattr_getpgroup(),           posix_spawnattr_getschedparam(),
78       posix_spawnattr_getschedpolicy(),      posix_spawnattr_setsigdefault(),
79       posix_spawnattr_setflags(),   posix_spawnattr_setpgroup(),  posix_spaw‐
80       nattr_setschedparam(),                posix_spawnattr_setschedpolicy(),
81       posix_spawnp(),  the  Base  Definitions volume of IEEE Std 1003.1-2001,
82       <signal.h>, <spawn.h>
83
85       Portions of this text are reprinted and reproduced in  electronic  form
86       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
87       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
88       Specifications  Issue  6,  Copyright  (C) 2001-2003 by the Institute of
89       Electrical and Electronics Engineers, Inc and The Open  Group.  In  the
90       event of any discrepancy between this version and the original IEEE and
91       The Open Group Standard, the original IEEE and The Open Group  Standard
92       is  the  referee document. The original Standard can be obtained online
93       at http://www.opengroup.org/unix/online.html .
94
95
96
97IEEE/The Open Group                  2003       POSIX_SPAWNATTR_GETSIGMASK(3P)
Impressum