|
|
1.1 root 1: /*
2: * miscellany
3: */
4:
5: #include "defs.h"
6:
7:
8: /*
9: * swap bytes in a long
10: */
11:
12: long
13: swal(l)
14: long l;
15: {
16:
17: return (((l >> 16) & 0xffff) | ((l & 0xffff) << 16));
18: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.