Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ system.bsd(3S) — Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh(1)

exec(2)

SYSTEM(3S)

NAME

system − issue a shell command

USAGE

system(string) char *string;

DESCRIPTION

System causes string to be sent to sh(1) as input, as if string had been typed at a shell prompt by a user.  The current process waits until the shell has completed, then returns the exit status of the shell. 

DIAGNOSTICS

Exit status 127 indicates that the shell couldn’t be executed. 

RELATED INFORMATION

sh(1), exec(2)

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