Path: 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 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 | ------------------------------------------------------------------------------