You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
541 B
Groff
20 lines
541 B
Groff
24 years ago
|
.TH uint16_pack_big 3
|
||
|
.SH NAME
|
||
|
uint16_pack_big \- write an unsigned big-endian 16-bit integer
|
||
|
.SH SYNTAX
|
||
|
.B #include <uint16.h>
|
||
|
|
||
|
uint16 \fIu\fR;
|
||
|
|
||
|
void \fBuint16_pack_big\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.
|
||
|
|
||
|
uint16_unpack_big portably reads a uint16 as stored on a big-endian
|
||
|
architecture (i.e. in network byte order) from \fIs\fR and writes it
|
||
|
info \fIr\fR in the native byte order.
|
||
|
|
||
|
.SH "SEE ALSO"
|
||
|
uint16_unpack_big(3), uint16_pack(3)
|