🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6675

How do I unbuffer console IO under QuickC and DOS?

#6675
From: Michael 'Moose' Dinn
Date: Wed, 15 May 1991 18:13
14 lines
1180 bytes
I need to unbuffer my console IO under DOS and QuickC (or any variant of C).
How do I do this?

 i.e. if there's a character waiting for me, getchar() will return it with
no waiting for a return or anything else...

Thanks...
--
 Michael Dinn, Sysop of the Moose's Swamp - Nova Scotia's largest Amiga BBS
 +1 (902) 463-0483, 3/12/24/48/96/14,400 baud * 170 Megabytes online
 Home: moose%swamp%banke1@cs.dal.ca (Amiga1000 running UUCP/BBS)
 School: mdinn@ac.dal.ca, dinn@ug.cs.dal.ca     | These are my opinions and
 Work:   01Moose@dalac.bitnet IRC-Op: Moose     | noone else's. (blame me :-)
Technical Details
Message-ID: <1991May15.181314.16216@cs.dal.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!news.cs.indiana.edu!nstn.ns.ca!cs.dal.ca!ug.cs.dal.ca!dinn

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!news.cs.indiana.edu!nstn.ns.ca!cs.dal.ca!ug.cs.dal.ca!dinn
From: dinn@ug.cs.dal.ca (Michael 'Moose' Dinn)
Newsgroups: comp.os.msdos.programmer
Subject: How do I unbuffer console IO under QuickC and DOS?
Message-ID: <1991May15.181314.16216@cs.dal.ca>
Date: 15 May 91 18:13:14 GMT
Sender: news@cs.dal.ca (USENET News)
Distribution: na
Organization: Math, Stats & CS, Dalhousie University, Halifax, NS, Canada
Lines: 14
Originator: dinn@ug.cs.dal.ca
Nntp-Posting-Host: ug.cs.dal.ca