Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ system(3F) — Ultrix-32 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exec(2)

wait(2)

system(3)

SYSTEM(3F)

NAME

system − execute a ULTRIX command

SYNTAX

integer function system (string)
character*(*) string

DESCRIPTION

System causes string to be given to your shell as input as if the string had been typed as a command.  If environment variable SHELL is found, its value will be used as the command interpreter (shell); otherwise sh(1) is used.

The current process waits until the command terminates.  The returned value will be the exit status of the shell.  See wait(2) for an explanation of this value.

FILES

/usr/lib/libU77.a

RESTRICTIONS

String cannot be longer than NCARGS_50 characters, as defined in <sys/param.h>.

SEE ALSO

exec(2), wait(2), system(3)

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