Guardian Procedure Calls Reference Manual
fdinfo
input
STRING .EXT:ref:(ZSYS^DDL^FDINFO)
specifies the file creation mask, current working directory, and file descriptors to be opened
or duplicated by the new process. This parameter also allows the caller to limit the time allowed
for the child process to open all of its files. If the pathnames are absolute pathnames, they are
resolved relative to the child's root. If the pathnames are relative pathnames, they are resolved
relative to the child's current working directory. For information on how to assign field values
to the structure, see Structure Definitions for fdinfo (page 1100).
argv
input
EXTADDR .EXT:ref:1
if present and not equal to 0D, specifies the address of an array of addresses that point to
null-terminated strings containing arguments to be passed to the main function of the new
process. The last member of this array must be a null pointer (0D). Most programs expect
argv[0] to point to a null-terminated string containing the pathname of the OSS program file
(use the address of the oss-program-file parameter). The argument (argv) string is passed
to the child unmodified by PROCESS_SPAWN_.
The number of bytes available for the new process' combined argument (argv) and environment
(envp) lists has a system-imposed limit. This limit, which includes the pointers and the null
terminators on the strings, is available by calling the OSS sysconf(_SC_ARG_MAX) function.
envp
input
EXTADDR .EXT:ref:1
if present and not equal to 0D, specifies the address of an array of addresses that point to
null-terminated strings that describe the environment of the new process. The last member of
this array must be a null pointer (0D). The environment (envp) string is passed to the child
unmodified by the PROCESS_SPAWN_ procedure. Most programs expect these strings to have
this syntax:
name = value
The number of bytes available for the new process' combined argument (argv) and environment
(envp) lists has a system-imposed limit. This limit, which includes the pointers and the null
terminators on the strings, is available by calling the OSS sysconf(_SC_ARG_MAX) function.
inheritance
input
STRING .EXT:ref:(ZSYS^DDL^INHERITANCE)
if inheritance-length is not zero, specifies which signals are either blocked or use default
action for the new process. For information on how to assign field values to the structure, see
Structure Definitions for inheritance (page 1103).
inheritance-length
input
INT(32):value
specifies the length in bytes of inheritance. This parameter is required if inheritance is
specified.
1098 Guardian Procedure Calls (P)