The OSF/1 (and System V?)
This is a bsd'ism, SunOS has it too and I learned about it early on in
my syscall compat code.
version of termio interprets termio.c_cc[4]
and termio.c_cc[5] as VEOF and VEOL if ICANON is set in
termio.c_lflag. If ICANON is not set, those fields are interpreted as
VMIN and VTIME, respectively.
Correct, and it is a load of crap... the sgtty tty ioctl routines and
friends in char/tty_io.c need to be adjusted to understand this
bogosity.
Later,
David S. Miller
davem@caip.rutgers.edu