COHERENT manpages

This page displays the COHERENT manpage for ltol3() [Convert long integer to file system block number].

List of available manpages
Index


ltol3() -- General Function (libc)

Convert long integer to file system block number
ltol3(l3p, lp, n)
char *l3p;
long *lp;
unsigned n;

To  conserve space  inside  i-nodes in  COHERENT file  systems, the  system
stores block addresses in three bytes.  Programs that reference or maintain
file systems  use the functions l3tol() and ltol3()  to convert between the
three byte representation and long numbers.

ltol3() converts n long integers at  address lp to the more compact form at
address l3p.

See Also

libc