summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/prwlockdestroy.c
diff options
context:
space:
mode:
authorAlex Ivanov <alexivanov97@gmail.com>2012-12-15 07:25:05 -0500
committerGedare Bloom <gedare@rtems.org>2012-12-15 07:25:05 -0500
commite43f4758af5414a28f82c8178f2b53d23031376a (patch)
tree36d25b816ad087a9aa22748824ca4a3cc38e33d9 /cpukit/posix/src/prwlockdestroy.c
parentlibcsupport: Doxygen Enhancement Task #8 (diff)
downloadrtems-e43f4758af5414a28f82c8178f2b53d23031376a.tar.bz2
posix: Doxygen Enhancement Task #1
http://www.google-melange.com/gci/task/view/google/gci2012/7987220
Diffstat (limited to 'cpukit/posix/src/prwlockdestroy.c')
-rw-r--r--cpukit/posix/src/prwlockdestroy.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/cpukit/posix/src/prwlockdestroy.c b/cpukit/posix/src/prwlockdestroy.c
index 684e173e18..9b644ba943 100644
--- a/cpukit/posix/src/prwlockdestroy.c
+++ b/cpukit/posix/src/prwlockdestroy.c
@@ -1,6 +1,10 @@
-/*
- * POSIX RWLock Manager -- Destroy a RWLock
+/**
+ * @file
*
+ * @brief Destroy a RWLock
+ * @ingroup POSIX
+ */
+/*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
@@ -19,21 +23,17 @@
#include <rtems/system.h>
#include <rtems/posix/rwlock.h>
-/*
- * pthread_rwlock_destroy
- *
+/**
* This directive allows a thread to delete a rwlock specified by
* the rwlock id. The rwlock is freed back to the inactive
* rwlock chain.
*
- * Input parameters:
- * rwlock - rwlock id
+ * @param[in] rwlock is the rwlock id
*
- * Output parameters:
- * 0 - if successful
- * error code - if unsuccessful
+ * @return This method returns 0 if there was not an
+ * error. Otherwise, a status code is returned indicating the
+ * source of the error.
*/
-
int pthread_rwlock_destroy(
pthread_rwlock_t *rwlock
)