代码搜索结果
找到约 10,000 项符合
PID 的代码
ysh.h
#define HISNUM 11
#define BUFSIZE 200
typedef struct ENV_HISTROY{
int start;
int end;
char his_cmd[HISNUM][100];
} ENV_HISTORY;
typedef struct NODE{
pid_t pid;
char cmd[100];
char state[1
btcusb.inf
;; btcusb.inf
;;
;;IVT Corporation Bluetooth USB Device Installation Script
;;
;; For Windows 98SE, Windows Me, Windows 2000 and Windows XP
;;
;; Copyright (c) 2000-2004, IVT Corporation.
;;
guocheng.ccd
: 8_0
7 JUMP ;
: 8_84
|TIC_201 0 I>F $0008.. 3 ROLL EX.!PID
|TIC_101 8 I>F $0008.. 3 ROLL EX.!PID
11 JUMP ;
: 8_85
150.0 FDELAY
|TIC_101
50 I>F $0008.. 3 ROLL EX.!PID
|TIC_
region_gen.c
/* region_gen.c */
/* Copyright 2004 Oswaldo Morizaki */
/* This file is part of ga-nn-ag.
ga-nn-ag is free software; you can redistribute it and/or modify
it under the terms of the GNU
wait.c
/*
* linux/lib/wait.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
#include
_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid_t wait(i
p6-2.c
#include
#include
#include
#include "err_exit.h"
int global = 5;
int main(void)
{
pid_t pid;
char *string = "I am father. ";
int local = 10;
printf("
p6-10.c
#include
#include "err_exit.h"
int main(void)
{
pid_t pid;
if ((pid = fork()) < 0)
err_exit("fork error");
else if (pid == 0) { /* 第一个子进程 */
/*
daemonize.c
#include "apue.h"
#include
#include
#ifdef BSD
#include
#endif
#include
void
daemonize(const char *cmd)
{
int i, fd0, fd1, fd2;
pid_t pid;
struct
deadlock.c
#include "apue.h"
#include
static void
lockabyte(const char *name, int fd, off_t offset)
{
if (writew_lock(fd, offset, SEEK_SET, 1) < 0)
err_sys("%s: writew_lock error", name);
printf("