changeset 596:fe8e46eca1ed

All refentries finished.
author roug
date Fri, 15 Nov 2002 21:49:51 +0000
parents e50380625be6
children 2e76fecc5ca0
files docs/ccguide/fseek.refentry
diffstat 1 files changed, 16 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/docs/ccguide/fseek.refentry	Fri Nov 15 21:49:51 2002 +0000
+++ b/docs/ccguide/fseek.refentry	Fri Nov 15 21:49:51 2002 +0000
@@ -34,7 +34,22 @@
 
 <refsect1><title>Description</title>
 <para>
-Placeholder
+Fseek repositions the next character position of a file for
+either read or write. The new position is a "offset" bytes
+from the beginning of the file if "place" is 0, the current
+position is 1, or the end if 2. Fseek sorts out the special
+problems of buffering.
+</para>
+<para>
+NOTE that using "lseek()" on a buffered file will produce
+unpredictable results.
+</para>
+<para>
+Rewind is equivalent to "fseek(fp,0L,0)".
+</para>
+<para>
+Ftell returns the current position, measured in bytes, from the
+beginning of the file pointed to by "fp".
 </para>
 </refsect1>