📄 fork.3f
字号:
.\" SCCSID: @(#)fork.3f 8.1 9/11/90.TH fork 3f VAX "" Unsupported.SH Namefork \- create a copy of this process.SH Syntax.B integer function fork().SH Description.NXR "fork subroutine (FORTRAN)".NXR "process" "copying"The.PN forkfunction creates a copy of the calling process.The only distinction between the two processes is that the valuereturned to one of them (referred to as the 'parent' process)will be the process ID of the copy.The copy is usually referred to as the 'child' process.The value returned to the 'child' process will be zero..PPAll logical units open for writing are flushed before the fork to avoidduplication of the contents of I/O buffers in the external file(s)..PPIf the returned value is negative, it indicates an error and will bethe negation of the system error code.See .MS perror 3f ..PPA corresponding.PN execroutine has not been provided because there is no satisfactory way toretain open logical units across the exec.However, the usual function of.PN fork/execcan be performed using.MS system 3f ..if 0 \{A pipe can be opened to another process using the f77.PN openstatement with.sp 1.ti +5.B "file=\(fm\fIprocess\fB\(fm, status=\(fmpipe\(fm, access=\(fmread\(fm".bror.br.ti +5.B "file=\(fm\fIprocess\fB\(fm, status=\(fmpipe\(fm, access=\(fmwrite\(fm"\}.SH Files.ie \nM /usr/ucb/lib/libU77.a.el /usr/lib/libU77.a.SH See Alsofork(2), kill(3f), perror(3f), system(3f), wait(3f)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -