代码搜索:PID

找到约 10,000 项符合「PID」的源代码

代码结果 10,000
www.eeworm.com/read/103256/15738623

cpp jiurlpdptsee.cpp

#include "JiurlPdPtSee.h" #include "JiurlCommon.h" void RedLight() { printf("["); printfcolor("\4",0xc); printf("]"); } void GreenLight() { printf("["); printfcolor("\4",0xa);
www.eeworm.com/read/102760/15759570

c pidopt.c

#include #include /**************************** entry: pid return: 0 FOUND -1 NOT FOUND *****************************/ test_pid( pid ) int pid; { FILE *fp; char buf[2
www.eeworm.com/read/102756/15759785

c pidopt.c

#include #include /**************************** entry: pid return: 0 FOUND -1 NOT FOUND *****************************/ test_pid( pid ) int pid; { FILE *fp; char buf[2
www.eeworm.com/read/100585/15870585

c fork1.c

#include #include "ourhdr.h" int glob = 6; /* external variable in initialized data */ char buf[] = "a write to stdout\n"; int main(void) { int var; /* automatic variable on the s
www.eeworm.com/read/100585/15870590

c zombie.c

#include "ourhdr.h" int main(void) { pid_t pid; if ( (pid = fork()) < 0) err_sys("fork error"); else if (pid == 0) /* child */ exit(0); /* parent */ sleep(4); system("ps"); exit(0); }
www.eeworm.com/read/100585/15870592

c vfork3.c

#include #include "ourhdr.h" static void f1(void), f2(void); int main(void) { f1(); f2(); _exit(0); } static void f1(void) { pid_t pid; if ( (pid = vfork()) < 0) err_sys("vfor
www.eeworm.com/read/100585/15870595

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 print %) */ wh
www.eeworm.com/read/100585/15870631

c child.c

#include #include #include static void sig_cld(); int main() { pid_t pid; if (signal(SIGCLD, sig_cld) == -1) perror("signal error"); if ( (pid = fork()) < 0
www.eeworm.com/read/100585/15870732

c pipe1.c

#include "ourhdr.h" int main(void) { int n, fd[2]; pid_t pid; char line[MAXLINE]; if (pipe(fd) < 0) err_sys("pipe error"); if ( (pid = fork()) < 0) err_sys("fork error"); else if (pid >
www.eeworm.com/read/100585/15870741

c devzero.c

#include #include #include #include "ourhdr.h" #define NLOOPS 1000 #define SIZE sizeof(long) /* size of shared memory area */ static int update(long *); int m