466
|
1 <refentry id="lseek">
|
|
2 <refnamediv>
|
468
|
3 <refname>Lseek</refname>
|
|
4 <refpurpose>position in file</refpurpose>
|
466
|
5 </refnamediv>
|
|
6
|
|
7 <refsynopsisdiv>
|
|
8 <funcsynopsis>
|
|
9 <funcprototype>
|
|
10 <funcdef><function>lseek</function></funcdef>
|
570
|
11 <paramdef>int <parameter>pn</parameter></paramdef>
|
|
12 <paramdef>long <parameter>position</parameter></paramdef>
|
|
13 <paramdef>int <parameter>type</parameter></paramdef>
|
466
|
14 </funcprototype>
|
|
15 </funcsynopsis>
|
|
16
|
|
17 </refsynopsisdiv>
|
|
18
|
542
|
19 <refsect1><title>Assembler Equivalent</title>
|
|
20 <para>
|
|
21 os9 I$SEEK
|
|
22 </para>
|
|
23 </refsect1>
|
|
24
|
466
|
25 <refsect1><title>Description</title>
|
|
26 <para>
|
|
27 Placeholder
|
|
28 </para>
|
|
29 </refsect1>
|
542
|
30
|
552
|
31 <refsect1><title>Diagnostics</title>
|
|
32 <para>
|
|
33 -1 is returned if "pn" is a bad path number, or attempting to
|
|
34 seek to a position before the beginning of a file.
|
|
35 </para>
|
|
36 </refsect1>
|
|
37
|
542
|
38 <refsect1><title>See Also</title>
|
|
39 <para>
|
|
40 <link linkend="creat">creat()</link>,
|
|
41 <link linkend="open">open()</link>,
|
|
42 Standard Library function
|
|
43 <link linkend="fseek">"fseek"</link>
|
|
44 </para>
|
|
45 </refsect1>
|
|
46
|
466
|
47 </refentry>
|