Subject: Re: should cngetc block?
To: None <kin@neoscale.com>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: tech-kern
Date: 02/05/2002 22:54:57
kin@neoscale.com wrote:
> I'm looking for a function like cngetc (in dev/cons.c), but
> doesn't block for an available char.

Note that cngetc() is only mean for very limited set of things,
where it's not possible to use the terminal interface, like
when asking for root/swap on boot, or when in DDB.

What do you want to do exactly?

Jaromir
-- 
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.org/Ports/i386/ps2.html
-=  Those who would give up liberty for a little temporary safety deserve  =-
-=  neither liberty nor safety, and will lose both.  -- Benjamin Franklin  =-