代码搜索:waitpid
找到约 797 项符合「waitpid」的源代码
代码结果 797
www.eeworm.com/read/174274/9598633
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/415805/11052527
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/268597/11131211
c wait.c
/*
* linux/lib/wait.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
#include
_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid_t wait(i
www.eeworm.com/read/147710/12535361
c wait.c
/*
* linux/lib/wait.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
#include
_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid_t wait(i
www.eeworm.com/read/334243/12615467
c wait.c
/*
* linux/lib/wait.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include // Linux 标准头文件。定义了各种符号常数和类型,并申明了各种函数。
// 如定义了__LIBRARY__,则还包括系统调用号和内嵌汇编_syscall0()等。
#include
www.eeworm.com/read/135486/13926558
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/203858/15350749
c wait.c
/*
* linux/lib/wait.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
#include
_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid_t wait(i
www.eeworm.com/read/113863/15446474
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/111947/15499672
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/110649/15527947
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);
}