[124] in Pthreads mailing list archive

home help back first fref pref prev next nref lref last post

Re: (f)read problem

daemon@ATHENA.MIT.EDU (Rich Salz)
Thu Sep 14 10:50:32 1995

From: Rich Salz <rsalz@osf.org>
Date: Thu, 14 Sep 1995 10:18:07 -0400
To: Ronald.Wahl@Informatik.TU-Chemnitz.DE
Cc: pthreads@MIT.EDU

> Both read _and_ fread have this behavior.

It is okay for read -- you don't know you got EOF until read returns 0
and errno != EWOULDBLOCK -- but it is not okay for fread.
	/r$


home help back first fref pref prev next nref lref last post