|
|
1.1 root 1: .TH SWAB 3
2: .CT 2 data_man
3: .SH NAME
4: swab \(mi swap bytes
5: .SH SYNOPSIS
6: .nf
7: .B swab(from, to, nbytes)
8: .B char *from, *to;
9: .fi
10: .SH DESCRIPTION
11: .I Swab
12: copies
13: .I nbytes
14: bytes pointed to by
15: .I from
16: to the position pointed to by
17: .I to,
18: exchanging adjacent even and odd bytes.
19: It is useful for carrying binary data between
20: machines with different byte orders.
21: .I Nbytes
22: should be even.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.