CRTSCTS wrong in man tcsetattr

From: Karel Kulhavy
Date: Wed Apr 12 2006 - 09:10:07 EST


Man tcsetattr in gentoo implicitly states that after
#include <termios.h>
#include <unistd.h>

CRTSCTS constant will be defined. This is however false:
tty.c:38: error: `CRTSCTS' undeclared (first use in this function)

CRTSCTS is defined in bits/termios.h and in asm/termbits.h The question
is what is the correct state of affairs?
1) the manpage should say bits/termios.h instead of termios.h
2) the manpage should say asm/termbits.h instead of termios.h
3) the termios.h should include bits/termios.h or asm/termbits.h
4) the manpage should not mention CRTSCTS at all

CL<
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/