[comp.sys.atari.st] handling serial io in turbo-c

msoysal@mcimail.com (Mustafa Soysal) (06/19/91)

Hi, I have a problem accesing the serial port with the fgets and
fscanf functions.

If I use "aux:" for filename and "r+" option for permissions, I read
garbled characters into the buffer, and sometimes it sits there and
probably waits for input from serial port, while the data is pouring
in.

If I use the predefined stream stdaux, I get a bus error with one of
the tries to get something with fgets.

Has anyone done any work with the serial work using Turbo-C ?

Please help

Mustafa