Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ system(3S) — sys5 — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought



SYSTEM(3S)      DOMAIN/IX Reference Manual (SYS5)      SYSTEM(3S)



NAME
     system - issue a Shell command

USAGE
     #include <stdio.h>

     int system (string)
     char *string;

DESCRIPTION
     System passes string to sh(1) as input, as if the string had
     been typed as a command.  The current process waits until
     the Shell has completed, then returns the exit status of the
     Shell.

FILES
     /bin/sh

DIAGNOSTICS
     System forks to create a child process that in turn invokes
     /bin/sh in order to execute string.  If the fork or exec
     fails, system returns a negative value and sets errno.

RELATED INFORMATION
     sh(1), exec(2)






























Printed 5/10/85                                          SYSTEM-1



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