summaryrefslogtreecommitdiffstats
path: root/doc/posix_users/semaphores.t
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/posix_users/semaphores.t7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/posix_users/semaphores.t b/doc/posix_users/semaphores.t
index bf3de0ea43..68fa6216f0 100644
--- a/doc/posix_users/semaphores.t
+++ b/doc/posix_users/semaphores.t
@@ -42,11 +42,14 @@ returned to the semaphore. If there is more than one task waiting for a
semaphore, the tasks will be placed in the queue.
@subsection "sem_t" Structure
-The "sem_t" structure is used to represent semaphores. It is passed as an
+
+@findex sem_t
+
+The @code{sem_t} structure is used to represent semaphores. It is passed as an
argument to the semaphore directives and is defined as follows:
@example
-typedef int sem_t
+typedef int sem_t;
@end example
@subsection Building a Semaphore Attribute Set