Kevin Lawton wrote:
> Also, seems like we can't count on errno to be set properly
> by the library routines when 64bit variants are used.  So
> don't bother using perror().  It prints "Success" even when
> it's evident the call failed by the return value.

This should not happen.  Maybe you are talking about the read()
call?  read() beyond the end of file by definition returns no
error, but a count of 0 ...

If you have real error conditions (e.g. bad file descriptor),
errno should certainly be set.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  [EMAIL PROTECTED]

Reply via email to