Hi, Mike Frysinger, le Sun 04 Nov 2007 15:24:59 -0400, a écrit : > since we fully initialize the termios struct, it may be cleaner to just do > this at the start of the function: > memset(&tp, 0, sizeof(tp)); > > then we wont need #ifdef's to figure out what struct members exist Well, the problem is this: « The effect of tcsetattr() is undefined if the value of the termios structure pointed to by termios_p was not derived from the result of a call to tcgetattr () on fildes; an application should modify only fields and flags defined by this volume of IEEE Std 1003.1-2001 between the call to tcgetattr() and tcsetattr(), leaving all other fields and flags unmodified. » > XCASE isnt in POSIX anymore and from the man page, says it doesnt even work on > Linux, so how about just dropping this completely ? Ok :) Samuel - To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html