delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/08/07/10:03:09

Date: Fri, 7 Aug 92 15:37:02 +0200
From: <Peter DOT Rojsel AT maxlab DOT lu DOT se>
Subject: treatment of libfunctions & manual
To: djgpp AT sun DOT soe DOT clarkson DOT edu

I have seen that there are no manual for GCC so I have to ask you netters 
instead.

Question: Does DJGCC treat the lib functions  ftell, fclose, fopen, fdopen 
          or fseek in any special/nonstandard way? I have problems with 
          file operations using these functions in c-programs created by 
          AT&T's f2c converter. 

The problem results in nothing being written in the output file, and the 
beginning of the old file stays in the file. 

Yes this is a continuation of my previous problem with writing files in 
DJGCC. By the way thanks for the suggestions that came in. I have done 
some experimenting and found that a normally handwritten c-program works 
very well, although I used only fopen, and wrote 'hello world'.

Peter.



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019