RTEMS  5.0.0
Macros
seterr.h File Reference

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 )
 
#define rtems_set_errno_and_return_minus_one(_error)   rtems_set_errno_and_return_value( _error, -1 )
 

Detailed Description

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.