rtems_set_errno_and_return_minus_one in driver not returning correct value

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Sep 11 08:18:21 UTC 2015


On 11/09/15 10:10, Inderjit Singh wrote:
> Can I presume that using errno with RTEMS does not work? To me I'm 
> baffled that a RTEMS_SUCCESSFULL value must be returned in order to 
> retain the errno value.

The standard drivers are quite primitive. You may have a look at IMFS 
generic nodes, if you want more control:

https://docs.rtems.org/doxygen/cpukit/html/group__IMFSGenericNodes.html

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list