if(WIFEXITED(STATUS)) printf(childprocess exited with code %d\n",WEXITSTATUS(status));什么意思?
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/01 06:41:28
![if(WIFEXITED(STATUS)) printf(childprocess exited with code %d\n](/uploads/image/z/10809484-52-4.jpg?t=if%28WIFEXITED%28STATUS%29%29+printf%28childprocess+exited+with+code+%25d%5Cn%22%2CWEXITSTATUS%28status%29%29%3B%E4%BB%80%E4%B9%88%E6%84%8F%E6%80%9D%3F)
if(WIFEXITED(STATUS)) printf(childprocess exited with code %d\n",WEXITSTATUS(status));什么意思?
if(WIFEXITED(STATUS)) printf(childprocess exited with code %d\n",WEXITSTATUS(status));什么意思?
if(WIFEXITED(STATUS)) printf(childprocess exited with code %d\n",WEXITSTATUS(status));什么意思?
if(WIFEXITED(STATUS)) printf(childprocess exited with code %d\n",WEXITSTATUS(status));
WIFEXITED(STATUS)应该是去判断一种状态,若此状态不为0,则去输出这种状态的值.即WIFEXITED(STATUS)的值.
printf(childprocess exited with code %d\n",WEXITSTATUS(status));
此句你很printf(处应该有一个引号(").