代码搜索:fork

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

代码结果 4,354
www.eeworm.com/read/165847/10049895

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_write
www.eeworm.com/read/165847/10049911

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/276204/10753729

c pipe.c

#include main() { int filedes[2]; char buffer[80]; pipe(filedes); if(fork()>0){ /* 父进程*/ char s[ ] = "hello!\n"; write(filedes[1],s,sizeof(s)); } else{ /*子进程*/ read(filedes[0],buffer,80); p
www.eeworm.com/read/275970/10780357

c procpollable.c

#include #include #include #include #include main() { int pid; char proc[32]; FILE *pfp; struct pollfd pfd; if ((pid = fork()) == 0)
www.eeworm.com/read/418361/10951932

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_write
www.eeworm.com/read/418361/10951954

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/439707/7702584

c myftp.c

#include #include int main(int argc,char *argv[]) { pid_t child; int fd[2]; pipe(fd); char buffer[128]; memset(buffer,'\0',sizeof(buffer)); child=fork(); if(child==0)
www.eeworm.com/read/331180/12841243

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/125688/6024943

h syscall-hide.h

/* * System call hiders. * * DO NOT EDIT-- this file is automatically generated. * created from Id: syscalls.master,v 1.55.2.1 1999/05/05 22:53:05 dt Exp */ HIDE_POSIX(fork) HIDE_POSIX(read) HI
www.eeworm.com/read/124426/6047845

java defaultforkhandler.java

package org.jbpm.delegation.fork; import java.util.*; import org.jbpm.*; import org.jbpm.delegation.*; import org.jbpm.model.definition.*; import org.jbpm.model.definition.impl.*; import org.j