SYSCALLS/PGM - program manager calls 1985/05/01
Include files:
Fortran: /sys/ins/pgm.ins.ftn
Pascal: /sys/ins/pgm.ins.pas
Procedures and Functions:
PGM_$DEL_ARG (arg-number)
Deletes a command line argument.
PGM_$EXIT
Exits from a program to its caller.
arg-length = PGM_$GET_ARG (arg-number, argument, status, maxlen)
Returns one argument from the command line.
PGM_$GET_ARGS (argument-count, arg-vector-addr)
Returns the address of the argument vector.
PGM_$GET_EC (process-handle, process_key, eventcount_pointer, status)
Gets an event count to wait for completion of a child process.
PGM_$GET_PUID (process-handle, puid, status)
Gets the process uid of a process.
PGM_$INVOKE (pathname, namelength, arg-count, arg-vector, stream-count,
connection-vector, mode, process-handle, status)
Invokes a program.
PGM_$MAKE_ORPHAN (process-handle, puid, status)
Changes a normal child process into an orphan process.
PGM_$PROC_WAIT (process-handle, status)
Waits for a process that has been created using PGM_$INVOKE to
terminate and returns a completion status for the process.
PGM_$SET_SEVERITY (severity-level)
Sets the severity level for a program.