代码搜索:waitpid

找到约 797 项符合「waitpid」的源代码

代码结果 797
www.eeworm.com/read/127382/14356969

c shell1.c

#include #include #include "ourhdr.h" int main(void) { char buf[MAXLINE]; pid_t pid; int status; printf("%% "); /* print prompt (printf requires %% to prin
www.eeworm.com/read/226770/14452794

c wait_nohang.c

/* Public domain. */ #include #include #include "haswaitp.h" int wait_nohang(wstat) int *wstat; { #ifdef HASWAITPID return waitpid(-1,wstat,WNOHANG); #else return wait
www.eeworm.com/read/208760/15237730

c sigchldwaitpid.c

#include "unp.h" void sig_chld(int signo) { pid_t pid; int stat; while ( (pid = waitpid(-1, &stat, WNOHANG)) > 0) { printf("child %d terminated\n", pid); } return; }
www.eeworm.com/read/208758/15237765

c sigchldwaitpid.c

#include "unp.h" void sig_chld(int signo) { pid_t pid; int stat; while ( (pid = waitpid(-1, &stat, WNOHANG)) > 0) printf("child %d terminated\n", pid); return; }
www.eeworm.com/read/193717/8205913

c shell.c

#include #include #include"apue.h" int main(void) { char buf[MAXLINE]; pid_t pid; int status; char *p; char *argv[MAXLINE]; int i=0; printf("%% "
www.eeworm.com/read/292919/8324943

c shell1.c

#include "apue.h" #include int main(void) { char buf[MAXLINE]; /* from apue.h */ pid_t pid; int status; printf("%% "); /* print prompt (printf requires %% to print %) */ while (fg
www.eeworm.com/read/292919/8325036

7 fig1.7

#include "apue.h" #include int main(void) { char buf[MAXLINE]; /* from apue.h */ pid_t pid; int status; printf("%% "); /* print prompt (printf requires %% to print %) */ while (fg
www.eeworm.com/read/392544/8336515

c shell1.c

#include "apue.h" #include int main(void) { char buf[MAXLINE]; /* from apue.h */ pid_t pid; int status; printf("%% "); /* print prompt (printf requires %% to print %) */ while (fg
www.eeworm.com/read/392544/8336641

7 fig1.7

#include "apue.h" #include int main(void) { char buf[MAXLINE]; /* from apue.h */ pid_t pid; int status; printf("%% "); /* print prompt (printf requires %% to print %) */ while (fg
www.eeworm.com/read/269691/11083074

c shell1.c

#include "apue.h" #include int main(void) { char buf[MAXLINE]; /* from apue.h */ pid_t pid; int status; printf("%% "); /* print prompt (printf requires %% to print %) */ while (fg