[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: oskit-mach: device_write
From: |
Roland McGrath |
Subject: |
Re: oskit-mach: device_write |
Date: |
Tue, 5 Mar 2002 19:01:00 -0500 (EST) |
> Just one thing: The last argument should return the number of written
> bytes. When an error has occured, the return values does not match the
> bytes_written variable in ds_device_write.
Sorry, I am not following you at all. Please be more specific (show a patch).
It sounds like you are talking about the last argument to
ds_device_write_error_reply, but that is an error code--not a count.
If any bytes were written at all, the RPC returns success.
The count is returned in *BYTES_WRITTEN, which mig uses in the reply message.
> I've called device_write with packet size 4, bytes_written was 61 and
> the return value was 18677512. Obvious, the semantic is right (packet size
> != written bytes), but I'm not sure if this is ok.
I don't understand this at all.
- oskit-mach: device_write, Daniel Wagner, 2002/03/02
- Re: oskit-mach: device_write, Daniel Wagner, 2002/03/03
- Re: oskit-mach: device_write, Roland McGrath, 2002/03/04
- Re: oskit-mach: device_write, Roland McGrath, 2002/03/04
- Re: oskit-mach: device_write, Roland McGrath, 2002/03/04
- Re: oskit-mach: device_write, Daniel Wagner, 2002/03/05
- Re: oskit-mach: device_write,
Roland McGrath <=
- Re: oskit-mach: device_write, Daniel Wagner, 2002/03/06
- Re: oskit-mach: device_write, Roland McGrath, 2002/03/06
- Re: oskit-mach: device_write, Daniel Wagner, 2002/03/07
- Re: oskit-mach: device_write, Roland McGrath, 2002/03/08
- Re: oskit-mach: device_write, Daniel Wagner, 2002/03/09
- Re: oskit-mach: device_write, Thomas Bushnell, BSG, 2002/03/10