⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wait.h

📁 著名操作系统Plan 9的第三版的部分核心源代码。现在很难找到了。Plan 9是bell实验室开发的Unix后继者。
💻 H
字号:
#ifndef __WAIT_H#define __WAIT_H#pragma lib "/$M/lib/ape/libap.a"/* flag bits for third argument of waitpid */#define WNOHANG		0x1#define WUNTRACED	0x2/* macros for examining status returned */#define WIFEXITED(s)	(((s) & 0xFF) == 0)#define WEXITSTATUS(s)	((s>>8)&0xFF)#define WIFSIGNALED(s)	(((s) & 0xFF) != 0)#define WTERMSIG(s)	((s) & 0xFF)#define WIFSTOPPED(s)	(0)#define WSTOPSIG(s)	(0)#ifdef __cplusplusextern "C" {#endifpid_t wait(int *);pid_t waitpid(pid_t, int *, int);#ifdef __cplusplus}#endif#endif

⌨️ 快捷键说明

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