Mail Archives: djgpp/1997/10/05/17:33:56
A. Sinan Unur <sinan DOT unur AT cornell DOT edu> schrieb
> Ingo Ruhnke wrote:
> > This returns me the number of bytes of the file, but the number of
> > chars is a little bit smaller, because of the <LF><CR>.
> >
> i wouldn't think so... at least not without reading in the whole file
> first. what is the problem with reserving space for a few extra bytes?
Another question, what is the return value of fread(), I think it is the
size of the part of the file, but with the <CR> or without them? Maybe this
could be the solution for my problem.
- Raw text -