代码搜索:PID
找到约 10,000 项符合「PID」的源代码
代码结果 10,000
www.eeworm.com/read/198616/7923736
2 fig11.2
#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
www.eeworm.com/read/198616/7923749
1 fig8.1
#include "apue.h"
int glob = 6; /* external variable in initialized data */
char buf[] = "a write to stdout\n";
int
main(void)
{
int var; /* automatic variable on the stack */
pid_t pid;
var
www.eeworm.com/read/198616/7923818
6 fig10.6
#include "apue.h"
#include
static void sig_cld(int);
int
main()
{
pid_t pid;
if (signal(SIGCLD, sig_cld) == SIG_ERR)
perror("signal error");
if ((pid = fork()) < 0) {
perror("fo
www.eeworm.com/read/198616/7923918
5 fig15.5
#include "apue.h"
int
main(void)
{
int n;
int fd[2];
pid_t pid;
char line[MAXLINE];
if (pipe(fd) < 0)
err_sys("pipe error");
if ((pid = fork()) < 0) {
err_sys("fork error");
} else if (
www.eeworm.com/read/198278/7943307
c kaodv-netlink.c
/*****************************************************************************
*
* Copyright (C) 2001 Uppsala University and Ericsson AB.
*
* This program is free software; you can redistribute it
www.eeworm.com/read/398376/7991116
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/397323/8055932
c mpi_ga.c
#include "mpi.h"
#include
#include
#include
#define POPSIZE 500
#define NVARS 6
#define MAXGENS 2000
#define PXOVER 0.8 /* 杂交概率 */
#define PMUT
www.eeworm.com/read/296847/8075092
m readanalyzehdr.m
function [pre,dim,siz,lim,scale,offset,origin,descr,endian]=ReadAnalyzeHdr(name);
% Reads the header of an analyze file
%
% [pre,dim,siz,lim[,scale[,offset[,origin[,descr[,endian]]]]]]=ReadAnalyz
www.eeworm.com/read/396741/8092082
c setsid.c
/*
* linux/lib/setsid.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include // Linux 标准头文件。定义了各种符号常数和类型,并申明了各种函数。
// 如定义了__LIBRARY__,则还包括系统调用号和内嵌汇编_syscall0()等。
//// 创建一个会话并设置进程组
www.eeworm.com/read/396670/8096084
inf hidtchpk.inf
[Version]
Signature="$Windows NT$"
Class=Mouse
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Provider=%Provider%
DriverVer=05/15/2007,1.6.0.1
CatalogFile=HidTchpk.cat
[DestinationDirs]
De