Article View: net.micro.atari16
Article #39Redirecting input in C
From: pwp
Date: Thu, 27 Feb 1986 15:07
Date: Thu, 27 Feb 1986 15:07
9 lines
907 bytes
907 bytes
When redirecting input, i.e. foo <file I get -1 when doing getw(stdin) or getl(stdin) on code generated by the DRI C compiler. Does anyone know a way around the problem? Does anyone know if the problem occurs in the C compiler, in the COMMAND.TOS program, or elsewhere? By the way, I have been quite happy with the DRI C compiler, except for issues relating to input and output.
Technical Details
Message-ID:
<54600004@iuvax.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!iubugs!iuvax!pwpShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles; site iuvax.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!iubugs!iuvax!pwp From: pwp@iuvax.UUCP Newsgroups: net.micro.atari16 Subject: Redirecting input in C Message-ID: <54600004@iuvax.UUCP> Date: Thu, 27-Feb-86 10:07:00 EST Article-I.D.: iuvax.54600004 Posted: Thu Feb 27 10:07:00 1986 Date-Received: Sat, 1-Mar-86 16:22:34 EST Lines: 9 Nf-ID: #N:iuvax:54600004:000:380 Nf-From: iuvax!pwp Feb 27 10:07:00 1986