Article View: net.micro.atari
Article #2552Re: Question about C for the ST
From: ericr
Date: Thu, 20 Feb 1986 15:29
Date: Thu, 20 Feb 1986 15:29
19 lines
1159 bytes
1159 bytes
To redirect to the printer: batch c prog >PRN: ^ Note that there is no space. The stdio routine gets(and therefore scanf) requires a CTL-J to terminate the line. This is an acknowledged bug and is supposed to be fixed in the next software release. You can use the BDOS read string command to come close to a gets. The documentation is in error in that the returned string is NOT null terminated. If you are interested, I can send you a short routine which emulates gets quite effectively. Eric Ross ihnp4!hpfcla!hpvcla!ericr Vancouver, WA.
Technical Details
Message-ID:
<9700004@hpvclc.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!rochester!bullwinkle!uw-beaver!tikal!hplsla!hpvclc!ericrReferences:
<500036@iuvax.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!rochester!bullwinkle!uw-beaver!tikal!hplsla!hpvclc!ericr From: ericr@hpvclc.UUCP (ericr) Newsgroups: net.micro.atari Subject: Re: Question about C for the ST Message-ID: <9700004@hpvclc.UUCP> Date: Thu, 20-Feb-86 10:29:00 EST Article-I.D.: hpvclc.9700004 Posted: Thu Feb 20 10:29:00 1986 Date-Received: Wed, 26-Feb-86 04:48:58 EST References: <500036@iuvax.UUCP> Lines: 19 Nf-ID: #R:iuvax:500036:hpvclc:9700004:000:566 Nf-From: hpvclc!ericr Feb 20 08:29:00 1986