wait.h
来自「ADS环境下的类似linux内核的操作系统」· C头文件 代码 · 共 24 行
H
24 行
/* MShowTec - www.mshowtec.com
** msLinux wait.h ver1.0
** 20051221 lmjx create limiao@mshowtec.com
**
*/
#ifndef MSLINUX_WAIT_H
#define MSLINUX_WAIT_H
#define _LOW(v) ( (v) & 0xff)
#define _HIGH(v) ( ((v) >> 8) & 0xff)
/* options for waitpid, WUNTRACED not supported */
#define WNOHANG 1
#define WUNTRACED 2
#define WIFEXITED(s) (!((s)&0xFF)
#define WIFSTOPPED(s) (((s)&0xFF)==0x7F)
#define WEXITSTATUS(s) (((s)>>8)&0xFF)
#define WTERMSIG(s) ((s)&0x7F)
#define WSTOPSIG(s) (((s)>>8)&0xFF)
#define WIFSIGNALED(s) (((unsigned int)(s)-1 & 0xFFFF) < 0xFF)
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?