1L3TOL(3) Library Functions Manual L3TOL(3)
2
3
4
6 l3tol, ltol3 - convert between 3-byte integers and long integers
7
9 l3tol(lp, cp, n)
10 long *lp;
11 char *cp;
12
13 ltol3(cp, lp, n)
14 char *cp;
15 long *lp;
16
18 L3tol converts a list of n three-byte integers packed into a character
19 string pointed to by cp into a list of long integers pointed to by lp.
20
21 Ltol3 performs the reverse conversion from long integers (lp) to three-
22 byte integers (cp).
23
24 These functions are useful for file-system maintenance; disk addresses
25 are three bytes long.
26
28 filsys(5)
29
30
31
32 L3TOL(3)