1posix_spawnattr_getsigignoSrtea_nndpa(r3dC)C LibrarypFousnicxt_isopnaswnattr_getsigignore_np(3C)
2
3
4

NAME

6       posix_spawnattr_getsigignore_np,  posix_spawnattr_setsigignore_np - get
7       and set spawn-sigignore attribute of spawn attributes object
8

SYNOPSIS

10       #include <signal.h>
11       #include <spawn.h>
12
13       int posix_spawnattr_getsigignore_np(
14            const posix_spawnattr_t *restrict attr,
15            sigset_t *restrict sigignore);
16
17
18       int posix_spawnattr_setsigignore_np(
19            posix_spawnattr_t *restrict attr,
20            const sigset_t *restrict sigignore);
21
22

DESCRIPTION

24       The posix_spawnattr_getsigignore_np() function obtains the value of the
25       spawn-sigignore  attribute  from  the  attributes  object referenced by
26       attr.
27
28
29       The posix_spawnattr_setsigignore_np() function sets the spawn-sigignore
30       attribute in an initialized attributes object referenced by attr.
31
32
33       The  spawn-sigignore  attribute  represents  the  set  of signals to be
34       forced to be ignored in the  new  process  image  (if  POSIX_SPAWN_SET‐
35       SIGIGN_NP  is  set  in the spawn-flags attribute) by a spawn operation.
36       The default value of this attribute is an empty signal set.
37

RETURN VALUES

39       Upon successful completion, posix_spawnattr_getsigignore_np() returns 0
40       and  stores the value of the spawn-sigignore attribute of attr into the
41       object referenced by the  sigignore  parameter.   Otherwise,  an  error
42       value is returned to indicate the error.
43
44
45       Upon  successful  completion, posix_spawnattr_setsigignore_np() returns
46       0.  Otherwise, an error value is returned to indicate the error.
47

ERRORS

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

ATTRIBUTES

61       See attributes(5) for descriptions of the following attributes:
62
63
64
65
66       ┌─────────────────────────────┬─────────────────────────────┐
67       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
68       ├─────────────────────────────┼─────────────────────────────┤
69       │Interface Stability          │Committed                    │
70       ├─────────────────────────────┼─────────────────────────────┤
71       │MT-Level                     │MT-Safe                      │
72       └─────────────────────────────┴─────────────────────────────┘
73

SEE ALSO

75       posix_spawn(3C),   posix_spawnattr_destroy(3C),    posix_spawnattr_get‐
76       flags(3C),   posix_spawnattr_getpgroup(3C),   posix_spawnattr_getsched‐
77       param(3C),   posix_spawnattr_getschedpolicy(3C),   posix_spawnattr_set‐
78       sigdefault(3C), posix_spawnattr_setsigmask(3C), attributes(5)
79

NOTES

81       The  POSIX_SPAWN_SETSIGIGN_NP  flag  and  the posix_spawnattr_getsigig‐
82       nore_np() and posix_spawnattr_setsigignore_np() functions are  non-por‐
83       table  Solaris  extensions  to  the  posix_spawn(3C) and posix_spawnp()
84       interfaces.
85
86
87
88SunOS 5.11                        28 Oct 200p8osix_spawnattr_getsigignore_np(3C)
Impressum