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