Return to ttyin.c CVS log | Up to [local] / src / usr.bin / less |
version 1.9, 2015/11/09 02:59:06 | version 1.10, 2015/11/09 03:02:23 | ||
---|---|---|---|
|
|
||
*/ | */ | ||
tty = open("/dev/tty", O_RDONLY); | tty = open("/dev/tty", O_RDONLY); | ||
if (tty < 0) | if (tty < 0) | ||
tty = 2; | tty = STDERR_FILENO; | ||
} | } | ||
/* | /* |