summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/semaphore.h
diff options
context:
space:
mode:
authorMathew Kallada <matkallada@gmail.com>2012-12-16 08:38:02 -0500
committerGedare Bloom <gedare@rtems.org>2012-12-16 08:38:02 -0500
commit810ecf05af45f50b9650a7156a98f7058f656570 (patch)
tree289bd747b3bf3d658dd51b9090d69da4b03c196c /cpukit/posix/include/semaphore.h
parentposix: Doxygen Enhancement Task #2 (diff)
downloadrtems-810ecf05af45f50b9650a7156a98f7058f656570.tar.bz2
posix: Doxygen Enhancement Task #7
http://www.google-melange.com/gci/task/view/google/gci2012/7958218
Diffstat (limited to 'cpukit/posix/include/semaphore.h')
-rw-r--r--cpukit/posix/include/semaphore.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/cpukit/posix/include/semaphore.h b/cpukit/posix/include/semaphore.h
index 59ed9e6703..37e3fd54b4 100644
--- a/cpukit/posix/include/semaphore.h
+++ b/cpukit/posix/include/semaphore.h
@@ -56,7 +56,7 @@ int sem_init(
/**
* @brief Destroy an Unnamed Semaphore
- *
+ *
* 11.2.2 Destroy an Unnamed Semaphore, P1003.1b-1993, p.220
*/
int sem_destroy(
@@ -99,7 +99,7 @@ int sem_unlink(
/**
* @brief Lock a Semaphore
- *
+ *
* 11.2.6 Lock a Semaphore, P1003.1b-1993, p.226
*
* @note P1003.4b/D8 adds sem_timedwait(), p. 27
@@ -110,7 +110,7 @@ int sem_wait(
/**
* @brief Lock a Semaphore
- *
+ *
* @see sem_wait()
*/
int sem_trywait(
@@ -118,6 +118,9 @@ int sem_trywait(
);
#if defined(_POSIX_TIMEOUTS)
+/**
+ * @brief Lock a Semaphore
+ */
int sem_timedwait(
sem_t *sem,
const struct timespec *timeout
@@ -126,7 +129,7 @@ int sem_timedwait(
/**
* @brief Unlock a Semaphore
- *
+ *
* 11.2.7 Unlock a Semaphore, P1003.1b-1993, p.227
*/
int sem_post(