c-hglib
 All Data Structures Files Functions Variables Typedefs Macros
utils.c File Reference
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include "utils.h"

Go to the source code of this file.

Functions

uint32_t swap_uint32 (uint32_t val)
 Byte swap unsigned int.

Function Documentation

uint32_t swap_uint32 ( uint32_t  val)

Byte swap unsigned int.

Parameters
valan uint32_t integer
Return values
uint32_tthe bigendian form of val value

Definition at line 10 of file utils.c.