|
|
1.1 ! root 1: .\" Copyright (c) 1980 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)l3tol.3 4.1 (Berkeley) 5/15/85 ! 6: .\" ! 7: .TH L3TOL 3 ! 8: .AT 3 ! 9: .SH NAME ! 10: l3tol, ltol3 \- convert between 3-byte integers and long integers ! 11: .SH SYNOPSIS ! 12: .nf ! 13: .B l3tol(lp, cp, n) ! 14: .B long *lp; ! 15: .B char *cp; ! 16: .PP ! 17: .B ltol3(cp, lp, n) ! 18: .B char *cp; ! 19: .B long *lp; ! 20: .fi ! 21: .SH DESCRIPTION ! 22: .I L3tol ! 23: converts a list of ! 24: .I n ! 25: three-byte integers packed into a character string ! 26: pointed to by ! 27: .I cp ! 28: into a list of long integers pointed to by ! 29: .IR lp . ! 30: .PP ! 31: .I Ltol3 ! 32: performs the reverse conversion from long integers ! 33: .RI ( lp ) ! 34: to three-byte integers ! 35: .RI ( cp ). ! 36: .PP ! 37: These functions are useful for file-system maintenance ! 38: where the i-numbers are three bytes long. ! 39: .SH SEE ALSO ! 40: filsys(5)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.