Guardian Procedure Calls Reference Manual

If the process ID is to be passed to any of the appropriate file-system procedures that accept
file names, such as OPEN, use a 12-word array. The procedure will fill in only the first 4 words,
and the user must blank-fill the other 8.
process-id is not used by NEWPROCESSNOWAIT calls.
error
output
INT:ref:1
returns two error code values indicating the outcome of the process creation attempt. The values
each occupy one byte in a 16-bit word as follows:
errorerror.<0:7>
error-detail (provides additional information about the error)error.<8:15>
If either byte of the error value exceeds 255 (will not fit in eight bits), it is reported as 119.
If theerror.<0:7> value exceeds 255, both eight-bit fields may contain 119. Because of the
limited capacity of this parameter, it has been superseded by the errinfo parameter, which
returns the full 16-bit value of each error value.
Error Codes and Subcodes (page 852) summarizes the error and error-detail values that can
be returned by NEWPROCESS[NOWAIT].
name
input
INT:ref:3
if present, is a name to be given to the new process. It is entered into the destination control
table (DCT). name is of the form:
name[0:2] = $process-name
process-name must be preceded by a dollar sign ("$") and consists of a maximum of five
alphanumeric characters; the first character must be alphabetic. (If the process is created on
a remote system and it is necessary to be able to access the process, its name must consist of,
at most, four characters and the "$"; this leaves a byte for the system to insert the node number.)
Note that $process-name is the first three words of the four-word process ID.
If name is not supplied, the process ID of the new process is of the unnamed form, containing
a timestamp in words [0:2] instead of $process-name, with the cpu,pin of the new process
in the fourth word. The process-name will not be entered into the DCT.
hometerm
input
INT:ref:12
is the internal-format file name of the home terminal for the new process. The specified value
must designate a terminal or a process. The default is the home terminal of the caller.
flags
input
INT:value
flags.<10:12> are used to supply the DEFINE mode for the new process:
Use the DEFINE mode of caller0flags.<10>
Use value in flags.<12>1
DEFINEs disabled0flags.<12>
DEFINEs enabled1
850 Guardian Procedure Calls (N)