[comp.lang.c] Serial I/O Routines

wintermute@ta.com (Wintermute) (04/19/89)

Hi all!

I know this has been asked many times before, but please bear with
me.  Does anyone have any routines for sending and receiving
characters to and from the IBM PC's asynchronous serial port,
preferably in Turbo C?

void thanks ();

#include <witty_comment.h>

roth@sce.carleton.ca (Carl Roth) (04/21/89)

In article <3717@sdsu.UUCP>, wintermute@ta.com (Wintermute) writes:
> Hi all!
> 
> I know this has been asked many times before, but please bear with
> me.  Does anyone have any routines for sending and receiving
> characters to and from the IBM PC's asynchronous serial port,
> preferably in Turbo C?

On page 56 of the Turbo C 2.0 Refernce Guide there is example source for a
dumb terminal using the serial port and the bioscom function.

Hope this helps.

Carl Roth
Systems and Computer Engineering
Carleton University
Ottawa, Ontario
Canada

roth@sce.carleton.ca