什么是“W”的助记符,即“W”在以下宏中的含义:
int WIFEXITED (int status)
int WEXITSTATUS (int status)
int WIFSIGNALED (int status)
int WTERMSIG (int status)
int WCOREDUMP (int status)
int WIFSTOPPED (int status)
int WSTOPSIG (int status)
答案 0 :(得分:11)
我怀疑这是wait
。这些常量适用于wait
,waitpid
等函数提供的状态。
答案 1 :(得分:11)
它只与 W 相关,如waitpid系统调用等。{/ p>