| 6567 | } |
| 6568 | |
| 6569 | bool IsBigEndian(void) |
| 6570 | { |
| 6571 | union { |
| 6572 | unsigned int i; |
| 6573 | char c[4]; |
| 6574 | } bint = {0x01020304}; |
| 6575 | |
| 6576 | return bint.c[0] == 1; |
| 6577 | } |
| 6578 | |
| 6579 | void |
| 6580 | swap2(unsigned short* val) |
no outgoing calls
no test coverage detected