466
|
1 <refentry id="fseek">
|
|
2 <refnamediv>
|
570
|
3 <refname>Fseek</refname>
|
|
4 <refname>Rewind</refname>
|
|
5 <refname>Ftell</refname>
|
|
6 <refpurpose>position in a file or report current position</refpurpose>
|
466
|
7 </refnamediv>
|
|
8
|
|
9 <refsynopsisdiv>
|
|
10 <funcsynopsis>
|
468
|
11 <funcsynopsisinfo>
|
|
12 #include <stdio.h>
|
|
13 </funcsynopsisinfo>
|
570
|
14
|
466
|
15 <funcprototype>
|
|
16 <funcdef><function>fseek</function></funcdef>
|
570
|
17 <paramdef>FILE *<parameter>fp</parameter></paramdef>
|
|
18 <paramdef>long <parameter>offset</parameter></paramdef>
|
|
19 <paramdef>int <parameter>place</parameter></paramdef>
|
|
20 </funcprototype>
|
|
21
|
|
22 <funcprototype>
|
|
23 <funcdef><function>rewind</function></funcdef>
|
|
24 <paramdef>FILE *<parameter>fp</parameter></paramdef>
|
|
25 </funcprototype>
|
|
26
|
|
27 <funcprototype>
|
|
28 <funcdef>long <function>ftell</function></funcdef>
|
|
29 <paramdef>FILE *<parameter>fp</parameter></paramdef>
|
466
|
30 </funcprototype>
|
|
31 </funcsynopsis>
|
|
32
|
|
33 </refsynopsisdiv>
|
|
34
|
|
35 <refsect1><title>Description</title>
|
|
36 <para>
|
|
37 Placeholder
|
|
38 </para>
|
|
39 </refsect1>
|
542
|
40
|
552
|
41 <refsect1><title>Diagnostics</title>
|
|
42 <para>
|
|
43 Fseek returns -1 if the call is invalid.
|
|
44 </para>
|
|
45 </refsect1>
|
|
46
|
542
|
47 <refsect1><title>See Also</title>
|
|
48 <para>
|
|
49 System call
|
|
50 <link linkend="lseek">lseek()</link>.
|
|
51 </para>
|
|
52 </refsect1>
|
|
53
|
466
|
54 </refentry>
|