diff options
author | Alex Ivanov <alexivanov97@gmail.com> | 2012-12-15 07:23:36 -0500 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2012-12-15 07:23:36 -0500 |
commit | cefc9aea6b8ccb5f634ba5d0389a44bbe180f0ca (patch) | |
tree | 2976d3a597b5c6367f1769a2942dd79bdce8d277 /cpukit/libcsupport/include/rtems/libio_.h | |
parent | dosfs: Avoid error caused by bdbuf configuration (diff) | |
download | rtems-cefc9aea6b8ccb5f634ba5d0389a44bbe180f0ca.tar.bz2 |
libcsupport: Doxygen Enhancement Task #8
http://www.google-melange.com/gci/task/view/google/gci2012/7996208
Diffstat (limited to 'cpukit/libcsupport/include/rtems/libio_.h')
-rw-r--r-- | cpukit/libcsupport/include/rtems/libio_.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio_.h b/cpukit/libcsupport/include/rtems/libio_.h index 8e5fa41597..6ef4b6ccb6 100644 --- a/cpukit/libcsupport/include/rtems/libio_.h +++ b/cpukit/libcsupport/include/rtems/libio_.h @@ -276,12 +276,26 @@ static inline void rtems_filesystem_instance_unlock( * File Descriptor Routine Prototypes */ +/** + * This routine searches the IOP Table for an unused entry. If it + * finds one, it returns it. Otherwise, it returns NULL. + */ rtems_libio_t *rtems_libio_allocate(void); +/** + * Convert UNIX fnctl(2) flags to ones that RTEMS drivers understand + */ uint32_t rtems_libio_fcntl_flags( int fcntl_flags ); +/** + * Convert RTEMS internal flags to UNIX fnctl(2) flags + */ int rtems_libio_to_fcntl_flags( uint32_t flags ); +/** + * This routine frees the resources associated with an IOP (file descriptor) + * and clears the slot in the IOP Table. + */ void rtems_libio_free( rtems_libio_t *iop ); |