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/swab.3 | |
| parent | 3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff) | |
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man3/swab.3')
| -rw-r--r-- | static/v10/man3/swab.3 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/static/v10/man3/swab.3 b/static/v10/man3/swab.3 new file mode 100644 index 00000000..d84df35e --- /dev/null +++ b/static/v10/man3/swab.3 @@ -0,0 +1,22 @@ +.TH SWAB 3 +.CT 2 data_man +.SH NAME +swab \(mi swap bytes +.SH SYNOPSIS +.nf +.B swab(from, to, nbytes) +.B char *from, *to; +.fi +.SH DESCRIPTION +.I Swab +copies +.I nbytes +bytes pointed to by +.I from +to the position pointed to by +.I to, +exchanging adjacent even and odd bytes. +It is useful for carrying binary data between +machines with different byte orders. +.I Nbytes +should be even. |
