|
|
1.1 root 1: .TH SYSTEM 3
2: .CT 2 proc_man
3: .SH NAME
4: system \(mi issue a shell command
5: .SH SYNOPSIS
6: .nf
7: .B system(string)
8: .B char *string;
9: .fi
10: .SH DESCRIPTION
11: .I System
12: causes the command
13: \fLsh -c \fIstring\fR
14: to be executed.
15: The current process waits until the shell has
16: completed, then returns the exit status of the shell.
17: .SH "SEE ALSO"
18: .IR popen (3),
19: .IR exec (2),
20: .IR fork (2)
21: .SH DIAGNOSTICS
22: Exit status 127 indicates the shell couldn't be executed.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.