sys_fork.c
来自「minix操作系统最新版本(3.1.1)的源代码」· C语言 代码 · 共 15 行
C
15 行
#include "syslib.h"PUBLIC int sys_fork(parent, child)int parent; /* process doing the fork */int child; /* which proc has been created by the fork */{/* A process has forked. Tell the kernel. */ message m; m.PR_PPROC_NR = parent; m.PR_PROC_NR = child; return(_taskcall(SYSTASK, SYS_FORK, &m));}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?