insect-types.h
static inline uint64_t htonll(uint64_t n)
{
#if __BYTE_ORDER == __BIG_ENDIAN
    return n;
#else
    return (((uint64_t)htonl(n)) << 32) + htonl(n >> 32);
#endif
}
/** Convert 64-bit integer from host order to big-endian, if necessary. */
Convert 64-bit integer from host order to big-endian, if necessary.
Convert 64 - bit integer from host order to big - endian if necessary .
static inline uint64_t htonll(uint64_t n)
{
#if __BYTE_ORDER == __BIG_ENDIAN
    return n;
#else
    return (((uint64_t)htonl(n)) << 32) + htonl(n >> 32);
#endif
}
static inline uint64_t htonll ( uint64_t n ) { #if __BYTE_ORDER == __BIG_ENDIAN return n ; #else return ( ( ( uint64_t ) htonl ( n ) ) << 32 ) + htonl ( n >> 32 ) ; #endif }
Convert 64-bit integer from host order to big-endian, if necessary.
Convert 64 - bit integer from host order to big - endian if necessary .