V7M/man/man3/l3tol.3

Compare this file to the similar file:
Show the results in this format:

.TH L3TOL 3 
.SH NAME
l3tol, ltol3 \- convert between 3-byte integers and long integers
.SH SYNOPSIS
.B l3tol(lp, cp, n)
.br
.B long *lp;
.br
.B char *cp;
.PP
.B ltol3(cp, lp, n)
.br
.B char *cp;
.br
.B long *lp;
.SH DESCRIPTION
.I L3tol
converts a list of
.I n
three-byte integers packed into a character string
pointed to by 
.I cp
into a list of long integers pointed to by
.IR lp .
.PP
.I Ltol3
performs the reverse conversion from long integers
.RI ( lp )
to three-byte integers
.RI ( cp ).
.PP
These functions are useful for file-system maintenance;
disk addresses are three bytes long.
.SH SEE ALSO
filsys(5)