代码搜索:fork
找到约 4,354 项符合「fork」的源代码
代码结果 4,354
www.eeworm.com/read/130781/14174379
makefile
#
# Makefile for Chapter 08
#
# Type make to compile all the programs
# in the chapter
#
all: exec1 forkdemo1 forkdemo2 forkdemo3 psh1 psh2 waitdemo1 waitdemo2
clean:
rm -f exec1 forkdemo1 fork
www.eeworm.com/read/225618/14529710
h unistd.h
#ifndef _LINUX_UNISTD_H
#define _LINUX_UNISTD_H
#define __NR_setup 0
#define __NR_exit 1
#define __NR_fork 2
#define __NR_read 3
#define __NR_write 4
#define __NR_open 5
#define __NR_close 6
www.eeworm.com/read/212230/15162681
h system_call.h
#ifndef _system_call_h_
#define _system_call_h_
#include
extern pid_t sys_fork();
extern void sys_print_msg();
extern int sys_read(u32 fd, char * buf, count_t count);
ext
www.eeworm.com/read/209466/15219046
c _sl.c
#include "_dir.h"
#include "_md.h"
#include "_time.h"
#include "_date.h"
#include "_del.h"
#include "_ren.h"
#include "_find.h"
#include "_copy.h"
#include "_cd.h"
#include "_help.h"
#include "_fork.h
www.eeworm.com/read/209466/15219047
c sl.c
#include "_dir.h"
#include "_md.h"
#include "_time.h"
#include "_date.h"
#include "_del.h"
#include "_ren.h"
#include "_find.h"
#include "_copy.h"
#include "_cd.h"
#include "_help.h"
#include "_fork.h
www.eeworm.com/read/487320/1237449
h syscall.h
/* This file is copied from newlib. Do not edit this alone. */
#define SYS_exit 1
#define SYS_fork 2
#define SYS_read 3
#define SYS_write 4
#define SYS_open 5
#define SYS_close 6
#define SYS_wait4
www.eeworm.com/read/479931/1327853
mh fbsd64.mh
# Host: FreeBSD/amd64
NATDEPFILES= fork-child.o inf-ptrace.o \
fbsd-nat.o amd64-nat.o amd64bsd-nat.o amd64fbsd-nat.o \
gcore.o bsd-kvm.o
LOADLIBES= -lkvm
www.eeworm.com/read/479931/1327866
mh nbsdaout.mh
# Host: NetBSD/i386 a.out
NATDEPFILES= fork-child.o inf-ptrace.o \
nbsd-nat.o i386bsd-nat.o i386nbsd-nat.o bsd-kvm.o \
solib.o solib-sunos.o
LOADLIBES= -lkvm
www.eeworm.com/read/242657/4547194
cpp timers.cpp
// $Id: Timers.cpp 78965 2007-07-20 08:51:10Z johnnyw $
#include "ace/config-all.h"
#include "ace/OS_main.h"
#if !defined (ACE_LACKS_FORK)
#include "ace/streams.h"
#include "ace/OS_NS_unistd.h"
#in
www.eeworm.com/read/216502/4890951
c lib.c
#include "xmail.h"
MINT *x, *b, *one, *c64, *t45, *z, *q, *r, *two, *t15;
MINT *a[42];
setup(s) char *s;
{ int pf[2];
strncpy(buf, s, 10);
while(*s) *s++ = 0;
pipe(pf);
if(fork()==0)
{
close(0)