NCEPLIBS-bacio
2.5.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... | |
Header file for byteswap functions.
Definition in file fast-byteswap.h.
int fast_byteswap | ( | void * | data, |
int | bytes, | ||
size_t | count | ||
) |
Fast byteswap.
data | data |
bytes | Number of bytes |
count | Count. |
Definition at line 136 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 39 of file byteswap.c.
References send_errors.