RTEMS CPU Kit with SuperCore
4.11.2
|
Data which Ease the Burden of Consistently Setting Errno. More...
#include <errno.h>
Go to the source code of this file.
Macros | |
#define | rtems_set_errno_and_return_value(_error, _value) do { errno = ( _error ); return ( _value ); } while ( 0 ) |
This is a helper macro which will set the variable errno and return the specified value to the caller. More... | |
#define | rtems_set_errno_and_return_minus_one(_error) rtems_set_errno_and_return_value( _error, -1 ) |
This is a helper macro which will set the variable errno and return -1 to the caller. More... | |
Data which Ease the Burden of Consistently Setting Errno.
This file contains macros and definitions which ease the burden of consistently setting errno and returning -1.