NCEPLIBS-bacio
2.6.0
|
Header file for byteswap functions. More...
#include <stdlib.h>
Go to the source code of this file.
Functions | |
int | fast_byteswap (void *data, int bytes, size_t count) |
Fast byteswap. More... | |
void | fast_byteswap_errors (int flag) |
Set a flag to turn warnings off for non-aligned pointers. More... | |
int fast_byteswap | ( | void * | data, |
int | bytes, | ||
size_t | count | ||
) |
Fast byteswap.
data | data |
bytes | Number of bytes |
count | Count. |
Definition at line 146 of file byteswap.c.
References macro_swap_64(), simple_swap_16(), and simple_swap_32().
Referenced by byteswap_().
void fast_byteswap_errors | ( | int | flag | ) |
Set a flag to turn warnings off for non-aligned pointers.
flag | Set to 0 to turn off warnings, non-zero to turn them on (the default). |
Definition at line 41 of file byteswap.c.
References send_errors.