fork man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

FORK(3F)							      FORK(3F)

NAME
       fork - create a copy of this process

SYNOPSIS
       integer*4 function fork()

DESCRIPTION
       The fork function creates a copy of the calling process.	 The only dis‐
       tinction between the two processes is that the value returned to one of
       them,  referred	to  as	the 'parent' process, is the process id of the
       copy.  The copy is usually referred to as  the  `child'	process.   The
       value returned to the `child' process is zero.

       All logical units open for writing are flushed before the fork to avoid
       duplication of the contents of I/O buffers in the external files.

       If the returned value is negative, it indicates an  error  and  is  the
       negation of the system error code.  See perror(3F).

       A  corresponding exec routine has not been provided because there is no
       satisfactory way to retain open logical units across  the  exec.	  How‐
       ever,  the  usual  function  of	fork/exec  can be performed using sys‐
       tem(3F).

FILES
       libfui.a

SEE ALSO
       fork(2), wait(3F), kill(3F), system(3F), perror(3F)

				   03/02/25			      FORK(3F)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net