|
|
1.1 ! root 1: .TH L3TOL 3 ! 2: .CT 2 data_man ! 3: .SH NAME ! 4: l3tol, ltol3 \(mi convert between 3-byte integers and long integers ! 5: .SH SYNOPSIS ! 6: .nf ! 7: .B l3tol(lp, cp, n) ! 8: .B long *lp; ! 9: .B char *cp; ! 10: .PP ! 11: .B ltol3(cp, lp, n) ! 12: .B char *cp; ! 13: .B long *lp; ! 14: .fi ! 15: .SH DESCRIPTION ! 16: .I L3tol ! 17: converts a list of ! 18: .I n ! 19: three-byte integers packed into a character string ! 20: pointed to by ! 21: .I cp ! 22: into a list of long integers pointed to by ! 23: .IR lp . ! 24: .PP ! 25: .I Ltol3 ! 26: performs the reverse conversion from long integers ! 27: .RI ( lp ) ! 28: to three-byte integers ! 29: .RI ( cp ). ! 30: .PP ! 31: These functions are useful for file-system maintenance ! 32: where the block numbers are three bytes long. ! 33: .SH SEE ALSO ! 34: .IR filsys (5)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.