Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ system(3f) — Ultrix/UWS 4.0 VAX

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

execve(2)

wait(2)

system(3)

system(3f)  —  VAX  —  Unsupported

Name

system − execute an ULTRIX command

Syntax

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

Description

The system routine 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() is used.

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

Restrictions

The string cannot be longer than NCARGS_R50 characters, as defined in <sys/param.h>. 

Files

/usr/lib/libU77.a

See Also

execve(2), wait(2), system(3)

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