[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fwrite problems and bringing down MiNT



Hi Frank,

> I disagree. Sometimes it can be better for *some* xfs to allow negative 
> numbers.

Now I disagree. The definition says:

"Fwrite() returns the positive number of bytes actually written or a
negative GEMDOS error code if the operation failed."

So, negative counts are impossible, because the function should return
the (negative) number of bytes written, and that would be considered as
an error.
 
--
Konrad M.Kokoszkiewicz
|mail: draco@mi.com.pl                  | Atari Falcon030/TT030/65XE |
|http://www.orient.uw.edu.pl/~conradus/ | ** FreeMiNT development ** |

** Ea natura multitudinis est,
** aut servit humiliter, aut superbe dominatur (Liv. XXIV,25)
*************************************************************
** U pospolstwa normalne jest, ze albo sluzy ono unizenie,
** albo bezczelnie sie panoszy.