File: uint32_unpack_big.3

package info (click to toggle)
libowfat 0.22-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,148 kB
  • ctags: 976
  • sloc: ansic: 10,424; makefile: 42
file content (19 lines) | stat: -rw-r--r-- 553 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.TH uint32_unpack_big 3
.SH NAME
uint32_unpack_big \- read an unsigned big-endian 32-bit integer
.SH SYNTAX
.B #include <uint32.h>

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
into \fIu\fR in the native byte order.

.SH "SEE ALSO"
uint32_pack_big(3), uint32_unpack(3)