1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

cleanup: remove legacy code for systems without fork(2)

In 2021, it seems like it's about time to join the 21st century
and officially require fork(2). In practice this was already the
case as the legacy code was unmaintained and didn't compile.
This commit is contained in:
Martijn Dekker 2021-03-21 06:33:00 +00:00
parent 38f2b94f55
commit 7b0e0776e2
7 changed files with 7 additions and 269 deletions

View file

@ -64,7 +64,7 @@ controls the new process group and session:
.TP
.L <0
The new process becomes a session leader.
is called in the child context.
It is called in the child context.
.TP
.L 0
The new process is in the callers process group.
@ -75,23 +75,5 @@ The new process becomes a process group leader.
.L >1
The new process joins the process group
.IR pgid .
.SH COMMENTS
It is possible to code all process creation (except for
.IR vfork (2)
hack like in
.IR csh (1))
using
.LR spawnveg .
The
.IR proc (3)
routines and
.IR ksh (1)
do this on systems that don't support
.IR fork (2).
This makes porting to NT and Windows a snap: a simple
.IR iffe (1)
probe provides a
.L spawnveg
implementation using the NT or Windows process primitives.
.SH "SEE ALSO"
fork(2), exec(2), setpgid(2), setsid(2), spawnve(2)