Re: ttyS1 hangs, cua1 works fine

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 6 Apr 1998 19:26:48 +0100 (BST)


> It is only this entire known structure that is cleared. If there are
> invisible portions of this structure, they will be at the end, not defined
> in the header file, and not interpreted by the sizeof operator.

Not always. Some systems for example hid the BSD tty state in magic spare
bits in the sys5 termio structure. So if you used termio and did a bzero
then later on your BSD extras mysteriously went wrong

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu