sys_xit.c

来自「操作系统源代码」· C语言 代码 · 共 21 行

C
21
字号
#include "syslib.h"PUBLIC int sys_xit(parent, proc, basep, sizep)int parent;			/* parent of exiting process */int proc;			/* which process has exited */phys_clicks *basep;		/* where to return base of shadow [68000] */phys_clicks *sizep;		/* where to return size of shadow [68000] */{/* A process has exited.  Tell the kernel. */  message m;  int r;  m.m1_i1 = parent;  m.m1_i2 = proc;  r = _taskcall(SYSTASK, SYS_XIT, &m);  *basep = (phys_clicks) m.m1_i1;  *sizep = (phys_clicks) m.m1_i2;  return(r);}

⌨️ 快捷键说明

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