File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / man / man3 / system.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

.TH SYSTEM 3 "19 January 1983"
.SH NAME
system \- issue a shell command
.SH SYNOPSIS
.nf
.B system(string)
.B char *string;
.fi
.SH DESCRIPTION
.I System
causes the
.I string
to be given to
.IR  sh (1)
as input as if the string had been typed as a command
at a terminal.
The current process waits until the shell has
completed, then returns the exit status of the shell.
.SH "SEE ALSO"
popen(3S),
execve(2),
wait(2)
.SH DIAGNOSTICS
Exit status 127 indicates the shell couldn't be executed.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.