代码搜索:fork

找到约 4,354 项符合「fork」的源代码

代码结果 4,354
www.eeworm.com/read/463221/1539056

c example21.c

#include #include #include int main(void) { int n, fd[2]; pid_t pid; char line[1024]; if (pipe(fd) < 0) exit(0); if ( (pid = fork(
www.eeworm.com/read/240943/4564610

mh nbsdelf.mh

# Host: NetBSD/sparc ELF NATDEPFILES= fork-child.o inf-ptrace.o \ sparc-nat.o sparcnbsd-nat.o bsd-kvm.o NAT_FILE= nm-nbsd.h LOADLIBES= -lkvm
www.eeworm.com/read/240943/4564851

mh nbsdelf.mh

# Host: NetBSD/sparc ELF NATDEPFILES= fork-child.o inf-ptrace.o \ sparc-nat.o sparcnbsd-nat.o bsd-kvm.o NAT_FILE= nm-nbsd.h LOADLIBES= -lkvm
www.eeworm.com/read/239309/4602706

h syscall_nums.h

/* The 15-410 kernel project * * syscall_nums.h * * #defines for system call numbers */ #ifndef SYSCALL_NUMS_H #define SYSCALL_NUMS_H #define SYSCALL_FORK 10 /* 0x41 */ #define S
www.eeworm.com/read/209211/4985255

c times.c

#include #include static char* skip(char *p) { while(*p == ' ') p++; while(*p != ' ' && *p != 0) p++; return p; } /* * after a fork with fd's copied, both fd's are pointing
www.eeworm.com/read/192230/5159780

c usrthfork.c

#include #include #include int main(void){ pid_t pid; switch (pid = fork()){ case 0: printf("child\n"); break; default: printf("parent\n"); br
www.eeworm.com/read/187332/5224791

cfg dispatcher.cfg

# $Id: dispatcher.cfg,v 1.1 2004/08/10 16:51:36 dcm Exp $ # sample config file for dispatcher module # debug=9 # debug level (cmd line: -dddddddddd) fork=no log_stderror=yes # (cmd line: -E
www.eeworm.com/read/184888/5244500

cfg dispatcher.cfg

# $Id: dispatcher.cfg,v 1.3 2006/06/06 14:58:04 bogdan_iancu Exp $ # sample config file for dispatcher module # debug=9 # debug level (cmd line: -dddddddddd) fork=no log_stderror=yes # (cmd
www.eeworm.com/read/340665/3268649

h syscall.h

#ifndef _SYS_SYSCALL_H_ #define _SYS_SYSCALL_H_ /* Note: This file may be included by assembler source. */ #define SYS_exit 1 #define SYS_fork 2 #define SYS_read 3 #define SYS
www.eeworm.com/read/334226/3371630

exp system.exp

## The following functions need to have tests written for them: # mkfifo # system # popen # pclose # fork # exec # pipe # dup2 # waitpid # fcntl set test time-1 set prog_output "ans = 1" do_test tim