Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ system(3F) — UNIX 2.9BSD

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

execve(2)

wait(2)

system(3)

SYSTEM(3F)  —  Unix Programmer’s Manual

NAME

system − execute a unix command

SYNOPSIS

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 at a terminal.  If environment variable SHELL is not found, 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

SEE ALSO

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

BUGS

String can not be longer than 255 characters. 

7th Edition

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