代码搜索:PID

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

代码结果 10,000
www.eeworm.com/read/128880/14273695

c daemon_init.c

#include "unpipc.h" #include #define MAXFD 64 extern int daemon_proc; /* defined in error.c */ void daemon_init(const char *pname, int facility) { int i; pid_t pid; if ( (pid = Fork
www.eeworm.com/read/128482/14293875

cpp singleservo_init.cpp

#define S_FUNCTION_NAME singleservo_init #include "ttkernel.cpp" class PID_Data { public: struct { // states double u, Iold, Dold, yold; } s; struct { // params double K, Ti, Td, N
www.eeworm.com/read/230032/14308331

plg bargraph.plg

Build target 'Target 1' compiling MAIN.C... .\MAIN.C(26): error 318: can't open file 'Main.h' .\MAIN.C(36): warning C206: 'BARGRAPH_Init': missing function-prototype compiling PID_f1.c... Target not
www.eeworm.com/read/228948/14356936

c setsid.c

/* * linux/lib/setsid.c * * (C) 1991 Linus Torvalds */ #define __LIBRARY__ #include // Linux 标准头文件。定义了各种符号常数和类型,并申明了各种函数。 // 如定义了__LIBRARY__,则还包括系统调用号和内嵌汇编_syscall0()等。 //// 创建一个会话并设置进程组
www.eeworm.com/read/127382/14356952

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
www.eeworm.com/read/127382/14356960

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"
www.eeworm.com/read/127382/14356964

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()) <
www.eeworm.com/read/127382/14356969

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 prin
www.eeworm.com/read/127382/14357032

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
www.eeworm.com/read/127382/14357149

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");