www_wait.h

来自「elinks下lynx是最重要的二个文本浏览器, 在linux下非常实用, ly」· C头文件 代码 · 共 35 行

H
35
字号
#ifndef WWW_WAIT_H#define WWW_WAIT_H 1#include <HTUtils.h>#ifdef HAVE_SYS_WAIT_H#include <sys/wait.h>#endif#ifndef WEXITSTATUS# ifdef HAVE_TYPE_UNIONWAIT#  define	WEXITSTATUS(status)	(status.w_retcode)# else#  define	WEXITSTATUS(status)	(((status) & 0xff00) >> 8)# endif#endif#ifndef WTERMSIG# ifdef HAVE_TYPE_UNIONWAIT#  define	WTERMSIG(status)	(status.w_termsig)# else#  define	WTERMSIG(status)	((status) & 0x7f)# endif#endif#ifndef WSTOPSIG# ifdef HAVE_TYPE_UNIONWAIT#  define	WSTOPSIG(status)	(status.w_stopsig)# else#  define	WSTOPSIG(status)	WEXITSTATUS(status)# endif#endif#endif /* WWW_WAIT_H */

⌨️ 快捷键说明

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