代码搜索结果
找到约 10,000 项符合
PID 的代码
wait.h
#ifndef _SYS_WAIT_H
#define _SYS_WAIT_H
#include
#define _LOW(v) ( (v) & 0377)
#define _HIGH(v) ( ((v) >> 8) & 0377)
/* options for waitpid, WUNTRACED not supported */
#define WNOHAN
fork.c
/*
* linux/kernel/fork.c
*
* (C) 1991 Linus Torvalds
*/
/*
注意:signal.c和fork.c文件的编译选项内不能有vc变量优化选项/Og,因为这两个文件
内的函数参数内包含了函数返回地址等内容。如果加了/Og选项,编译器就会在认为
这些参数不再使用后占用该内存,导致函数返回时出错。
math/math_emulate.c
银行家算法.cpp
#include
#include
#include
using namespace std;
const int TASK_RUNNING = 0;
const int TASK_SUCCEED = 1;
const int TASK_WAITTING = 2;
const int RLength = 10;
int R
control.c
//************************
// 路径识别部分
//************************
//找到黑线位置,存入diff[SIZE_Y]中
//扫描式黑线查找法
void ScanLine(void){
static signed char left,right; //每一行的搜索范围,左起始和右结束
static sig
nm-irix5.h
/* Definitions for native support of irix5.
Copyright (C) 1993, 1998 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or
nm-irix4.h
/* Definitions for native support of irix4.
Copyright (C) 1991, 1992 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or
nm-irix5.h
/* Definitions for native support of irix5.
Copyright (C) 1993, 1998 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or
nm-irix4.h
/* Definitions for native support of irix4.
Copyright (C) 1991, 1992 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or
loggingdaemon.h
/* $Id: loggingdaemon.h,v 1.7 2005/02/17 23:20:02 gshi Exp $ */
/* Messages sent to the logging daemon */
#define LD_LOGIT 2
#define MAXENTITY 32
struct LogDaemonMsg_s {
int msgtype;
int facility;
ts.c
/*****************************************************************************
* ts.c: Transport Stream input module for VLC.
************************************************************************