代码搜索:waitpid
找到约 797 项符合「waitpid」的源代码
代码结果 797
www.eeworm.com/read/110160/15540932
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)
www.eeworm.com/read/107118/15612530
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/105179/15675798
c wait.c
/*
* linux/lib/wait.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
#define __LIBRARY__
#include
#include
_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,i
www.eeworm.com/read/104342/15697886
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/100584/15871049
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/100573/15871594
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/291779/8395870
h wait.h
#ifndef _SYS_WAIT_H
#define _SYS_WAIT_H
#include
#define _LOW(v) ( (v) & 0377) // 取低字节(8 进制表示)。
#define _HIGH(v) ( ((v) >> 8) & 0377) // 取高字节。
/* options for waitpid, WUNTRACED not su
www.eeworm.com/read/291779/8396519
h wait.h
#ifndef _SYS_WAIT_H
#define _SYS_WAIT_H
#include
#define _LOW(v) ( (v) & 0377) // 取低字节(8 进制表示)。
#define _HIGH(v) ( ((v) >> 8) & 0377) // 取高字节。
/* options for waitpid, WUNTRACED not su
www.eeworm.com/read/365428/9863684
h wait.h
#ifndef _SYS_WAIT_H
#define _SYS_WAIT_H
#include
#define _LOW(v) ( (v) & 0377) // 取低字节(8 进制表示)。
#define _HIGH(v) ( ((v) >> 8) & 0377) // 取高字节。
/* options for waitpid, WUNTRACED not su
www.eeworm.com/read/469281/6980041
h wait.h
#ifndef _SYS_WAIT_H
#define _SYS_WAIT_H
#include
#define _LOW(v) ( (v) & 0377) // 取低字节(8 进制表示)。
#define _HIGH(v) ( ((v) >> 8) & 0377) // 取高字节。
/* options for waitpid, WUNTRACED not su