|
RTEMS
5.1
|
Go to the documentation of this file. 19 #ifndef _RTEMS_SETERR_H 20 #define _RTEMS_SETERR_H 39 #define rtems_set_errno_and_return_value( _error, _value ) \ 40 do { errno = ( _error ); return ( _value ); } while ( 0 ) 48 #define rtems_set_errno_and_return_minus_one( _error ) \ 49 rtems_set_errno_and_return_value( _error, -1 )