lkml.org 
[lkml]   [1998]   [Mar]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From(Gert Doering)
SubjectRe: Warning, cua2 opened, ...
DateMon, 16 Mar 1998 09:51:54 +0100 (MET)
Hi,

Alan Cox wrote:
> > to be on by default by the kernel at boot-up time --- and that wasn't an
> > accident.  (2) tcsetattr is one of the few ioctl's which is allowed
> > after a hangup, so it will work anyway.
> 
> Ok thats the bit I needed to know. That means I can SIG_IGN sighup and
> sort it.

I don't think you need to care about SIGHUP at all.  IIRC, you'll only get
SIGHUP if the device is your controlling tty - unless your program is a 
daemon which has no other controlling tty and WANTs the SIGHUP.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 12:41    [from the cache]
©2003-2008