Job Control Wishlist

mike%brl-vgr at sri-unix.UUCP mike%brl-vgr at sri-unix.UUCP
Tue Oct 18 04:19:20 AEST 1983


From:  Mike Muuss <mike at brl-vgr>

Marshal -
	As far as I can tell so far, 4.2 does not have your wished-for
dup3() system call, but it *does* have the ability to "hand off"
a file descriptor to another process, using a special PF_UNIX "messsage".
Using that capability and some library routines to handle interpreting
a special signal, you actually COULD build a dup3() facility
which would work as long as the target of the dup3 was willing to cooperate.
Neat, huh?
	-Mike



More information about the Comp.unix.wizards mailing list