示例#1
0
static int wait_for_child_process(void) {
    int status = 0;
    ignore_ctrl_c();
    wait(&status);
    allow_ctrl_c();
    return status;
}
示例#2
0
文件: unit.c 项目: jorgenpt/cgreen
static void wait_for_child_process() {
    int status;
    ignore_ctrl_c();
    wait(&status);
    allow_ctrl_c();
}