代码搜索:PID
找到约 10,000 项符合「PID」的源代码
代码结果 10,000
www.eeworm.com/read/364932/9886925
c exec1.c
#include "apue.h"
#include
char *env_init[] = { "USER=unknown", "PATH=/tmp", NULL };
int
main(void)
{
pid_t pid;
if ((pid = fork()) < 0) {
err_sys("fork error");
} else if (pid ==
www.eeworm.com/read/364932/9886938
c exec2.c
#include "apue.h"
#include
int
main(void)
{
pid_t pid;
if ((pid = fork()) < 0) {
err_sys("fork error");
} else if (pid == 0) { /* child */
if (execl("/home/sar/bin/testinterp",
www.eeworm.com/read/364932/9886943
c wait1.c
#include "apue.h"
#include
int
main(void)
{
pid_t pid;
int status;
if ((pid = fork()) < 0)
err_sys("fork error");
else if (pid == 0) /* child */
exit(7);
if (wait(&status)
www.eeworm.com/read/364932/9887295
20 fig8.20
#include "apue.h"
#include
int
main(void)
{
pid_t pid;
if ((pid = fork()) < 0) {
err_sys("fork error");
} else if (pid == 0) { /* child */
if (execl("/home/sar/bin/testinterp",
www.eeworm.com/read/364932/9887419
6 fig8.6
#include "apue.h"
#include
int
main(void)
{
pid_t pid;
int status;
if ((pid = fork()) < 0)
err_sys("fork error");
else if (pid == 0) /* child */
exit(7);
if (wait(&status)
www.eeworm.com/read/364932/9887565
16 fig8.16
#include "apue.h"
#include
char *env_init[] = { "USER=unknown", "PATH=/tmp", NULL };
int
main(void)
{
pid_t pid;
if ((pid = fork()) < 0) {
err_sys("fork error");
} else if (pid ==
www.eeworm.com/read/167847/9950339
c client1.c
#include "unpipc.h"
struct shmstruct { /* struct stored in shared memory */
int count;
};
sem_t *mutex; /* pointer to named semaphore */
int
main(int argc, char **argv)
{
int fd, i, nloop;
pid
www.eeworm.com/read/362593/9989818
m chap7_3f.m
clear all;
close all;
%load pid_ncd.mat;
kp=0.63;
ki=0.0504;
kd=1.9688;
a2=43;
a1=3;
www.eeworm.com/read/166836/9995778
m ga_plot33.m
% GA_plot33.m
% Plot time responses under plant varaitions
% PenChen Chou, 7-9-2001
K=10;a1=3;a2=2;
sim('ex33_pid',[0 4]);
figure(2);subplot(231);plot(tout,yout);
title('K=10;a1=3;a2=2');
www.eeworm.com/read/166836/9995952
c temp.c
/*
* File : temp.c
* Abstract:
* An example C-file S-function for linking PID System,
* output = digital_pid(en, xn)
*
* See simulink/src/sfuntmpl_doc.c
*
* Copyright 1990-