RTEMS  5.1
Macros
endian.h File Reference
#include <stdint.h>
#include <machine/endian.h>

Go to the source code of this file.

Macros

#define _BYTEORDER_FUNC_DEFINED
 
#define htonl(x)   __htonl(x)
 
#define htons(x)   __htons(x)
 
#define ntohl(x)   __ntohl(x)
 
#define ntohs(x)   __ntohs(x)
 
#define NTOHS(x)   (x) = ntohs(x)
 
#define HTONS(x)   (x) = htons(x)
 
#define NTOHL(x)   (x) = ntohl(x)
 
#define HTONL(x)   (x) = htonl(x)
 

Detailed Description

This include file provides endian information about the target.