summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/ttyname.c
diff options
context:
space:
mode:
authorAlex Ivanov <alexivanov97@gmail.com>2012-12-15 07:23:36 -0500
committerGedare Bloom <gedare@rtems.org>2012-12-15 07:23:36 -0500
commitcefc9aea6b8ccb5f634ba5d0389a44bbe180f0ca (patch)
tree2976d3a597b5c6367f1769a2942dd79bdce8d277 /cpukit/libcsupport/src/ttyname.c
parentdosfs: Avoid error caused by bdbuf configuration (diff)
downloadrtems-cefc9aea6b8ccb5f634ba5d0389a44bbe180f0ca.tar.bz2
libcsupport: Doxygen Enhancement Task #8
http://www.google-melange.com/gci/task/view/google/gci2012/7996208
Diffstat (limited to 'cpukit/libcsupport/src/ttyname.c')
-rw-r--r--cpukit/libcsupport/src/ttyname.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/ttyname.c b/cpukit/libcsupport/src/ttyname.c
index 2e76597d96..f136e89a17 100644
--- a/cpukit/libcsupport/src/ttyname.c
+++ b/cpukit/libcsupport/src/ttyname.c
@@ -1,3 +1,10 @@
+/**
+ * @file
+ *
+ * @brief Demetermine Terminal Device Name
+ * @ingroup libcsupport
+ */
+
/*
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
@@ -54,7 +61,7 @@
static char ttyname_buf[sizeof (_PATH_DEV) + MAXNAMLEN];
-/*
+/**
* ttyname_r() - POSIX 1003.1b 4.7.2 - Demetermine Terminal Device Name
*/
int ttyname_r(
@@ -99,10 +106,9 @@ int ttyname_r(
return 0;
}
-/*
+/**
* ttyname() - POSIX 1003.1b 4.7.2 - Determine Terminal Device Name
*/
-
char *ttyname(
int fd
)