Guardian Procedure Calls Reference Manual
Z^UMASK
is the OSS file mode creation mask of the new process. A value of -1 indicates that the OSS
file mode creation mask of the calling process is used. For more information see the umask()
function reference page either online or in the Open System Services System Calls Reference
Manual.
Z^CWD
is the address of a string containing the null-terminated OSS pathname of the OSS current
working directory of the new process. A value of 0D indicates that the OSS current working
directory of the calling process is used. If the caller does not have a current working directory,
then the caller's default volume is used. An absolute pathname must be specified, because
relative file names are resolved using the undefined environment of the new process.
Z^FDCOUNT
is the number of Z^FDENTRY substructures occurring in the structure. Each substructure specifies
a file descriptor to be opened or duplicated by the new process.
Z^FDENTRY
describes a file descriptor in these fields.
Z^FD
is the file descriptor to be opened. Z^FD can have these values:
standard input0D
standard output1D
standard error2D
user-definedother
Z^DUPFD
indicates whether the file descriptor specified in Z^FD is to be opened as a duplicate with
the OSS dup() function. Z^DUPFD can have these values:
This file descriptor is a duplicate of a file descriptor previously specified in Z^FD.> 0D
This file descriptor is not a duplicate. Open the file descriptor with the OSS open() function
according to the values in these fields.
= -1D
Z^NAME
is the address of a string containing the null-terminated OSS pathname of the file to be
opened by the new process. It must be possible to open this file with the OSS open()
function. A relative pathname is resolved with the value for the OSS current working directory
in Z^CWD.
To have the new process open a pipe, specify a named pipe (also known as a FIFO) in
the Z^NAME field. To create a FIFO, use the OSS mkfifo() function.
Z^OFLAG
is the file access flag and file status flag to be used by the OSS open() function called
by the new process. This field is ignored when the file is opened as a duplicate. For more
information on these flags, see the open() reference page either online or in the Open
System Services System Calls Reference Manual.
These tables summarize the values for Z^OFLAG. 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.
1102 Guardian Procedure Calls (P)