代码搜索:PID

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

代码结果 10,000
www.eeworm.com/read/294559/8218543

c speed_reg.c

#define PWM_MAX 0x3f0 #define PWM_MIN 0x010 #include "2407bit.h" #include "2407e.h" #include "Speed_Reg.h" extern PIDREG1 pid0; void EVA_PWM1_Init(SPEEDPID *speed1) { //Pwm Ini
www.eeworm.com/read/294356/8237717

c demon.c

#include #include #include #include #include #include "demon.h" void init_demon(void) { int i; for (i=0; i
www.eeworm.com/read/292919/8324689

c threadid.c

#include "apue.h" #include pthread_t ntid; void printids(const char *s) { pid_t pid; pthread_t tid; pid = getpid(); tid = pthread_self(); printf("%s pid %u tid %u (0x%x)\n", s, (u
www.eeworm.com/read/292919/8324928

c fork1.c

#include "apue.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 stack */ pid_t pid; var
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/292919/8325097

c child.c

#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/292919/8325198

c pipe1.c

#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/292919/8325303

2 fig11.2

#include "apue.h" #include pthread_t ntid; void printids(const char *s) { pid_t pid; pthread_t tid; pid = getpid(); tid = pthread_self(); printf("%s pid %u tid %u (0x%x)\n", s, (u
www.eeworm.com/read/292919/8325310

1 fig8.1

#include "apue.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 stack */ pid_t pid; var