P99

◆ P99_HTONS

#define P99_HTONS (   X)    P99_HTON(2, X)

host to network transformation of integers according to the endianness of the platform

Parameters
Xis the value that is to be transformed
Remarks
the "S" for short in the name refers to a base type of uint16_t
See also
P99_HTON
Remarks
argument 0 must expand to a decimal number
argument 1 maybe evaluated several times for its type but only once for its value

Definition at line 1471 of file p99_int.h.