summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/unlink.c
diff options
context:
space:
mode:
authorAlex Ivanov <alexivanov97@gmail.com>2012-12-11 16:51:08 -0500
committerGedare Bloom <gedare@rtems.org>2012-12-11 16:51:08 -0500
commit17c6ad6a01a7ace26decff61b20bdada797ed782 (patch)
tree03fae4f8f30ceee2a6691fc3cc001019c31c099b /cpukit/libcsupport/src/unlink.c
parentlibcsupport: GCI Doxygen Task #7 (diff)
downloadrtems-17c6ad6a01a7ace26decff61b20bdada797ed782.tar.bz2
libcsupport: Doxygen enhancement GCI task #4
http://www.google-melange.com/gci/task/view/google/gci2012/8009205
Diffstat (limited to 'cpukit/libcsupport/src/unlink.c')
-rw-r--r--cpukit/libcsupport/src/unlink.c21
1 files changed, 13 insertions, 8 deletions
diff --git a/cpukit/libcsupport/src/unlink.c b/cpukit/libcsupport/src/unlink.c
index a007cc293b..dbeacf4ea8 100644
--- a/cpukit/libcsupport/src/unlink.c
+++ b/cpukit/libcsupport/src/unlink.c
@@ -1,6 +1,11 @@
-/*
- * unlink() - POSIX 1003.1b - 5.5.1 - Remove an existing link
+/**
+ * @file
*
+ * @brief Remove an Existing Link
+ * @ingroup libcsupport
+ */
+
+/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
@@ -17,6 +22,9 @@
#include <rtems/libio_.h>
+/**
+ * POSIX 1003.1b - 5.5.1 - Remove an existing link
+ */
int unlink( const char *path )
{
int rv = 0;
@@ -49,16 +57,13 @@ int unlink( const char *path )
return rv;
}
-/*
- * _unlink_r
- *
- * This is the Newlib dependent reentrant version of unlink().
- */
-
#if defined(RTEMS_NEWLIB)
#include <reent.h>
+/**
+ * This is the Newlib dependent reentrant version of unlink().
+ */
int _unlink_r(
struct _reent *ptr __attribute__((unused)),
const char *path