代码搜索:fork
找到约 4,354 项符合「fork」的源代码
代码结果 4,354
www.eeworm.com/read/410728/2204365
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/410728/2204379
mh i386sco4.mh
# Host: Intel 386 running SCO Unix 3.2v4
NAT_FILE= nm-i386sco4.h
NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o core-aout.o i386v-nat.o
www.eeworm.com/read/400494/2351276
h syscall.h
#ifndef _SYSCALL_H
#define _SYSCALL_H
#define SYS_setup 0 /* Used only by init, to get system going. */
#define SYS_exit 1
#define SYS_fork 2
#define SYS_read 3
#define SYS_write 4
#define SYS_o
www.eeworm.com/read/366702/2880214
c 20070529-1.c
/* ICE in chrec_fold_plus_poly_poly. */
typedef unsigned short __u16;
typedef unsigned int u32;
typedef __u16 __be16;
struct hfs_extent {
__be16 count;
};
int hfs_free_fork( int type)
{
u32 total_b
www.eeworm.com/read/365273/2897986
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/359563/2975150
c wait2.c
#include
#include
#include
void main()
{
pid_t pid1, pid2, pid3;
int status;
while (1)
{
if ((pid1 = fork()) < 0) exit(1);
else if (pid1 == 0) /* 子进程1 */
{
www.eeworm.com/read/264113/4289362
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/192933/8262970
c testdae.c
#include
#include
#include
#include
#include
#include
#include
int init_daemon(void)//守护进程初始化函数
{
switch(fork()){
case 0:
www.eeworm.com/read/283691/8996281
h unistd.h
#ifndef UNISTD_H
#define UNISTD_H
typedef unsigned arg_t;
#define NULL_ARG ((arg_t) 0)
#define sys_os_info() \
int386(0x00, NULL_ARG, NULL_ARG, NULL_ARG)
#define sys_Fork(time) \
www.eeworm.com/read/332636/12745641
makefile
# Makefile for lib/syslib.
CFLAGS = -O -D_MINIX -D_POSIX_SOURCE
LIBRARIES = libsys
libsys_OBJECTS = \
sys_times.o \
sys_abort.o \
sys_chrt.o \
sys_exec.o \
sys_fork.o \
sys_int86.o \
sys_kil