summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/getlogin.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/getlogin.c')
-rw-r--r--cpukit/libcsupport/src/getlogin.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/cpukit/libcsupport/src/getlogin.c b/cpukit/libcsupport/src/getlogin.c
index dbc348b95f..fe0f9ad6f8 100644
--- a/cpukit/libcsupport/src/getlogin.c
+++ b/cpukit/libcsupport/src/getlogin.c
@@ -1,3 +1,10 @@
+/**
+ * @file
+ *
+ * @brief Get User Name
+ * @ingroup libcsupport
+ */
+
#if HAVE_CONFIG_H
#include "config.h"
#endif
@@ -15,10 +22,10 @@
#include <unistd.h>
#include <pwd.h>
-/*
+/**
* 4.2.4 Get User Name, P1003.1b-1993, p. 87
*
- * NOTE: P1003.1c/D10, p. 49 adds getlogin_r().
+ * @note P1003.1c/D10, p. 49 adds getlogin_r().
*/
char *getlogin( void )
{
@@ -26,10 +33,10 @@ char *getlogin( void )
return _POSIX_types_Getlogin_buffer;
}
-/*
+/**
* 4.2.4 Get User Name, P1003.1b-1993, p. 87
*
- * NOTE: P1003.1c/D10, p. 49 adds getlogin_r().
+ * @note P1003.1c/D10, p. 49 adds getlogin_r().
*/
int getlogin_r(
char *name,