Penguin

Differences between current version and previous revision of fork(2).

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 5 Last edited on Monday, March 17, 2003 2:04:27 am by PerryLorier
Older page: version 4 Last edited on Tuesday, November 5, 2002 3:02:57 pm by JohnMcPherson Revert
@@ -15,8 +15,9 @@
 On success, the PID of the child process is returned in the parent's thread of execution, and a 0 is returned in the child's thread of execution. On failure, a -1 will be returned in the parent's context, no child process will be created, and ''errno'' will be set appropriately. 
  
 !!ERRORS 
 ;[EAGAIN]: fork(2) cannot allocate sufficient memory to copy the parent's page tables and allocate a task structure for the child, or the number of processors would exceed the limit of the number of processes either system wide, or for a particular users. (CHILD_MAX) 
+;:__Note__: The Linux kernel appears to only return this error if the fork(2) would exceed the maximum allowed number of processes from one limit or another.  
 ;[ENOMEM]: fork(2) failed to allocate the necessary kernel structures because memory is tight. 
  
 !!CONFORMING TO 
 The fork(2) call conforms to SVr4, SVID, [POSIX], X/OPEN, BSD 4.3. 
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.