代码搜索结果

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

updatestate.m

function pid = updateState(pid) % Update PID state. if (pid.intOn ~= 0) pid.I = pid.I + (pid.K*pid.h/pid.Ti)*(pid.e); end pid.eold = pid.e;

generated-1

pid = "HelloWorld" pid < "HelloWorld" pid "HelloWorld" pid >= "HelloWorld" pid like "HelloWorld" pid in ("HelloWorld","Hello*","Hello*World") pid in ("Hello*","Hello*World

daemoninit.c

#include #include #include #include "ourhdr.h" int daemon_init(void) { pid_t pid; if ( (pid = fork()) < 0) return(-1); else if (pid != 0) exi

shell2.c

#include #include #include #include "ourhdr.h" static void sig_int(int); /* our signal-catching function */ int main(void) { char buf[MAXLINE]; pi

orphan.c

#include #include #include #include #include "ourhdr.h" static void sig_hup(int); static void pr_ids(char *); int main(void) { char c; pid

setsid.c

/* * linux/lib/setsid.c * * 该程序包括一个setsid()系统调用函数。如果调用的进程不是一个组的领导时,该函数用于 * 创建一个新会话。则调用进程将成为该新会话的领导、新进程组的组领导,并且没有控制终端。 * 调用进程的组id 和会话id 被设置成进程的<mark>PID</mark>(进程标识符)。调用进程将成为新进程组和新会 * 话中的唯一进程。 */ #in ...

wait.c

/* * linux/lib/wait.c * * (C) 1991 Linus Torvalds */ #define __LIBRARY__ #include #include _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) pid_t wait(i

wait.c

/* * linux/lib/wait.c * * (C) 1991 Linus Torvalds */ #define __LIBRARY__ #include #include _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) pid_t wait(i

daemoninit.c

#include #include #include #include "ourhdr.h" int daemon_init(void) { pid_t pid; if ( (pid = fork()) < 0) return(-1); else if (pid != 0) exit(0); /* pare

shell2.c

#include #include #include #include "ourhdr.h" static void sig_int(int); /* our signal-catching function */ int main(void) { char buf[MAXLINE]; pid_t pid; i