Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-lcc!styx!ames!ucbcad!ucbvax!hplabs!sdcrdcf!otto!rex From: rex@otto.COM (Rex Jolliff) Newsgroups: comp.sys.cbm Subject: Re: Out of the depths of C-Power ... Message-ID: <442@otto.COM> Date: Tue, 5-May-87 04:03:25 EDT Article-I.D.: otto.442 Posted: Tue May 5 04:03:25 1987 Date-Received: Thu, 7-May-87 06:44:32 EDT References: <1267@ogcvax.UUCP> Reply-To: rex@otto.UUCP (Rex Jolliff) Organization: Las Vegas Sun - Nevada's Largest Daily Morning Newspaper Lines: 36 Keywords: C-Power Power-C opendir file Summary: Expires: Sender: Followup-To: Distribution: In article <1267@ogcvax.UUCP> schaefer@ogcvax.UUCP (Barton E. Schaefer) writes: >[***] > > Never closed if output was directed to a file. Files to which > output was redirected can be closed by the shell command > "disk v". (Is there another way, besides an explicit > close(2) before exiting?) > I haven't had a problem with files left open. I think a 'disk i0:' would probably work a lot quicker, but I don't think either would flush the disk buffers properly... > >-- >Bart Schaefer Dept. of CS&E >CSNET: schaefer@Oregon-Grad Oregon Graduate Center >UUCP: {ihnp4,seismo,sun}!verdix \ 19600 NW Von Neumann Dr > {hplabs,ucbvax,decvax}!tektronix !ogcvax!schaefer Beaverton, OR 97006 One more question. Has anybody looked into the object files or library file format, or C-Power calling conventions? Printf and scanf are pretty slow. It seems like they were written in C themselves. I would like to rewrite them in ML. I would also like to code some other rouitines in ML (like some HiRes functions perhaps...). Any help would be appreciated. ** Rex! ** -- --------------------------------------------------------------------------- Rex Jolliff (rex@otto.UUCP) ------------------------------| The Sun Newspaper - | "Real Programmers don't | Nevada's Largest Daily Morning Newspaper | use BASIC or COBOL..." | Disclaimer: | | The opinions and comments in this article ------------------------------| are my own and in no way reflect the opinions | "Ack!" - bill the cat. | of my employers. -----------------------------