lseek() on entries in /proc/device-tree returns EINVAL

Scott Wood scottwood at freescale.com
Thu Apr 17 07:01:23 EST 2008


On Wed, Apr 16, 2008 at 03:57:59PM -0500, Timur Tabi wrote:
> Is there a limitation for the implementation of /proc/device-tree that prevents
> lseek() from working?  If so, how do I determine the size of a property?

Try fstat().

-Scott



More information about the Linuxppc-dev mailing list