Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual522629-013
12-176
PROCESS_SPAWN_ Procedure
Z^MODE
is the read, write, and execute permissions of the file to be created when
Z^OFLAG is set to ZSYS^VAL^OSSOPEN^CREAT. Otherwise, Z^MODE is
ignored. For more information on file permissions, refer to the OSS
open()
reference page either online or in the
Open System Services System Calls
Reference Manual.
Structure Definition for inheritance
The inheritance parameter specifies which signals are blocked or use default
action for the new process. For more information on OSS signals, refer to the signal(4)
reference page either online or in the
Open System Services System Calls Reference
Manual.
In the TAL ZSYSTAL file, the structure for the
inheritance pa r a m e t e r i s d e f i n e d a s :
For TAL programs, the following default value must be specified when this parameter is
not wanted:
OSSOPEN^NONBLOC
K
1638
4
Open for nonblocked
access
O_NONBLOCK
OSSOPEN^SYNC 6553
6
Open for synchronized
update
O_SYNC
OSSOPEN^TRUNC 16 Open and empty the
file
O_TRUNC
STRUCT ZSYS^DDL^INHERITANCE^DEF (*);
BEGIN
INT Z^FLAGS;
INT Z^FILLER;
INT(32) Z^PGROUP;
INT(32) Z^SIGMASK;
INT(32) Z^SIGDEFAULT;
END;
Field Name Default Value
Z^FLAGS 0
Name (ZSYS^VAL^ ) Value Description
Corresponding
open() Flag