ref: 0dad2e65c6d544a9bcaedd8d307a5dcaa5f1a003
parent: 416695e633fedfbf86c1428f3f9544a87f2f2f18
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
--
⑨