exit.2

来自「unix v7是最后一个广泛发布的研究型UNIX版本」· 2 代码 · 共 40 行

2
40
字号
.TH EXIT 2 .SH NAMEexit \- terminate process.SH SYNOPSIS.B exit(status).br.B int status;.PP.B _exit(status).br.B int status;.SH DESCRIPTION.I Exitis the normal means of terminating a process..I Exitcloses all the process's files and notifies the parent processif it is executing a.IR wait .The low-order 8 bits of .I statusare available to the parent process..PPThis call can never return..PPThe C function.I exitmay cause cleanup actions before thefinal `sys exit'.The function.I _exitcircumvents all cleanup..SH "SEE ALSO"wait(2).SH ASSEMBLER(exit = 1.).br(status in r0).br.B sys exit

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?