代码搜索:fork

找到约 4,354 项符合「fork」的源代码

代码结果 4,354
www.eeworm.com/read/482748/6622053

c execl.c

#include #include #include int main() { if(fork()==0){ if(execl("/bin/ps","ps","-ef",NULL)
www.eeworm.com/read/482748/6622061

c kill.c

#include #include #include #include #include int main() { pid_t pid; int ret; if((pid=fork())
www.eeworm.com/read/476941/6743308

c forktest.c

// Test that fork fails gracefully. // Tiny executable so that the limit can be filling the proc table. #include "types.h" #include "stat.h" #include "user.h" void printf(int fd, char *s, ...) { w
www.eeworm.com/read/264895/11295367

c zombie.c

#include #include #include int main() { pid_t pid; if((pid = fork()) < 0){ perror("fork"); /*子进程1*/ }else if(pid == 0){ if((pid = fork()) < 0
www.eeworm.com/read/405316/11466469

c kill.c

#include #include #include #include #include int main() { pid_t pid; int ret; if((pid=fork())
www.eeworm.com/read/404613/11481464

c mywaitpid.c

#include #include #include #include #include int main() { pid_t pc[2],pr; pr=0; int i; for(i=0;i
www.eeworm.com/read/404613/11481480

c waitpid.c

#include #include #include #include #include int main() { pid_t pc,pr; pc=fork(); if(pc
www.eeworm.com/read/404613/11481489

c kill.c

#include #include #include #include #include int main() { pid_t pid; int ret; if((pid=fork())
www.eeworm.com/read/404612/11481508

c mywaitpid.c

#include #include #include #include #include int main() { pid_t pc[2],pr; pr=0; int i; for(i=0;i
www.eeworm.com/read/404612/11481523

c waitpid.c

#include #include #include #include #include int main() { pid_t pc,pr; pc=fork(); if(pc