Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought


SYSCALLS/PGM - program manager calls     81/11/10


Include files:

    Fortran:    /sys/ins/pgm.ins.ftn
    Pascal:     /sys/ins/pgm.ins.pas


Procedures and Functions:

    pgm_$del_arg (arg_number)
        Deletes an argument.

    pgm_$exit
        Exits and returns to the program's caller, usually the shell.

    pgm_$get_arg (arg_number, argument, status, maxlen), arglength = ...
        Returns the specified argument from the programs caller.  Shell command
        line arguments are numbered 0 thru 10.

    pgm_$get_args (argument_count, status)
        Returns the address of the argument vector and the number of arguments
        therein.

    pgm_$invoke (pathname, namelength, argc, argv, connc, connv, mode,
                 ec, status)
        Invokes a program, given its name, arguments, and stream connections.

    pgm_$set_severity (severity_level)
        Sets the return severity level.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026