sys_exit.c
来自「minix操作系统最新版本(3.1.1)的源代码」· C语言 代码 · 共 18 行
C
18 行
#include "syslib.h"/*===========================================================================* * sys_exit * *===========================================================================*/PUBLIC int sys_exit(proc)int proc; /* which process has exited */{/* A process has exited. PM tells the kernel. In addition this call can be * used by system processes to directly exit without passing through the * PM. This should be used with care to prevent inconsistent PM tables. */ message m; m.PR_PROC_NR = proc; return(_taskcall(SYSTASK, SYS_EXIT, &m));}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?