fprintf() weirdness?

Mark W. Eichin eichin at athena.mit.edu
Fri Dec 16 04:45:53 AEST 1988


=Me
=where f=fdopen(s, "r") earlier (and is not NULL...) The catch: If I
>>chet at cwjcc.CWRU.EDU
>>Well, you could try opening the file for writing (unless that was just a 
>>typo above), with an fdopen(s,"r+") or fdopen(s,"w").  I don't know why the

Oops, typo. Actually, `s' was a socket() and it was then fdopen()ed
for "r" and "w", and the fprintf is going to the one opened for write.
Sorry for the confusion.

				Mark Eichin
			<eichin at athena.mit.edu>
		SIPB Member & Project Athena ``Watchmaker'' 



More information about the Comp.unix.aux mailing list