代码搜索:fork

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

代码结果 4,354
www.eeworm.com/read/227822/14411028

h syscall_nr.h

/* * This file contains the system call numbers. */ #define TARGET_NR_restart_syscall 0 #define TARGET_NR_exit 1 #define TARGET_NR_fork 2 #define TARGET_NR_read 3 #define TARGET_NR_wr
www.eeworm.com/read/120822/14786666

c child.c

#include #include #include static void sig_cld(); int main() { pid_t pid; if (signal(SIGCLD, sig_cld) == -1) perror("signal error"); if ( (pid = fork()) < 0
www.eeworm.com/read/118666/14859706

c exp3a.c

#include #include #include int main() { int fd[2]; char word[2]; pid_t pid; int n; if(pipe(fd)
www.eeworm.com/read/212230/15162729

c usertest.c

#include #include #include #include static inline _syscall0(int, setup) static inline _syscall0(int, fork) static inline _s
www.eeworm.com/read/479931/1327836

mh fbsd.mh

# Host: FreeBSD/alpha NATDEPFILES= fork-child.o inf-ptrace.o \ fbsd-nat.o alphabsd-nat.o bsd-kvm.o \ gcore.o corelow.o core-regset.o LOADLIBES= -lkvm
www.eeworm.com/read/216781/4888078

c fduplex.c

#include "unpipc.h" int main(int argc, char **argv) { int fd[2], n; char c; pid_t childpid; Pipe(fd); /* assumes a full-duplex pipe (e.g., SVR4) */ if ( (childpid = Fork()) == 0) {
www.eeworm.com/read/216502/4891331

c makpipe.c

#include "stdio.h" makpipe() { int f[2]; pipe(f); if (fork()==0) { close(f[1]); close(0); dup(f[0]); close(f[0]); execl ("/bin/sh", "sh", "-i", 0); execl ("/usr/bin/sh", "sh", "-i", 0
www.eeworm.com/read/209559/4972102

h unistd.h

#ifndef _ASM_PPC_UNISTD_H_ #define _ASM_PPC_UNISTD_H_ /* * This file contains the system call numbers. */ #define __NR_restart_syscall 0 #define __NR_exit 1 #define __NR_fork 2 #define __NR
www.eeworm.com/read/198916/5080761

c fduplex.c

#include "unpipc.h" int main(int argc, char **argv) { int fd[2], n; char c; pid_t childpid; Pipe(fd); /* assumes a full-duplex pipe (e.g., SVR4) */ if ( (childpid = Fork()) == 0) {
www.eeworm.com/read/197196/5097296

c exec.c

#include "iofn.h" #include "fork.h" #include "sched.h" #include "msg.h" static char outbuf[128]; struct message msg; void test_send_msg() { char *p = 0; int ret; while(1){ p =