Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
466 B

22 years ago
.TH uint16_pack_big 3
uint16_pack_big \- write an unsigned big-endian 16-bit integer
.B #include <uint16.h>
uint16 \fIu\fR;
void \fBuint16_pack_big\fP(char \fIs\fR[2],uint16 \fIu\fR);
uint16 is a 16-bit unsigned integer type, normally either unsigned int
or unsigned long.
uint16_pack_big portably writes a uint16 \fIu\fR to \fIs\fR in
big-endian (i.e. network) byte order.
22 years ago
uint16_unpack_big(3), uint16_pack(3)