+You should call this function if you need to take care of special
cleanup
+functions _after_ the line has been hungup.
+
+You must carefully check all the returns codes to terminate
properly on
+returned -1 (line hangup) values, otherwise a lot of stale
processes remain on
+your system running.
+
+WARNING: Modifies Perl $SIG{"HUP"} and $SIG{"PIPE"} handlers!
When exactly is SIGPIPE sent? When is SIGHUP sent in such a scenario?
IIRC SIGPIPE is sent if a process is writing to a pipe and that pipe
is broken, as in the receiving process dies.
roy
---
"Humans mostly aren't particularly evil. They just get carried away
by new ideas, like dressing up in jackboots and shooting people, or
dressing up in white sheets and lynching people, or dressing up in
tie-dye jeans and playing guitars at people"
- Terry Pratchett
-------------------------------
Roy Sigurd Karlsbakk
[EMAIL PROTECTED]