diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
| commit | 97d5c458cfa039d857301e1ca7d5af3beb37131d (patch) | |
| tree | b460cd850d0537eb71806ba30358840377b27688 /static/unix-v10/man3/l3tol.3 | |
| parent | b89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff) | |
build: Better Build System
Diffstat (limited to 'static/unix-v10/man3/l3tol.3')
| -rw-r--r-- | static/unix-v10/man3/l3tol.3 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/static/unix-v10/man3/l3tol.3 b/static/unix-v10/man3/l3tol.3 new file mode 100644 index 00000000..75009964 --- /dev/null +++ b/static/unix-v10/man3/l3tol.3 @@ -0,0 +1,34 @@ +.TH L3TOL 3 +.CT 2 data_man +.SH NAME +l3tol, ltol3 \(mi convert between 3-byte integers and long integers +.SH SYNOPSIS +.nf +.B l3tol(lp, cp, n) +.B long *lp; +.B char *cp; +.PP +.B ltol3(cp, lp, n) +.B char *cp; +.B long *lp; +.fi +.SH DESCRIPTION +.I L3tol +converts a list of +.I n +three-byte integers packed into a character string +pointed to by +.I cp +into a list of long integers pointed to by +.IR lp . +.PP +.I Ltol3 +performs the reverse conversion from long integers +.RI ( lp ) +to three-byte integers +.RI ( cp ). +.PP +These functions are useful for file-system maintenance +where the block numbers are three bytes long. +.SH SEE ALSO +.IR filsys (5) |
