代码搜索结果
找到约 10,000 项符合
PID 的代码
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
thermo.inf
; Thermo.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
[Ys
test2.c
/*
* See if signals other than the realtime signals are queued,
* and if SA_SIGINFO works with these other signals.
*/
#include "unpipc.h"
static void sig_rt(int, siginfo_t *, void *);
int
main(
client2.c
#include "cliserv2.h"
int
main(int argc, char **argv)
{
int fd, i, nloop, nusec;
pid_t pid;
char mesg[MESGSIZE];
long offset;
struct shmstruct *ptr;
if (argc != 4)
err_quit("usage: client2
btcusb.inf
;------------------------------------------------------------------------
; btcusb.inf
; IVT Corporation Bluetooth USB Device Installation Script
; For Windows98SE/ME/2000/XP
;
; Copyright (c) 20
btcusb98.inf
;------------------------------------------------------------------------
; btcusb.inf
; IVT Corporation Bluetooth USB Device Installation Script
; For Windows98SE/ME/2000/XP
;
; Copyright (c) 20
pss.c
# include
# include "sets.h"
# include "slice.h"
# include "lif.h"
# include
# include
static char sccsid[] = "@(#)pss.c 1.4 4/26/95";
typedef struct ptr_struct p
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