short fread(), but no ferror/feof
Ralf Corsepius
ralf.corsepius@rtems.org
Tue Dec 14 13:41:00 GMT 2004
On Mon, 2004-12-13 at 21:53 +0100, Peter Astrand wrote:
> On Mon, 13 Dec 2004, Jeff Johnston wrote:
>
> > > "fread() shall return the number of elements successfully read which is
> > > less than nitems only if a read error or end-of-file is encountered."
> > >
> >
> > Where in the POSIX standard did you find that above line? I could not locate it
> > in mine. The line above is in SUSV3.
>
> The manpage fread(P) on Fedora Core 2. Is that SUSV3?
Single UNIX Specification, Version 3
http://www.opengroup.org/onlinepubs/009695399
Ralf
More information about the Newlib
mailing list