www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/23/12:25:29

From: "bowman" <bowman AT montana DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <37207CDC DOT B71F192B AT mdh DOT se>
Subject: Re: kbpeek() in DJGPP - C version only..
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Message-ID: <YV0U2.33$Ad6.455@newsfeed.slurp.net>
Date: Fri, 23 Apr 1999 10:07:52 -0600
NNTP-Posting-Host: 208.4.224.49
X-Trace: newsfeed.slurp.net 924883704 208.4.224.49 (Fri, 23 Apr 1999 11:08:24 CDT)
NNTP-Posting-Date: Fri, 23 Apr 1999 11:08:24 CDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Dan Levin <dan DOT levin AT mdh DOT se> wrote in message
news:37207CDC DOT B71F192B AT mdh DOT se...
>
> that returns the ASCII code of the top charcter in the kb buffer. The
> more ANSI C, the better - but I suppose you'll have to go down to
> __dos_int() calls, at the least...or is assembler the only solution...?


enter 'info libc a bioskey' at the dos prompt.  bioskey(1) returns 0 is no
key is available, or the key. the key is not removed from the buffer.

not ANSI, not POSIX



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019