代码搜索:fork

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

代码结果 4,354
www.eeworm.com/read/127382/14356773

c ptyfork.c

#include #include #ifndef TIOCGWINSZ #include /* 44BSD requires this too */ #endif #include "ourhdr.h" pid_t pty_fork(int *ptrfdm, char *slave_name,
www.eeworm.com/read/127382/14356837

c ptyfork.c

#include #include #ifndef TIOCGWINSZ #include /* 44BSD requires this too */ #endif #include "ourhdr.h" pid_t pty_fork(int *ptrfdm, char *slave_name,
www.eeworm.com/read/122882/14662481

c pipe_dup.c

#include "unistd.h" #include "stdio.h" #include "string.h" main() { int fd[2],pid; char buffer; pipe(fd); pid=fork(); if(pid==0) { close(fd[1]); dup2(fd[0],0); close(fd[0]); exec
www.eeworm.com/read/122882/14662487

c pipe_par_child.c

#include "unistd.h" #include "stdio.h" #include "string.h" main() { int fd[2],pid,n; char buffer[256],dat[20]="hello world\n"; pipe(fd); pid=fork(); if(pid==0) { close(fd[1]); n=read(fd[
www.eeworm.com/read/220617/14795065

v wave2.v

`timescale 10ns/1ns module wave2; reg wave; parameter cycle=5; initial fork wave=0; #(cycle) wave=1; #(2*cycle) wave=0; #(3*cycle) wave=1; #(4*cycle) wave=0; #(5*cycle) wave=
www.eeworm.com/read/480930/1310621

h unistd.h

#ifndef _ALPHA_UNISTD_H #define _ALPHA_UNISTD_H #define __NR_osf_syscall 0 /* not implemented */ #define __NR_exit 1 #define __NR_fork 2 #define __NR_read 3 #define __NR_write 4 #define
www.eeworm.com/read/478549/1351230

makefile

.c.o: GCC -c -O -Wall $< .s.o: GCC -c -O $< OBJ = SPAWNVE.o \ GETPID.o \ FORK.o \ GETPPID.o \ KILL.o \ PTRACE.o \ RAISE.o \ SIGNAL.o \
www.eeworm.com/read/248665/4465729

makefile

.c.o: GCC -c -O -Wall $< .s.o: GCC -c -O $< OBJ = SPAWNVE.o \ GETPID.o \ FORK.o \ GETPPID.o \ KILL.o \ PTRACE.o \ RAISE.o \ SIGNAL.o \
www.eeworm.com/read/246537/4493941

c child02.c

/* include child_make */ #include "unp.h" pid_t child_make(int i, int listenfd, int addrlen) { pid_t pid; void child_main(int, int, int); if ( (pid = Fork()) > 0) return(pid); /* parent */ c
www.eeworm.com/read/240943/4565186

mh nbsdaout.mh

# Host: NetBSD/sparc a.out NATDEPFILES= fork-child.o inf-ptrace.o \ sparc-nat.o sparcnbsd-nat.o bsd-kvm.o solib-sunos.o NAT_FILE= solib.h LOADLIBES= -lkvm