代码搜索:PID

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

代码结果 10,000
www.eeworm.com/read/421459/6311629

6 fig10.6

#include "apue.h" #include static void sig_cld(int); int main() { pid_t pid; if (signal(SIGCLD, sig_cld) == SIG_ERR) perror("signal error"); if ((pid = fork()) < 0) { perror("fo
www.eeworm.com/read/421459/6311661

5 fig15.5

#include "apue.h" int main(void) { int n; int 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 (
www.eeworm.com/read/307116/6332170

lkv debug.lkv

-z -q -c -heap0x400 -m"./Debug/time.map" -o"./Debug/time.out" -stack0x500 -w -x -i"../../DSP281x_headers/include" -i"C:/ti/c2000/bios/lib" -i"C:/ti/c2000/rtdx/lib" -i"C:/ti/c2000/cgtools/lib" -l"rts28
www.eeworm.com/read/186523/6344086

cpp util.cpp

#include #include #include #include #include "util.h" int loadmodule (char *module) { pid_t pid; char *my_argv[4] = {INSMOD_PROG, module, NULL}; c
www.eeworm.com/read/372802/6348425

h regelung.h

#ifndef _Regelung_h #define _Regelung_h #include "global.h" //globale Variablen //Parameter //----------------------------------------------------------------------------------------- cons
www.eeworm.com/read/494691/6360185

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/494691/6360190

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/494691/6360192

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/494691/6360195

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/494691/6360231

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