About fwrite(s, 0, 1, fp)

H.J. Lu hjl@lucon.org
Sat Oct 24 15:22:00 GMT 1998


Hi,

What should fwrite(s, 0, 1, fp) return? VSX-PCT expects 0. What
does ANSI C say on it? Solaris 2.5.1/2.6 and HP-UX 10.20 return
0. Should we change it to 0?

Thanks.

-- 
H.J. Lu (hjl@gnu.org)



More information about the Libc-hacker mailing list