Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (N)
Guardian Procedure Calls Reference Manual—522629-013
10-19
NEWPROCESS Procedure
(Superseded by PROCESS_LAUNCH_ Procedure )
If library-file:
•
is specified, unresolved external references are resolved first from the 
specified 
library-file, then from the system library.
•
is specified and library-file[0] is 0 (binary), then the library file used by 
the process when it was last run is removed, and the process runs with no 
library file. (The references that were previously resolved on the user library 
are resolved on the system library.)
•
is not specified, the program runs with the library file previously associated with 
the program file, if any. For TNS and non-PIC native programs, but not for PIC 
programs, that association can be changed by running the program with a 
specified library (or by specifying none). The association can be set by the 
Binder or linker. Refer to the 
Binder Manual for more information about TNS 
user libraries. Refer to the 
nld and noft Manual for more information about 
TNS/R native user libraries and shared run-time libraries. Refer to the 
eld 
Manual and the enoft Manual for more information about TNS/E native user 
libraries and shared run-time libraries. Refer to the 
ld and rld Reference 
Manual for more information about dynamic-link libraries (including native user 
libraries used with PIC programs). 
For TNS processes on RVUs preceding the D42 RVU, if 
swap-file:
•
is specified and a file of that name exists, that file is used for memory swapping 
of the user data stack during execution of the process; if no file of that name 
exists, a file of that name and of the necessary size is created and used for 
swapping.
•
is not specified, a =_DEFAULTS DEFINE swap-file is used if available, 
otherwise a temporary file is created on the disk where the program file 
resides.
•
specifies only the disk device name (filling the rest of the file name with 
blanks), a temporary file is created on the specified disk device.
•
Creation of the backup of a named process pair
If the backup of a named process pair is created, the backup process becomes the 
“creator” of the primary (that is, the caller to NEWPROCESS).
•
Program file and user library file differences
A “user library” is an object file containing one or more procedures. The difference 
between a program file and a library file is that the library file cannot contain a main 
procedure. Undefined externals from a library are resolved only from the system 
library. A program file must contain a main procedure. Refer to the 
Binder Manual 
for more information about TNS user libraries. Refer to the 
nld and noft Manual for 
more information about TNS/R native user libraries and shared run-time libraries. 
Refer to the 
nld and noft Manual for more information about TNS/E native user 
libraries and shared run-time libraries. Refer to the 
ld and rld Reference Manual 
for more information about dynamic-link libraries (including native user libraries 










