summaryrefslogtreecommitdiffstats
path: root/c-user/semaphore
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-14 09:18:23 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-15 07:47:38 +0200
commitc70715baea93828a0e7b27f4ae583dc254e1a6a9 (patch)
tree5199462cc2405dcb6d1b070b2b9ff249ea6f43a8 /c-user/semaphore
parentuser: add bsps/aarch64/a72.rst (diff)
downloadrtems-docs-c70715baea93828a0e7b27f4ae583dc254e1a6a9.tar.bz2
c-user: Use a common phrase for pointer parameters
Mention the type of the pointer in the parameter description. Use the more general term "object" instead of "variable". Update #3993.
Diffstat (limited to 'c-user/semaphore')
-rw-r--r--c-user/semaphore/directives.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/c-user/semaphore/directives.rst b/c-user/semaphore/directives.rst
index 45ed8c1..5a66ac1 100644
--- a/c-user/semaphore/directives.rst
+++ b/c-user/semaphore/directives.rst
@@ -75,9 +75,9 @@ Creates a semaphore.
the attribute set.
``id``
- This parameter is the pointer to an object identifier variable. When the
+ This parameter is the pointer to an :c:type:`rtems_id` object. When the
directive call is successful, the identifier of the created semaphore will
- be stored in this variable.
+ be stored in this object.
.. rubric:: DESCRIPTION:
@@ -278,9 +278,9 @@ Identifies a semaphore by the object name.
This parameter is the node or node set to search for a matching object.
``id``
- This parameter is the pointer to an object identifier variable. When the
+ This parameter is the pointer to an :c:type:`rtems_id` object. When the
directive call is successful, the object identifier of an object with the
- specified name will be stored in this variable.
+ specified name will be stored in this object.
.. rubric:: DESCRIPTION:
@@ -862,9 +862,9 @@ Sets the priority by scheduler for the semaphore.
scheduler.
``old_priority``
- This parameter is the pointer to a task priority variable. When the
- directive call is successful, the old priority of the semaphore
- corresponding to the specified scheduler will be stored in this variable.
+ This parameter is the pointer to an :c:type:`rtems_task_priority` object.
+ When the directive call is successful, the old priority of the semaphore
+ corresponding to the specified scheduler will be stored in this object.
.. rubric:: DESCRIPTION: