466
|
1 <refentry id="l3tol">
|
|
2 <refnamediv>
|
567
|
3 <refname>L3tol</refname>
|
|
4 <refname>Ltol3</refname>
|
656
|
5 <refpurpose>convert between long integers and 3-byte integers</refpurpose>
|
466
|
6 </refnamediv>
|
|
7
|
|
8 <refsynopsisdiv>
|
|
9 <funcsynopsis>
|
|
10 <funcprototype>
|
|
11 <funcdef><function>l3tol</function></funcdef>
|
567
|
12 <paramdef>long *<parameter>lp</parameter></paramdef>
|
|
13 <paramdef>char *<parameter>cp</parameter></paramdef>
|
|
14 <paramdef>int <parameter>n</parameter></paramdef>
|
|
15 </funcprototype>
|
|
16
|
|
17 <funcprototype>
|
|
18 <funcdef><function>ltol3</function></funcdef>
|
|
19 <paramdef>char *<parameter>cp</parameter></paramdef>
|
|
20 <paramdef>long *<parameter>lp</parameter></paramdef>
|
|
21 <paramdef>int <parameter>n</parameter></paramdef>
|
466
|
22 </funcprototype>
|
|
23 </funcsynopsis>
|
|
24
|
|
25 </refsynopsisdiv>
|
|
26
|
|
27 <refsect1><title>Description</title>
|
|
28 <para>
|
567
|
29 Certain system values, such as disc addresses, are maintained
|
|
30 in three-byte form rather than four-byte; these functions
|
|
31 enable arithmetic to be used on them.
|
|
32 </para>
|
|
33 <para>
|
|
34 L3tol converts a vector on "n" three-byte integers pointed to
|
|
35 by "cp", into a vector of long integers starting at "lp".
|
|
36 </para>
|
|
37 <para>
|
|
38 Ltol3 does the opposite.
|
466
|
39 </para>
|
|
40 </refsect1>
|
|
41 </refentry>
|