summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-09-04 13:01:19 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-09-04 13:01:19 +0000
commitf82edff0d48e7b204373d5ed4703dff049573e45 (patch)
treecf32e4bd7c7f4ea695eb7d4e0b587c37c31fd43c /doc
parent2003-09-04 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-f82edff0d48e7b204373d5ed4703dff049573e45.tar.bz2
2003-09-04 Joel Sherrill <joel@OARcorp.com>
PR 466/doc * io.t: Added sync().
Diffstat (limited to 'doc')
-rw-r--r--doc/posix_users/ChangeLog5
-rw-r--r--doc/posix_users/io.t37
2 files changed, 42 insertions, 0 deletions
diff --git a/doc/posix_users/ChangeLog b/doc/posix_users/ChangeLog
index 71ec0fceb3..d1716a60af 100644
--- a/doc/posix_users/ChangeLog
+++ b/doc/posix_users/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-04 Joel Sherrill <joel@OARcorp.com>
+
+ PR 466/doc
+ * io.t: Added sync().
+
2003-01-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* posix_users.texi: Set @setfilename posix_users.info.
diff --git a/doc/posix_users/io.t b/doc/posix_users/io.t
index e8ff9105f3..570772c543 100644
--- a/doc/posix_users/io.t
+++ b/doc/posix_users/io.t
@@ -25,6 +25,7 @@ The directives provided by the input and output primitives manager are:
@item @code{lseek} - Reposition read/write file offset
@item @code{fsync} - Synchronize file complete in-core state with that on disk
@item @code{fdatasync} - Synchronize file in-core data with that on disk
+@item @code{sync} - Schedule file system updates
@item @code{mount} - Mount a file system
@item @code{unmount} - Unmount file systems
@item @code{aio_read} - Asynchronous Read
@@ -732,6 +733,42 @@ NONE
@c
@c
@page
+@subsection sync - Schedule file system updates
+
+@findex sync
+@cindex synchronize file systems
+
+@subheading CALLING SEQUENCE:
+
+@ifset is-C
+@example
+void sync(void);
+@end example
+@end ifset
+
+@ifset is-Ada
+@end ifset
+
+@subheading STATUS CODES:
+
+NONE
+
+@subheading DESCRIPTION:
+
+The @code{sync} service causes all information in memory that updates
+file systems to be scheduled for writing out to all file systems.
+
+
+@subheading NOTES:
+
+The writing of data to the file systems is only guaranteed to be
+scheduled upon return. It is not necessarily complete upon return
+from @code{sync}.
+
+@c
+@c
+@c
+@page
@subsection mount - Mount a file system
@findex mount