[rtems commit] rtems: Clarify rtems_partition_create()
Sebastian Huber
sebh at rtems.org
Wed Dec 2 07:20:40 UTC 2020
Module: rtems
Branch: master
Commit: 8756d5ce06d8d5f8f9f205601cd051211681d470
Changeset: http://git.rtems.org/rtems/commit/?id=8756d5ce06d8d5f8f9f205601cd051211681d470
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Dec 1 16:35:05 2020 +0100
rtems: Clarify rtems_partition_create()
The rtems_partition_create() returns an object identifier and not just a
partition identifier.
Update #3993.
---
cpukit/include/rtems/rtems/part.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/cpukit/include/rtems/rtems/part.h b/cpukit/include/rtems/rtems/part.h
index 16f7eff..db861a8 100644
--- a/cpukit/include/rtems/rtems/part.h
+++ b/cpukit/include/rtems/rtems/part.h
@@ -97,9 +97,9 @@ extern "C" {
* This directive creates a partition of fixed size buffers from a physically
* contiguous memory space which starts at ``starting_address`` and is
* ``length`` bytes in size. Each allocated buffer is to be of ``buffer_size``
- * in bytes. The assigned partition identifier is returned in ``id``. This
- * partition identifier is used to access the partition with other partition
- * related directives.
+ * in bytes. The assigned object identifier is returned in ``id``. This
+ * identifier is used to access the partition with other partition related
+ * directives.
*
* The **attribute set** specified in ``attribute_set`` is built through a
* *bitwise or* of the attribute constants described below. Attributes not
@@ -161,9 +161,9 @@ extern "C" {
*
* @param attribute_set is the attribute set of the partition.
*
- * @param id is the pointer to an object identifier variable. The identifier
- * of the created partition object will be stored in this variable, in case
- * of a successful operation.
+ * @param[out] id is the pointer to an object identifier variable. The
+ * identifier of the created partition object will be stored in this
+ * variable, in case of a successful operation.
*
* @retval ::RTEMS_SUCCESSFUL The requested operation was successful.
*
More information about the vc
mailing list