delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/14/00:01:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Subject: Re: short fread(), but no ferror/feof
From: Ralf Corsepius <ralf DOT corsepius AT rtems DOT org>
To: Peter Astrand <astrand AT lysator DOT liu DOT se>
Cc: "J. Johnston" <jjohnstn AT redhat DOT com>, cygwin AT cygwin DOT com,
Newlib List <newlib AT sources DOT redhat DOT com>
In-Reply-To: <Pine.GSO.4.51L2.0412132141040.5509@koeberg.lysator.liu.se>
References: <Pine DOT GSO DOT 4 DOT 51L2 DOT 0412051701370 DOT 21199 AT koeberg DOT lysator DOT liu DOT se> <Pine DOT GSO DOT 4 DOT 51L2 DOT 0412112312480 DOT 19131 AT koeberg DOT lysator DOT liu DOT se> <41BDF3A0 DOT 6020909 AT redhat DOT com> <Pine DOT GSO DOT 4 DOT 51L2 DOT 0412132141040 DOT 5509 AT koeberg DOT lysator DOT liu DOT se>
Date: Tue, 14 Dec 2004 06:00:23 +0100
Message-Id: <1103000423.4869.131.camel@mccallum.corsepiu.local>
Mime-Version: 1.0

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




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019