Jérémy Bobbio <[EMAIL PROTECTED]> writes: > On Tue, Dec 02, 2008 at 10:50:26PM +0100, Frans Pop wrote: > > As we are not interested in the settings of the serial line or by the > state of the VT, we can just omit the struct declarations and be fine > with a dummy buffer.
Don't you risk overflowing the buffer by not using a union of the two structs? Or are both guarranteed to never grow above 256 bytes? -- Feri. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]