代码搜索:fork

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

代码结果 4,354
www.eeworm.com/read/340238/12171217

c my.c

#include #include #include #include #include int p1,p2,p3; int main (void) { if((p1=fork())==0) { execv("./1",NULL); } if((p2=fork(
www.eeworm.com/read/251351/12350604

pas idcoderbinhex4.pas

{ $HDR$} {**********************************************************************} { Unit archived using Team Coherence } { Team Coherence is Copyright 2002 by Qual
www.eeworm.com/read/233704/14142731

bak ex4.v.bak

module ex4; reg a,b,c; initial fork a=0;b=1;c=0; #5 c
www.eeworm.com/read/233704/14142810

v ex4.v

module ex4; reg a,b,c; initial fork a=0;b=1;c=0; #5 c
www.eeworm.com/read/130781/14174334

c whotofile.c

/* whotofile.c * purpose: show how to redirect output for another program * idea: fork, then in the child, redirect output, then exec */ #include main() { int pid ; int fd; printf
www.eeworm.com/read/130700/14177180

c 1.1.c

#include main( ) { int p1,p2; while((p1=fork( ))== -1); /*创建子进程p1*/ if (p1==0) putchar('b'); else { while((p2=fork( ))== -1); /*创建子进程p2*/ if(p2==0) putchar('c')
www.eeworm.com/read/229459/14337288

c waitpid.c

/*waitpid.c*/ #include #include #include #include #include int main() { pid_t pc,pr; pc=fork(); if(pc
www.eeworm.com/read/229459/14337290

c execlp.c

#include #include #include int main() { if(fork()==0){ if(execlp("ps","ps","-ef",NULL)
www.eeworm.com/read/229459/14337297

c execl.c

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

c kill.c

#include #include #include #include #include int main() { pid_t pid; int ret; if((pid=fork())