1 Star 0 Fork 0

westtide/xv6-westtide

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
zombie.c 214 Bytes
一键复制 编辑 原始数据 按行查看 历史
Frans Kaashoek 提交于 2016-08-25 09:13 . Remove trailing white space with:
// Create a zombie process that
// must be reparented at exit.
#include "types.h"
#include "stat.h"
#include "user.h"
int
main(void)
{
if(fork() > 0)
sleep(5); // Let child exit before parent.
exit();
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/westtide/xv6-westtide.git
git@gitee.com:westtide/xv6-westtide.git
westtide
xv6-westtide
xv6-westtide
master

搜索帮助

A270a887 8829481 3d7a4017 8829481