summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-05 17:00:09 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-06 08:47:02 +0100
commit920a43e6392dfe60ad8bf4bcce73fd1c97d6aa5a (patch)
tree1b4757300bc435e408078ff0588a8d2e73fe76ae /cpukit/rtems/include/rtems/rtems
parentscore: _CPU_Context_switch_to_first_task_smp() (diff)
downloadrtems-920a43e6392dfe60ad8bf4bcce73fd1c97d6aa5a.tar.bz2
rtems: Add rtems_status_code_description()
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems')
-rw-r--r--cpukit/rtems/include/rtems/rtems/status.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/status.h b/cpukit/rtems/include/rtems/rtems/status.h
index 89042883fb..19df500497 100644
--- a/cpukit/rtems/include/rtems/rtems/status.h
+++ b/cpukit/rtems/include/rtems/rtems/status.h
@@ -241,6 +241,16 @@ RTEMS_INLINE_ROUTINE bool rtems_are_statuses_equal(
*/
int rtems_status_code_to_errno(rtems_status_code sc);
+/**
+ * @brief Returns a description for a status code.
+ *
+ * @param[in] code The status code.
+ *
+ * @retval description The status code description.
+ * @retval ? The passed status code is invalid.
+ */
+const char *rtems_status_code_description( rtems_status_code code );
+
/**@}*/
#ifdef __cplusplus