?? system.3
字號:
.\" SCCSID: @(#)system.3 6.3 8/30/89.TH system 3.SH Namesystem \- issue a shell command .SH Syntax.nf.B system(\fIstring\fP).B char *\fIstring\fP;.fi.SH Description.NXR "system subroutine (standard C)".NXR "shell command" "issuing"If the.I stringargument is the NULL pointer (0) the.PN systemfunction tests the accessibility ofthe command interpreter.MS sh 1 .The function will return zero for failure to find the commandinterpreter, and positive if successful..PPIf the.I stringargument is non-NULL the.PN systemroutine causes the.I stringto be given to .MS sh 1as 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 in the form that.MS wait 2returns..SH DiagnosticsExit status 127 indicates the shell couldn't be executed..SH See Alsoexecve(2), wait(2), popen(3)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -