代码搜索:waitpid
找到约 797 项符合「waitpid」的源代码
代码结果 797
www.eeworm.com/read/221695/14728080
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 *,w
www.eeworm.com/read/120089/14813035
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/218591/14914382
c wait.c
/*
* linux/lib/wait.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include // Linux 标准头文件。定义了各种符号常数和类型,并申明了各种函数。
// 如定义了__LIBRARY__,则还包括系统调用号和内嵌汇编_syscall0()等。
#include
www.eeworm.com/read/217300/14970006
c p6-10.c
#include
#include "err_exit.h"
int main(void)
{
pid_t pid;
if ((pid = fork()) < 0)
err_exit("fork error");
else if (pid == 0) { /* 第一个子进程 */
/*
www.eeworm.com/read/216437/15014046
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/212498/15155546
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/210000/15209942
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/209081/15227476
c wait.c
/*
* linux/lib/wait.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include // Linux 标准头文件。定义了各种符号常数和类型,并申明了各种函数。
// 如定义了__LIBRARY__,则还包括系统调用号和内嵌汇编_syscall0()等。
#include
www.eeworm.com/read/207820/15261386
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/473341/6851348
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