RTEMS 6.1-rc1
Macros
seterr.h File Reference

This header file defines macros to set errno and return minus one. 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

This header file defines macros to set errno and return minus one.