1uint16_pack_big(3) Library Functions Manual uint16_pack_big(3)
23
4
NAME
6uint16_pack_big - write an unsigned big-endian 16-bit integer
7
SYNTAX
9#include <uint16.h>
1011
uint16 u;
1213
void uint16_pack_big(char s[2],uint16 u);
14
DESCRIPTION
16uint16 is a 16-bit unsigned integer type, normally either unsigned int
17or unsigned long.
1819
uint16_pack_big portably writes a uint16 u to s in big-endian (i.e.
20network) byte order.
2122
SEE ALSO
24uint16_unpack_big(3), uint16_pack(3)
2526
27
28
uint16_pack_big(3)