mirror of
https://github.com/sheumann/AFPBridge.git
synced 2024-06-20 08:29:29 +00:00
9 lines
128 B
C
9 lines
128 B
C
#include "endian.h"
|
|
#include <stdio.h>
|
|
|
|
int main(void)
|
|
{
|
|
printf("%lx\n", htonl(0x12345678));
|
|
printf("%x\n", htons(0xabcd));
|
|
}
|