代码搜索:waitpid
找到约 797 项符合「waitpid」的源代码
代码结果 797
www.eeworm.com/read/445617/7592468
c sigchldwaitpid.c
#include "unpipc.h"
void
sig_chld(int signo)
{
pid_t pid;
int stat;
while ( (pid = waitpid(-1, &stat, WNOHANG)) > 0)
;
return;
}
www.eeworm.com/read/445043/7600061
c wait.c
/*
* linux/lib/wait.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include // Linux 标准头文件。定义了各种符号常数和类型,并申明了各种函数。
// 如定义了__LIBRARY__,则还包括系统调用号和内嵌汇编_syscall0()等。
#include
www.eeworm.com/read/396741/8092090
c wait.c
/*
* linux/lib/wait.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include // Linux 标准头文件。定义了各种符号常数和类型,并申明了各种函数。
// 如定义了__LIBRARY__,则还包括系统调用号和内嵌汇编_syscall0()等。
#include
www.eeworm.com/read/243981/12901934
c wait.c
#define __LIBRARY__
#include
#include
_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid_t wait(int * wait_stat)
{
return waitpid(-1,wait_stat,0);
}
www.eeworm.com/read/329346/12958804
c wait.c
/*
* linux/lib/wait.c
*
* (C) 1991 Linus Torvalds
*
* 该程序包括函数waitpid()和wait()。这两个函数允许进程获取与其子进程之一的状态信息。
* 各种选项允许获取已经终止或停止的子进程状态信息。如果存在两个或两个以上子进程的状态
* 信息,则报告的顺序是不指定的。
* wait()将挂起当
www.eeworm.com/read/139294/13164120
c wait.c
#define __LIBRARY__
#include
#include
_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid_t wait(int * wait_stat)
{
return waitpid(-1,wait_stat,0);
}
www.eeworm.com/read/325151/13222813
c wait.c
#define __LIBRARY__
#include
#include
_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid_t wait(int * wait_stat)
{
return waitpid(-1,wait_stat,0);
}
www.eeworm.com/read/136565/13301067
c wait.c
#define __LIBRARY__
#include
#include
_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid_t wait(int * wait_stat)
{
return waitpid(-1,wait_stat,0);
}
www.eeworm.com/read/137612/13308832
c wait.c
#define __LIBRARY__
#include
#include
_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid_t wait(int * wait_stat)
{
return waitpid(-1,wait_stat,0);
}
www.eeworm.com/read/320714/13419233
c wait.c
/*
* linux/lib/wait.c
*
* (C) 1991 Linus Torvalds
*
* 该程序包括函数waitpid()和wait()。这两个函数允许进程获取与其子进程之一的状态信息。
* 各种选项允许获取已经终止或停止的子进程状态信息。如果存在两个或两个以上子进程的状态
* 信息,则报告的顺序是不指定的。
* wait()将挂起当