diff options
author | Alex Ivanov <alexivanov97@gmail.com> | 2012-12-10 14:51:23 -0500 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2012-12-10 14:51:23 -0500 |
commit | 37509959b261e28607ca9ae1ce247c0463b39f42 (patch) | |
tree | c428ff39cf29e9cc8ee04d9e271ccbd4543abb51 /cpukit/libcsupport/src/sync.c | |
parent | libcsupport: Doxygen enhancement task #2 (diff) | |
download | rtems-37509959b261e28607ca9ae1ce247c0463b39f42.tar.bz2 |
libcsupport: Doxygen enhancement task #5
http://www.google-melange.com/gci/task/view/google/gci2012/7992211
Diffstat (limited to 'cpukit/libcsupport/src/sync.c')
-rw-r--r-- | cpukit/libcsupport/src/sync.c | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/cpukit/libcsupport/src/sync.c b/cpukit/libcsupport/src/sync.c index 7b17db15ef..2e8386754c 100644 --- a/cpukit/libcsupport/src/sync.c +++ b/cpukit/libcsupport/src/sync.c @@ -1,12 +1,11 @@ -/* - * sync() - XXX ??? where is this defined - * - * This function operates by as follows: - * for all threads - * for all FILE * - * fsync() - * fdatasync() +/** + * @file * + * @brief Synchronize Data on Disk with Memory + * @ingroup libcsupport + */ + +/* * COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * @@ -79,6 +78,13 @@ static void sync_per_thread(Thread_Control *t) */ extern struct _reent * const _global_impure_ptr __ATTRIBUTE_IMPURE_PTR__; +/** + * This function operates by as follows: + * for all threads + * for all FILE * + * fsync() + * fdatasync() + */ void sync(void) { |