HP C/iX Library Reference Manual (30026-90004)
226 Chapter5
HP C/iX Library Function Descriptions
l3tol
l3tol
The l3tol function converts 3-byte integers to long integers.
Syntax
void l3tol (long *
lp
, char *
cp
, int *
n
);
Parameters
lp
A pointer to an array of
n
converted long integers.
cp
A pointer to a character string containing the
n
three-byte integers to be
converted.
n
The number of three-byte integers packed in
cp
.
Return Values
None.
Description
The l3tol function converts a list of
n
3-byte integers packed into a character string
pointed to by
cp
into a list of long integers pointed to by
lp
.
This function supports file systems where block numbers are 3 bytes long.
See Also
ltol3()