Article View: comp.sys.atari.st
Article #25566Re: Alcyon C printf
From: leavens
Date: Wed, 11 Mar 1987 17:56
Date: Wed, 11 Mar 1987 17:56
29 lines
1576 bytes
1576 bytes
>
> Well, I've written a smallest failure case program here. It looks
> like this:
> -------
> #include <stdio.h>
> main()
> {
> printf ("Hello\n");
> }
> ------------
> This program compiles and links perfectly with gemstart.o, gemlib, libf and
> osbind. When I run it, the machine pauses around 1 second, then returns.
> It returns without printing a thing!
Is this a .PRG that you're running from the desktop? I once had the same
problem, and it turned out that it _was_ printing something--it was just
doing it so fast and returning to the desktop that I never saw it.
(If you're running this program from a command line, then of course
this isn't valid).
Anyway, I've been using printf calls in my TOS programs (using the
Alcyon compiler) with no trouble at all. Would you like a source fragment?
--alex @ Atari
BIX:alexl. GEnie: ALEXLEAVENS AtariCorp: 408-745-2006
"How can you be in two places at once when you're not anywhere at all."
Technical Details
Message-ID:
<638@atari.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!ucla-cs!ames!ucbcad!ucbvax!decvax!decwrl!sun!imagen!atari!leavensReferences:
<870311005543.569911@RADC-MULTICS.ARPA>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!ucla-cs!ames!ucbcad!ucbvax!decvax!decwrl!sun!imagen!atari!leavens From: leavens@atari.UUCP Newsgroups: comp.sys.atari.st Subject: Re: Alcyon C printf Message-ID: <638@atari.UUCP> Date: Wed, 11-Mar-87 12:56:04 EST Article-I.D.: atari.638 Posted: Wed Mar 11 12:56:04 1987 Date-Received: Fri, 13-Mar-87 00:31:56 EST References: <870311005543.569911@RADC-MULTICS.ARPA> Distribution: world Organization: Atari Corp., Sunnyvale CA Lines: 29