代码搜索:fork
找到约 4,354 项符合「fork」的源代码
代码结果 4,354
www.eeworm.com/read/217239/4875048
c fork.c
/* orginal written by E. Mattes */
#include
#include
#include
#include
#ifdef __EMX__
#include
#include
#else
#include
www.eeworm.com/read/216502/4890380
2 fork.2
.TH FORK 2
.SH NAME
fork \- spawn new process
.SH SYNOPSIS
.B fork( )
.SH DESCRIPTION
.I Fork
is the only way new processes are created.
The new process's core image is a copy of
that of the caller
www.eeworm.com/read/216502/4891769
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, _par_uid
.globl cerror
.fork = 2.
_fork:
www.eeworm.com/read/216499/4892270
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/216499/4892603
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/216450/4894157
s fork.s
.sect .text
.extern __fork
.define _fork
.align 2
_fork:
jmp __fork
www.eeworm.com/read/216450/4894562
c _fork.c
#include
#define fork _fork
#include
PUBLIC pid_t fork()
{
message m;
return(_syscall(MM, FORK, &m));
}
www.eeworm.com/read/216450/4894994
2 fork.2
.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" @(#
www.eeworm.com/read/209211/4984627
c fork.c
#include "lib.h"
#include
#include
#include "sys9.h"
pid_t
fork(void)
{
int n;
n = _RFORK(RFENVG|RFFDG|RFPROC);
if(n < 0)
_syserrno();
if(n == 0) {
_detachbuf();
_sess
www.eeworm.com/read/209211/4985219
c fork.c
#include
#include
int
fork(void)
{
return rfork(RFPROC|RFFDG|RFREND);
}