Article View: comp.os.os2
Article #997Is there a way to peek ahead and see how many bytes are in the COM buffer?
From: Ralph Yozzo
Date: Sun, 24 Dec 1989 10:30
Date: Sun, 24 Dec 1989 10:30
14 lines
1266 bytes
1266 bytes
Does anyone know of a way to peek ahead and see how many bytes are in the COM1 buffer? The reason I ask is that I'd like to read as many bytes as possible from the COM port and I'd rather not ask for too much because the DosRead() will block. ------------------------------------------------------------------------------ | Ralph E. Yozzo | | | Arpanet: yozzo@ibm.com | | | Bitnet: yozzo@yktvmx.bitnet \---------------------------------------| | Home: ..!uunet!bywater!acheron!larouch!yozzo | Phone: (914) 945-3634 work | | | Phone: (914) 564-4731 home | ------------------------------------------------------------------------------
Technical Details
Message-ID:
<1989Dec24.103004.26003@larouch.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!samsung!uunet!bywater!acheron!archet!larouch!yozzoShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!samsung!uunet!bywater!acheron!archet!larouch!yozzo From: yozzo@larouch.uucp (Ralph Yozzo) Newsgroups: comp.os.os2 Subject: Is there a way to peek ahead and see how many bytes are in the COM buffer? Message-ID: <1989Dec24.103004.26003@larouch.uucp> Date: 24 Dec 89 10:30:04 GMT Reply-To: yozzo@larouch.UUCP (Ralph Yozzo) Organization: Larouch Headquarters, Hopewell Junction, NY Lines: 14