📄 system.3
字号:
.\" @(#)system.3 6.1 (Berkeley) 5/15/85.\".TH SYSTEM 3 "May 15, 1985".AT 3.SH NAMEsystem \- issue a shell command.SH SYNOPSIS.nf.ft B#include <stdlib.h>int system(const char *\fIstring\fP).fi.SH DESCRIPTION.B Systemcauses the.I stringto be given to.BR sh (1)as input as if the string had been typed as a commandat a terminal.The current process waits until the shell hascompleted, then returns the exit status of the shell..SH "SEE ALSO".BR sh (1),.BR popen (3),.BR execve (2),.BR wait (2)..SH DIAGNOSTICSExit status 127 indicates the shell couldn't be executed.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -