Proper way to detach from control terminal?
Rich Salz
rsalz at bbn.com
Sun Jan 29 02:18:30 AEST 1989
I would like to know if there is a "proper" way to detach a process from
its control terminal (once it has fork'ed and the parent has
terminated).
In <908 at auspex.UUCP> guy at auspex.UUCP (Guy Harris) writes:
Well, it depends on which flavor of UNIX you're using....
Dave Lennert (formerly of HP, now of Sequent - right, Dave?) wrote a
fairly detailed paper on "how to write a daemon", going into details
about these sorts of things on various UNIX flavors. I think it
appeared in one of the UNIX magazines within the past few months.
Dave's article (which is excellent!) appaeared in \fI;login:\fP
the Usenix newsletter. Volume 12, number 4 (July/August 1987).
Back issues might be available, contact uunet!usenix!office.
/rich $alz
--
Please send comp.sources.unix-related mail to rsalz at uunet.uu.net.
More information about the Comp.unix.wizards
mailing list