fwrite(buf, 0, 42, stream) == ?

Felix Lee flee at psuvax1.cs.psu.edu
Wed Jun 13 06:47:39 AEST 1990


What is fwrite(buf, 0, 42, stream) supposed to return?  I feel it
should return 42 when it successfully writes 42 objects of zero size,
but existing implementations seem to return 0.
--
Felix Lee	flee at cs.psu.edu



More information about the Comp.std.c mailing list