summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/link.c
diff options
context:
space:
mode:
authorAlex Ivanov <alexivanov97@gmail.com>2012-12-09 17:55:17 -0500
committerGedare Bloom <gedare@rtems.org>2012-12-09 17:55:17 -0500
commitbcd0ea64091d4c360b48cfabbfb94b4f562a9eaa (patch)
treec19e154cfb32d246159933209e1c404be752e8e6 /cpukit/libcsupport/src/link.c
parentlibcsupport: Fix documentation (diff)
downloadrtems-bcd0ea64091d4c360b48cfabbfb94b4f562a9eaa.tar.bz2
libcsupport: Doxygen enhancement task #2
http://www.google-melange.com/gci/task/view/google/gci2012/8017203
Diffstat (limited to 'cpukit/libcsupport/src/link.c')
-rw-r--r--cpukit/libcsupport/src/link.c21
1 files changed, 13 insertions, 8 deletions
diff --git a/cpukit/libcsupport/src/link.c b/cpukit/libcsupport/src/link.c
index f49cca2302..7ec103c15c 100644
--- a/cpukit/libcsupport/src/link.c
+++ b/cpukit/libcsupport/src/link.c
@@ -1,6 +1,11 @@
-/*
- * link() - POSIX 1003.1b - 5.3.4 - Create a new link
+/**
+ * @file
*
+ * @brief Create a new link
+ * @ingroup libcsupport
+ */
+
+/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
@@ -17,6 +22,9 @@
#include <rtems/libio_.h>
+/**
+ * link() - POSIX 1003.1b - 5.3.4 - Create a new link
+ */
int link( const char *path1, const char *path2 )
{
int rv = 0;
@@ -50,16 +58,13 @@ int link( const char *path1, const char *path2 )
return rv;
}
-/*
- * _link_r
- *
- * This is the Newlib dependent reentrant version of link().
- */
-
#if defined(RTEMS_NEWLIB)
#include <reent.h>
+/**
+ * This is the Newlib dependent reentrant version of link().
+ */
int _link_r(
struct _reent *ptr __attribute__((unused)),
const char *path1,