Mono Class Library: Mono.Posix.Syscall Overview | MembersMono.Posix.Syscall.fork Method |
fork() turns a single process into 2 identical processes, known as the parent and the child. [Edit]
|
a int [Edit]
This member is obsolete. Please use Mono.Unix.Native.Syscall.fork instead.
On success, fork() returns 0 to the child process and returns the process ID of the child process to the parent process. On error, -1 is returned and System.Runtime.InteropServices.Marshal.GetLastWin32Error is set.
[Edit]
Namespace: Mono.Posix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0