summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/headers/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/rtems/headers/message.h')
-rw-r--r--c/src/exec/rtems/headers/message.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/c/src/exec/rtems/headers/message.h b/c/src/exec/rtems/headers/message.h
index f819b7cfa2..0b7928848f 100644
--- a/c/src/exec/rtems/headers/message.h
+++ b/c/src/exec/rtems/headers/message.h
@@ -242,6 +242,23 @@ rtems_status_code rtems_message_queue_flush(
);
/*
+ * rtems_message_queue_get_number_pending
+ *
+ * DESCRIPTION:
+ *
+ * This routine implements the rtems_message_queue_get_number_pending
+ * directive. This directive returns the number of pending
+ * messages for the message queue indicated by ID
+ * chain. The number of messages pending is returned in COUNT.
+ */
+
+rtems_status_code rtems_message_queue_get_number_pending(
+ Objects_Id id,
+ unsigned32 *count
+);
+
+
+/*
* _Message_queue_Submit
*
* DESCRIPTION: