.TH ltol3() "" "" "General Function (libc)"
.PC "Convert long integer to file system block number"
\fBltol3(\fIl3p, lp, n\^\fB)\fR
\fBchar *\fIl3p\^\fB;\fR
\fBlong *\fIlp\^\fB;\fR
\fBunsigned \fIn\^\fB;\fR
.PP
To conserve space inside i-nodes in \*(CO file systems,
the system stores block addresses in three bytes.
Programs that reference or maintain file systems use the functions
.B l3tol()
and
.B ltol3()
to convert between the three byte representation and
.B long
numbers.
.PP
.B ltol3()
converts
.I n
.B long
integers at address
.I lp
to the more compact form at address
.IR l3p .
.SH "See Also"
.Xr "libc" libc
