delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/11/14:14:49

From: nxk3 AT dante DOT student DOT cwru DOT edu (Natarajan Krishnaswami)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ISO "C" violation.
Date: 9 Feb 1997 14:49:39 GMT
Organization: Case Western Reserve University, Cleveland OH (USA)
Lines: 25
Message-ID: <slrn5frp00.7de.nxk3@dante.student.cwru.edu>
References: <19970208 DOT 183318 DOT 4231 DOT 0 DOT stodmaster AT juno DOT com> <slrn5froki DOT 7de DOT nxk3 AT dante DOT student DOT cwru DOT edu>
Reply-To: nxk3 AT dante DOT cwru DOT edu
NNTP-Posting-Host: dante.student.cwru.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I know it's tacky to follow up to my own post, but I just looked at the 
libc.inf description of fprintf's return value--it says only that it returns
the number of characters written.  

Perhaps an error in the documentation?

>(From 'fprintf.c' from DJGPP library source)
>  return ferror(iop) ? EOF : len;

(From 'libc.inf')
  Return Value
  ------------

  The number of characters written.


N.
-==(UDIC)==-
"Take the longest day, throw it all away
I can't stand it but I can't do anything
Every day's the same, nothing ever change
I can't stand it but I can't do anything"
		-"Wood Burning" on _Dulcinea_,
		Toad the Wet Sprocket

- Raw text -


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