Is TIOCNOTTY implemented or not?

I see a couple of places where it appears in kernel code:
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/gentty.c#309
where it appears to be explicitly _not_ done,
and
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/os/streamio.c#5674
where it looks like it does get done.

In the typical use, one applies that ioctl to /dev/tty to abandon the
association of a process from its controlling terminal.  In that use,
would it encounter the streamio code first, i.e. would it work?

It's easier and cleaner than some alternatives in certain situations...
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to