⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 system.3

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 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 + -