diff options
author | Alex Ivanov <alexivanov97@gmail.com> | 2012-12-11 16:51:08 -0500 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2012-12-11 16:51:08 -0500 |
commit | 17c6ad6a01a7ace26decff61b20bdada797ed782 (patch) | |
tree | 03fae4f8f30ceee2a6691fc3cc001019c31c099b /cpukit/libcsupport/src/read.c | |
parent | libcsupport: GCI Doxygen Task #7 (diff) | |
download | rtems-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/read.c')
-rw-r--r-- | cpukit/libcsupport/src/read.c | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/cpukit/libcsupport/src/read.c b/cpukit/libcsupport/src/read.c index ee10166dc8..c1a0d085a3 100644 --- a/cpukit/libcsupport/src/read.c +++ b/cpukit/libcsupport/src/read.c @@ -1,6 +1,11 @@ -/* - * read() - POSIX 1003.1b 6.4.1 - Read From a File +/** + * @file * + * @brief Read From a File + * @ingroup libcsupport + */ + +/* * COPYRIGHT (c) 1989-2011. * On-Line Applications Research Corporation (OAR). * @@ -16,6 +21,9 @@ #include <rtems/libio_.h> #include <rtems/seterr.h> +/** + * POSIX 1003.1b 6.4.1 - Read From a File + */ ssize_t read( int fd, void *buffer, @@ -37,16 +45,13 @@ ssize_t read( return (*iop->pathinfo.handlers->read_h)( iop, buffer, count ); } -/* - * _read_r - * - * This is the Newlib dependent reentrant version of read(). - */ - #if defined(RTEMS_NEWLIB) && !defined(HAVE__READ_R) #include <reent.h> +/** + * This is the Newlib dependent reentrant version of read(). + */ ssize_t _read_r( struct _reent *ptr __attribute__((unused)), int fd, |