代码搜索:fork
找到约 4,354 项符合「fork」的源代码
代码结果 4,354
www.eeworm.com/read/198501/5087099
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 system_call.s).
* Fork is rather sim
www.eeworm.com/read/195341/5111682
2 fork.2
.th FORK II 8/5/73
.sh NAME
fork \*- spawn new process
.sh SYNOPSIS
(fork = 2.)
.br
.ft B
sys fork
.br
.ft R
(new process return)
.br
(old process return)
.s3
.ft B
fork( )
.ft R
.sh DESCRIPTION
.it
www.eeworm.com/read/195341/5112012
s fork.s
/ C library -- fork
/ pid = fork();
/
/ pid == 0 in child process; pid == -1 means error return
/ in child, parents id is in par_uid if needed
.globl _fork, cerror, _par_uid
_fork:
mov r5,-(sp)
m
www.eeworm.com/read/189477/5192683
c fork.c
#include
#include
#include
int fork()
{
int __res;
__asm__ __volatile__("int $0x28":"=a" (__res):"a" (__FORK_NR));
return __res;
}
www.eeworm.com/read/188551/5208715
java fork.java
/**
* Copyright (C) 2006, Laboratorio di Valutazione delle Prestazioni - Politecnico di Milano
* This program is free software; you can redistribute it and/or modify
* it under the terms of th
www.eeworm.com/read/182103/5266834
c fork.c
/*
* fork() - POSIX 1003.1b 3.1.1
*
* $Id: fork.c,v 1.2 2001/01/24 14:17:28 joel Exp $
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include
#include
int fork( voi
www.eeworm.com/read/180437/5284482
s fork.s
/ int fork ( void )
.globl _fork
_fork:
movw $0x7f1c, %ax
int $0x21
jecxz 1f
movl %ecx, _errno
1:
ret
www.eeworm.com/read/180437/5284629
c fork.c
/* orginal written by E. Mattes */
#include
#include
#include
#include
#ifdef __EMX__
#include
#include
#else
#include
www.eeworm.com/read/179153/5309710
t fork.t
#!/usr/bin/perl -w
BEGIN {
if( $ENV{PERL_CORE} ) {
chdir 't';
@INC = '../lib';
}
}
use Test::More;
use Config;
my $Can_Fork = $Config{d_fork} ||
(($^O eq 'MSW
www.eeworm.com/read/171081/5399008
c fork.c
/*
* fork.c
*
* Description:
* Implementation of fork() for POSIX threads.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Thread