Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

popen(3S)

execve(2)

wait(2)



SYSTEM(3)               DOMAIN/IX BSD4.2                SYSTEM(3)



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 exe-
     cuted.

RELATED INFORMATION
     popen(3S), execve(2), wait(2)

































Printed 12/4/86                                          SYSTEM-1





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