代码搜索:fork

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

代码结果 4,354
www.eeworm.com/read/308682/13696246

c fork.c

#include #include #include #include int main(void) { pid_t result; result = fork(); if(result == -1){ perror("fork"); exit; } else
www.eeworm.com/read/306457/13744752

c fork.c

/* * 'fork.c' contains the help-routines for the 'fork' system call * (see also system_call.s), and some misc functions ('verify_area'). * Fork is rather simple, once you get the hang of it, but t
www.eeworm.com/read/301913/13845973

c fork.c

/* * linux/kernel/fork.c * * Copyright (C) 1991, 1992 Linus Torvalds */ /* * 'fork.c' contains the help-routines for the 'fork' system call * (see also entry.S and others). * Fork is rathe
www.eeworm.com/read/300969/13875025

s fork.s

.sect .text .extern __fork .define _fork .align 2 _fork: jmp __fork
www.eeworm.com/read/300969/13876064

c _fork.c

#include #define fork _fork #include PUBLIC pid_t fork() { message m; return(_syscall(MM, FORK, &m)); }
www.eeworm.com/read/151700/5679782

java fork.java

package concurrency.diners; import java.awt.*; class Fork { private boolean taken=false; private PhilCanvas display; private int identity; Fork(PhilCanvas disp, int id) { display = dis
www.eeworm.com/read/147331/5730828

s fork.s

.globl _fork .globl fork _fork: fork: movl $2, %eax lcall $7,$0 jb _cerror testl %edx, %edx je bye xorl %eax,%eax bye: ret
www.eeworm.com/read/147331/5730873

c fork.c

#include #include #include #include "sys/syscall.h" int errno; int __trap0 (int function, int p1, int p2, int p3); #define TRAP0(f, p1, p2, p3) __trap0(f, (int)
www.eeworm.com/read/147331/5730909

c fork.c

#include #include #include #include "sys/syscall.h" int errno; int __trap0 (); #define TRAP0(f, p1, p2, p3) __trap0(f, (p1), (p2), (p3)) int _fork () { retur
www.eeworm.com/read/147331/5731949

c fork.c

/* fork stub for MMIXware. Copyright (C) 2001 Hans-Peter Nilsson Permission to use, copy, modify, and distribute this software is freely granted, provided that the above copyright notice, t