2001-02-02 17:54:47 +00:00
|
|
|
.TH uint16_pack 3
|
|
|
|
.SH NAME
|
|
|
|
uint16_pack \- write an unsigned little-endian 16-bit integer
|
|
|
|
.SH SYNTAX
|
2017-05-13 22:51:26 +00:00
|
|
|
.B #include <libowfat/uint16.h>
|
2001-02-02 17:54:47 +00:00
|
|
|
|
|
|
|
uint16 \fIu\fR;
|
|
|
|
|
|
|
|
void \fBuint16_pack\fP(char \fIs\fR[2],uint16 \fIu\fR);
|
|
|
|
.SH DESCRIPTION
|
|
|
|
uint16 is a 16-bit unsigned integer type, normally either unsigned int
|
|
|
|
or unsigned long.
|
|
|
|
|
2002-06-02 00:40:43 +00:00
|
|
|
uint16_pack portably writes a uint16 \fIu\fR to \fIs\fR in
|
|
|
|
little-endian byte order.
|
2001-02-02 17:54:47 +00:00
|
|
|
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
uint16_unpack(3), uint16_pack_big(3)
|