Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!ucsd!ucsdhub!esosun!seismo!uunet! From: prindle@NADC.ARPA (Frank Prindle) Newsgroups: comp.sys.cbm Subject: Power-C (FILE vs FILE*) Message-ID: Date: 4 Oct 88 12:20:05 GMT Sender: prindle@nadc.arpa (Frank Prindle) Lines: 7 Rick Clements noted that, based on the Power-C documentation, streams should be declared "FILE stream;" which is seemingly inconsistent with the K&R standard library declaration of "FILE *stream" (i.e. a FILE is a pointer). But declaring "FILE *stream" in Power-C will work just as well; nobody says that a FILE pointer must be an address, it just must somehow unambiguously describe the file. In Power-C, fopen will return small positive values (like 12) which may be construed as pointers. Thus there is no reason, when porting over a K&R standard program, to change all the declarations from FILE 1571.Z ada-repository.info bphollander bridger cpower.Z dhry.c.Z dhry.c2.Z dhrystone disk.formats.Z fhak.q font.Z font2.Z lui macro-elim.Z midi.Z newcbm priority_inversion.paper