代码搜索:PID
找到约 10,000 项符合「PID」的源代码
代码结果 10,000
www.eeworm.com/read/127382/14356937
c exec1.c
#include
#include
#include "ourhdr.h"
char *env_init[] = { "USER=unknown", "PATH=/tmp", NULL };
int
main(void)
{
pid_t pid;
if ( (pid = fork()) < 0)
err_s
www.eeworm.com/read/127382/14356954
c exec2.c
#include
#include
#include "ourhdr.h"
int
main(void)
{
pid_t pid;
if ( (pid = fork()) < 0)
err_sys("fork error");
else if (pid == 0) { /* child */
if (e
www.eeworm.com/read/127382/14356975
c test1.c
#include
#include "ourhdr.h"
int
main(void)
{
pid_t pid;
if ( (pid = fork()) < 0)
err_sys("fork error");
else if (pid != 0) { /* parent */
sleep(2);
exit(2); /* t
www.eeworm.com/read/127382/14356977
c fork2.c
#include
#include
#include "ourhdr.h"
int
main(void)
{
pid_t pid;
if ( (pid = fork()) < 0)
err_sys("fork error");
else if (pid == 0) { /* first child */
www.eeworm.com/read/228948/14357068
c exit.c
/*
* linux/kernel/exit.c
*
* (C) 1991 Linus Torvalds
*/
#include // 错误号头文件。包含系统中各种出错号。(Linus 从minix 中引进的)
#include // 信号头文件。定义信号符号常量,信号结构以及信号操作函数原型。
#include // 等
www.eeworm.com/read/227998/14403808
c pidfile.c
/* pidfile.c
*
* Functions to assist in the writing and removing of pidfiles.
*
* Russ Dill Soptember 2001
*
* This program is free software; you can redistribute it an
www.eeworm.com/read/227183/14438487
m selftuning_rls_ga.m
%Selftuning_RLS_GA.m
%Written by Ian Griffin July 2003
%Last Modified 20-08-03
%____________________________________________________________________
clc
clear
global sys_controlled
global time
www.eeworm.com/read/226770/14452692
c svstat.c
#include
#include
#include
#include "strerr.h"
#include "error.h"
#include "open.h"
#include "fmt.h"
#include "tai.h"
#include "buffer.h"
#define FATAL "svstat:
www.eeworm.com/read/226770/14452802
c supervise.c
#include
#include
#include
#include
#include "sig.h"
#include "strerr.h"
#include "error.h"
#include "fifo.h"
#include "open.h"
#include "lock.h"
#incl
www.eeworm.com/read/225994/14505281
sh dynamic-forward.sh
# $OpenBSD: dynamic-forward.sh,v 1.4 2004/06/22 22:55:56 dtucker Exp $
# Placed in the Public Domain.
tid="dynamic forwarding"
FWDPORT=`expr $PORT + 1`
DATA=/bin/ls${EXEEXT}
if have_prog nc && nc