SIGHUP on pty closure
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Jul 25 11:15:00 GMT 2011
On Jul 25 12:36, Marco atzeri wrote:
> It seems that mc is correct in the expectation.
>
> http://pubs.opengroup.org/onlinepubs/9699919799/functions/close.html
>
> "If fildes refers to the master side of a pseudo-terminal, and this
> is the last close, a SIGHUP signal shall be sent to the controlling
> process, if any, for which the slave side of the pseudo-terminal is
> the controlling terminal. It is unspecified whether closing the
> master side of the pseudo-terminal flushes all queued input and
> output."
>
>
> I don't find such implementation on cygwin
>
> fhandler_pty_master::close ()
>
> Am I looking in the wrong place ?
No, I don't think so. I'm not fluent with mc. How can I reproduce
the issue?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list