1uint16_pack(3) Library Functions Manual uint16_pack(3)
23
4
NAME
6uint16_pack - write an unsigned little-endian 16-bit integer
7
SYNTAX
9#include <uint16.h>
1011
uint16 u;
1213
void uint16_pack(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 portably writes a uint16 u to s in little-endian byte
20order.
2122
SEE ALSO
24uint16_unpack(3), uint16_pack_big(3)
2526
27
28
uint16_pack(3)