Guardian Procedure Calls Reference Manual

In the C spawnh file, the structure for the inheritance parameter is defined as:
typedef struct inheritance {
short flags;
#define SPAWN_SETGROUP 0x01 /* not used by PROCESS_SPAWN_ */
#define SPAWN_SETSIGMASK 0x02 /* controls child sigmask */
#define SPAWN_SETSIGDEF 0x04 /* controls child sigmask */
#define SPAWN_NOTDEFD 0xFFF8 /* undefined bit fields */
char filler_1[2];
pid_t pgroup;
sigset_t sigmask;
sigset_t sigdefault;
} inheritance
C programs must initialize the inheritance structure by setting the flags field to 0.
Z^FLAGS
specifies whether the Z^SIGMASK field or the Z^SIGDEFAULT field or both fields are specified.
The table summarize the settings for Z^FLAGS. TAL literals are defined in the ZSYSTAL file.
Literals in the zsysc file, for C programs, are the same as those for TAL except that they contain
the underscore (_) character instead of the circumflex (^) character.
DescriptionValueName (ZSYS^VAL^ )
indicates that Z^SIGDEFAULT is specified4SPAWN^SETSIGDEF
indicates that Z^SIGMASK is specified2SPAWN^SETSIGMASK
Either one or both of these values can be supplied:
Z^PGROUP
is not used by PROCESS_SPAWN_. Specify 0D.
Z^SIGMASK
is a mask indicating which signals are to be blocked by the new process when Z^FLAGS
contains ZSYS^VAL^SPAWN^SETSIGMASK. When Z^SIGMASK.<n> is set to 1, the signal
represented by bit <n> is blocked.
Z^SIGDEFAULT
is a mask indicating which signals are to use default action for the new process when Z^FLAGS
contains ZSYS^VAL^SPAWN^SETSIGDEF. When Z^SIGDEFAULT.<n> is set to 1, the signal
represented by bit <n> is used.
1104 Guardian Procedure Calls (P)