Best way to check when pty slave has closed?
- From: Boltar <boltar2003@xxxxxxxxxxx>
- Date: Thu, 22 Nov 2007 08:15:48 -0800 (PST)
HI
I've got a program that spawns of a child and the parent and child
communicate via a pty master-slave pair. Problem is , when the child
closes the slave pty file descriptor no notification comes through the
the parent - it carries on sitting in select() on the master fd.
Is there a way to check for when the slave has been closed (on linux)?
Thanks for any help
B2003
.
- Follow-Ups:
- Re: Best way to check when pty slave has closed?
- From: Casper H . S . ***
- Re: Best way to check when pty slave has closed?
- Prev by Date: Re: text file being corrupted
- Next by Date: Re: Best way to check when pty slave has closed?
- Previous by thread: How can get process id of a process running on remote machine.
- Next by thread: Re: Best way to check when pty slave has closed?
- Index(es):