home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Serving the Web
/
ServingTheWeb1995.disc1of1.iso
/
linux
/
slacksrce
/
d
/
libc
/
libc-4.6
/
libc-4
/
libc-linux
/
sysdeps
/
m68k
/
hton.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-01-24
|
245 b
|
20 lines
#include <ansidecl.h>
#include <netinet/in.h>
#undef ntohl
#undef ntohs
#undef htonl
#undef htons
unsigned long int
htonl(unsigned long int x)
{
return __htonl (x);
}
unsigned short int
htons(unsigned short int x)
{
return __htons (x);
}