diff options
-rw-r--r-- | c/src/exec/posix/headers/mutex.h | 12 | ||||
-rw-r--r-- | c/src/exec/posix/include/rtems/posix/mutex.h | 12 | ||||
-rw-r--r-- | cpukit/posix/include/rtems/posix/mutex.h | 12 |
3 files changed, 36 insertions, 0 deletions
diff --git a/c/src/exec/posix/headers/mutex.h b/c/src/exec/posix/headers/mutex.h index 6c065ea26c..ab733e9690 100644 --- a/c/src/exec/posix/headers/mutex.h +++ b/c/src/exec/posix/headers/mutex.h @@ -108,6 +108,18 @@ RTEMS_INLINE_ROUTINE boolean _POSIX_Mutex_Is_null ( POSIX_Mutex_Control *the_mutex ); +/* + * _POSIX_Mutex_From_core_mutex_status + * + * DESCRIPTION: + * + * This function returns a POSIX error code for each RTEMS CORE error message. + */ + +int _POSIX_Mutex_From_core_mutex_status( + CORE_mutex_Status status +); + #include <rtems/posix/mutex.inl> #include <rtems/posix/mutexmp.h> diff --git a/c/src/exec/posix/include/rtems/posix/mutex.h b/c/src/exec/posix/include/rtems/posix/mutex.h index 6c065ea26c..ab733e9690 100644 --- a/c/src/exec/posix/include/rtems/posix/mutex.h +++ b/c/src/exec/posix/include/rtems/posix/mutex.h @@ -108,6 +108,18 @@ RTEMS_INLINE_ROUTINE boolean _POSIX_Mutex_Is_null ( POSIX_Mutex_Control *the_mutex ); +/* + * _POSIX_Mutex_From_core_mutex_status + * + * DESCRIPTION: + * + * This function returns a POSIX error code for each RTEMS CORE error message. + */ + +int _POSIX_Mutex_From_core_mutex_status( + CORE_mutex_Status status +); + #include <rtems/posix/mutex.inl> #include <rtems/posix/mutexmp.h> diff --git a/cpukit/posix/include/rtems/posix/mutex.h b/cpukit/posix/include/rtems/posix/mutex.h index 6c065ea26c..ab733e9690 100644 --- a/cpukit/posix/include/rtems/posix/mutex.h +++ b/cpukit/posix/include/rtems/posix/mutex.h @@ -108,6 +108,18 @@ RTEMS_INLINE_ROUTINE boolean _POSIX_Mutex_Is_null ( POSIX_Mutex_Control *the_mutex ); +/* + * _POSIX_Mutex_From_core_mutex_status + * + * DESCRIPTION: + * + * This function returns a POSIX error code for each RTEMS CORE error message. + */ + +int _POSIX_Mutex_From_core_mutex_status( + CORE_mutex_Status status +); + #include <rtems/posix/mutex.inl> #include <rtems/posix/mutexmp.h> |