Re: Purpose of parameter in sysfs binary read

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

 



Alan Stern wrote:
> On Tue, 18 Aug 2009, Rick L. Vinyard, Jr. wrote:
>
> Neither one.  If the kernel wanted to add an offset to buf, it would
> have done so before calling the function.  The code should be more like
> this:
>
> 	memcpy(buf, bindata + offset, min(size, bsize - offset));
>

Ahhh, offset into the binary data.

Thanks.

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux