ref: bb2357de0cf04c6d8f41e7f7f72f1c033181d4e7
parent: 20429fb04fd109dbd80932170e41ced8521547fe
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Oct 16 09:14:53 EDT 2021
fork(2): document new error behaviour when out of resources
--- a/sys/man/2/fork
+++ b/sys/man/2/fork
@@ -145,11 +145,11 @@
Without
.BR RFPROC ,
the return value is zero.
-Process ids range from 1 to the maximum integer
+Process ids range from 1 to the maximum positive integer
.RB ( int )
value.
.I Rfork
-will sleep, if necessary, until required process resources are available.
+may also return -1 if process resources are exhausted.
.PP
.I Fork
is just a call of