Re: TIOCGDEV ioctl

From: Miquel van Smoorenburg (miquels@traveler.cistron-office.nl)
Date: Sat Dec 16 2000 - 05:54:06 EST


In article <Pine.LNX.4.21.0012151709591.1176-100000@euclid.oak.suse.com>,
James Simmons <jsimmons@suse.com> wrote:
>Based on fgconsole.c. I just threw it together in a few minutes.
>/*
> * consolewhat.c - Prints which VC /dev/console is.
> */

You're confusing /dev/console and /dev/tty0. /dev/console might be
associated with /dev/ttyS0 or /dev/lp1

Mike.

-- 
RAND USR 16514
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 23 2000 - 21:00:15 EST