[Bug 1245] device_lseek is noop but always returns success

rtems-bugs at rtems.org rtems-bugs at rtems.org
Tue Aug 7 22:23:06 UTC 2007


http://www.rtems.org/bugzilla/show_bug.cgi?id=1245





------- Comment #1 from joel.sherrill at oarcorp.com  2007-08-07 17:23 -------
This sounds reasonable because:

http://www.opengroup.org/onlinepubs/000095399/functions/lseek.html

says ESPIPE is OK for ttys, pipes, and sockets.  But I am puzzled how we would
implement a device IO interface to a raw hard disk or /dev/memory if we didn't
have an lseek().

I'm moving this to the list in case someone has some insight that can finesse
this better than I can right now.


-- 
Configure bugmail: http://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



More information about the bugs mailing list