19 #ifndef _RTEMS_POSIX_POSIXAPI_H 20 #define _RTEMS_POSIX_POSIXAPI_H 22 #include <rtems/config.h> 23 #include <rtems/score/assert.h> 56 extern const int _POSIX_Get_by_name_error_table[ 3 ];
59 Objects_Get_by_name_error error
62 _Assert( (
size_t) error < RTEMS_ARRAY_SIZE( _POSIX_Get_by_name_error_table ) );
63 return _POSIX_Get_by_name_error_table[ error ];
68 return STATUS_GET_POSIX( status );
75 return _POSIX_Get_error( _Thread_Wait_get_status( executing ) );
82 if ( status == STATUS_SUCCESSFUL ) {
98 return pshared == PTHREAD_PROCESS_PRIVATE ||
99 pshared == PTHREAD_PROCESS_SHARED;
Data which Ease the Burden of Consistently Setting Errno.
void _POSIX_Fatal_error(POSIX_Fatal_domain domain, int eno)
POSIX API Fatal error.
Definition: posixapi.c:174
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:65
POSIX Threads Private Support.
POSIX_Fatal_domain
POSIX API Fatal domains.
Definition: posixapi.h:41
#define rtems_set_errno_and_return_minus_one(_error)
Definition: seterr.h:48
Definition: posixapi.h:42
Definition: posixapi.h:43
Inlined Routines from the Thread Handler.
Inlined Routines in the Object Handler.