fs does not work?

Assar Westerlund assar at sics.se
Fri Jun 26 22:24:05 CEST 1998


amu at mit.edu (Aaron M. Ucko) writes:
> > It seems to me that these functions should return the number of bytes
> > not copied.
> 
> Right.

Thanks for confirming this.

> > +	    return EFAULT;
> 
> Reminder: Linux syscalls report EWHATEVER by returning -EWHATEVER (in
> which case libc sets errno and reports -1 to the user).

Right.  I got confused by the (wrong) return of EINVAL a little bit
further down in the code.  I have fixed it now.

/assar





More information about the Arla-drinkers mailing list