This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
About fwrite(s, 0, 1, fp)
- To: drepper@cygnus.com (Ulrich Drepper)
- Subject: About fwrite(s, 0, 1, fp)
- From: hjl@lucon.org (H.J. Lu)
- Date: Sat, 24 Oct 1998 15:22:12 -0700 (PDT)
- Cc: libc-hacker@cygnus.com (GNU C Library)
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)