1L3TOL(3)                   Library Functions Manual                   L3TOL(3)
2
3
4

NAME

6       l3tol, ltol3 - convert between 3-byte and long integers (2BSD)
7

SYNOPSIS

9       l3tol(lp, cp, n)
10       long *lp;
11       char *cp;
12
13       ltol3(cp, lp, n)
14       char *cp;
15       long *lp;
16

DESCRIPTION

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 inverse conversion from long integers (lp) to three-
22       byte integers (cp).
23
24       These functions are useful for file-system maintenance under 2BSD where
25       disk addresses within inodes are three bytes long.
26

SEE ALSO

28       fs(5)
29

BUGS

31       l3tol and ltol3 are unique to the PDP-11 and 2BSD; their  use  is  dis‐
32       couraged.
33
34
35
363rd Berkeley Distribution                                             L3TOL(3)
Impressum