diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 21:07:28 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 21:07:28 -0400 |
| commit | 711594636704defae873be1a355a292505585afd (patch) | |
| tree | 59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man3/l3tol.3 | |
| parent | 3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff) | |
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man3/l3tol.3')
| -rw-r--r-- | static/v10/man3/l3tol.3 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/static/v10/man3/l3tol.3 b/static/v10/man3/l3tol.3 new file mode 100644 index 00000000..75009964 --- /dev/null +++ b/static/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) |
