system.3
来自「Unix操作系统minix 2.0源码」· 3 代码 · 共 31 行
3
31 行
.\" @(#)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 + =
减小字号Ctrl + -
显示快捷键?