This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

void tty association


Hello,

  I'm trying to figure out how to remove the  "tty association" of the control
terminal
from a child process in CYGWIN  .

Under SYSV I would call setpgrp()

In BSD, I would call
   fd=open("/dev/tty", _O_RDRW);
   ioctl(fd, TIOCNOTTY, 0);

The CYGWIN API Reference mentions tcsetpgrp().
When I do "man tcsetpgrp" under CYGWIN, I get nothing.
I've looked at the tcsetpgrp() call manpage under Solaris and
it says that it only change the pgid of the controlling terminal.

How do you remove the tty association in CYGWIN?


Any help appreciated,
Robert


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]