代码搜索结果

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

fig9.11

#include "apue.h" #include static void sig_hup(int signo) { printf("SIGHUP received, pid = %d\n", getpid()); } static void pr_ids(char *name) { printf("%s: pid = %d, ppid = %d, pgrp = %d

figc.7

#include "apue.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("vfork error"); /* child and p

fig1.10

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

init.c

#include "apue.h" #include #include #include void daemonize(const char *cmd) { int i, fd0, fd1, fd2; pid_t pid; struct rlimit rl; struct sigaction sa

orphan3.c

#include "apue.h" #include static void sig_hup(int signo) { printf("SIGHUP received, pid = %d\n", getpid()); } static void pr_ids(char *name) { printf("%s: pid = %d, ppid = %d, pgrp = %d

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

chap2_7f.m

%PID Controler Based on Ziegler-Nichols clear all; close all; sys=tf(400,[1,30,200,0]); figure(1); rlocus(sys); [km,pole]=rlocfind(sys) wm=imag(pole(2)); kp=0.6*km kd=kp*pi/(4*wm) ki=k

project1.dpr

program Project1; uses Forms, Unit1 in 'Unit1.pas' {Form1}, PID in '..\PID\PID.pas'; {$R *.res} begin Application.Initialize; Application.CreateForm(TForm1, Form1); Applicat

aci3_2.map

****************************************************************************** TMS320C24xx COFF Linker Version 7.02 *****************************************************

usbthermo.inf

; usbthermo.Inf - install information file [Version] Signature="$CHICAGO$" Class=USB provider=%YsuLyw% LayoutFile=layout.inf DriverVer=12/12/2001,1.0.1.0 [Manufacturer] %YsuLyw%=YsuLyw