2001-02-02 17:54:47 +00:00
|
|
|
.TH uint32_unpack_big 3
|
|
|
|
.SH NAME
|
|
|
|
uint32_unpack_big \- read an unsigned big-endian 32-bit integer
|
|
|
|
.SH SYNTAX
|
2017-05-13 22:51:26 +00:00
|
|
|
.B #include <libowfat/uint32.h>
|
2001-02-02 17:54:47 +00:00
|
|
|
|
|
|
|
uint32 \fIu\fR;
|
|
|
|
|
|
|
|
void \fBuint32_unpack_big\fP(const char \fIs\fR[4],uint32 *\fIu\fR);
|
|
|
|
.SH DESCRIPTION
|
|
|
|
uint32 is a 32-bit unsigned integer type, normally either unsigned int
|
|
|
|
or unsigned long.
|
|
|
|
|
|
|
|
uint32_unpack_big portably reads a uint32 as stored on a big-endian
|
|
|
|
architecture (i.e. in network byte order) from \fIs\fR and writes it
|
2003-01-27 02:16:43 +00:00
|
|
|
into \fIu\fR in the native byte order.
|
2001-02-02 17:54:47 +00:00
|
|
|
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
uint32_pack_big(3), uint32_unpack(3)
|