代码搜索:PID
找到约 10,000 项符合「PID」的源代码
代码结果 10,000
www.eeworm.com/read/396325/8115091
c deamon.c
/*
*守护进程实例包括两部分:主函数main()和初始化函数init_deamon()
*
*主函数每隔5秒控制实验板上的led灯。
*初始化函数init_deamon()负责生成守护进程。
*
*编译:gcc -g -Wall -o deamon deamon.c
*执行:./deamon
*查看进程:ps -ef
*/
#include
#include
www.eeworm.com/read/396061/8135007
c daemon_sample.c
#include
#include
int main(int argc,char *argv[])
{
pid_t child;
child=fork();
if(child==0)
{
setsid();
child=fork();
if(child==0)
{
chdir("/tmp");
umask(0
www.eeworm.com/read/333652/12666911
m chap2_8f.m
%PID Controler Based on Ziegler-Nichols
clear all;
close all;
ts=0.25;
sys=tf(1,[10,2,0]);
dsys=c2d(sys,ts,'z');
[num,den]=tfdata(dsys,'v');
axis('square'),zgrid('new');
figure(1);
rloc
www.eeworm.com/read/333335/12686596
js pvcounter.js
var Q = "http://counter.sina.com.cn/pvcounter?pid=";
function request_pvcounter(){
var request_url = Q;
var elem = document.getElementsByTagName("span");
for( i=0; i
www.eeworm.com/read/247001/12693083
m figures.m
% Embedded Control Systems in C/C++
% by Jim Ledin
%
% Simulink is required: This M-file executes the Simulink model
% PID_Controller.mdl
%
% Figures 2.2-2.5
clear all
close all
% Control
www.eeworm.com/read/246998/12693641
m chap2_8f.m
%PID Controler Based on Ziegler-Nichols
clear all;
close all;
ts=0.25;
sys=tf(1,[10,2,0]);
dsys=c2d(sys,ts,'z');
[num,den]=tfdata(dsys,'v');
axis('square'),zgrid('new');
figure(1);
rloc
www.eeworm.com/read/332636/12745664
h unistd.h
/* The header contains a few miscellaneous manifest constants. */
#ifndef _UNISTD_H
#define _UNISTD_H
#ifndef _TYPES_H
#include
#endif
/* Values used by access(). POSIX Ta
www.eeworm.com/read/332456/12756996
h ftdi_sio.h
/*
* Definitions for the FTDI USB Single Port Serial Converter -
* known as FTDI_SIO (Serial Input/Output application of the chipset)
*
* The example I have is known as the USC-1000 which is ava
www.eeworm.com/read/332098/12779427
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