File:  [Research Unix] / researchv10dc / man / adm / man3 / l3tol.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

.TH L3TOL 3
.CT 2 data_man
.SH NAME
l3tol, ltol3 \(mi convert between 3-byte integers and long integers
.SH SYNOPSIS
.nf
.B l3tol(lp, cp, n)
.B long *lp;
.B char *cp;
.PP
.B ltol3(cp, lp, n)
.B char *cp;
.B long *lp;
.fi
.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
where the block numbers are three bytes long.
.SH SEE ALSO
.IR filsys (5)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.