🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: dnet.atari
Article #318

handling serial io in turbo-c

#318
From: Mustafa Soysal
Date: Tue, 18 Jun 1991 22:37
16 lines
956 bytes
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
Technical Details
Message-ID: <00000001.msoysal@mcimail.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!spool.mu.edu!samsung!caen!news

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 12bdcf,ba287b079fa9739d,start
X-Google-Attributes: gid12bdcf,public
X-Google-ArrivalTime: 1991-06-18 22:38:01 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!spool.mu.edu!samsung!caen!news
From: msoysal@mcimail.com (Mustafa Soysal)
Newsgroups: dnet.atari
Subject: handling serial io in turbo-c
Message-ID: <00000001.msoysal@mcimail.com>
Date: 18 Jun 91 22:37:00 GMT
Organization: AA-MI
Lines: 16