NCEPLIBS-bacio
2.6.0
fast-byteswap.h
Go to the documentation of this file.
1
7
#ifndef __FAST_BYTESWAP_H__
8
#define __FAST_BYTESWAP_H__
9
10
#include <stdlib.h>
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
16
void
fast_byteswap_errors
(
int
flag);
17
int
fast_byteswap
(
void
*data,
int
bytes,
size_t
count);
18
19
#ifdef __cplusplus
20
}
21
#endif
22
23
#endif
/* ifndef __FAST_BYTESWAP_H__ */
fast_byteswap
int fast_byteswap(void *data, int bytes, size_t count)
Fast byteswap.
Definition:
byteswap.c:146
fast_byteswap_errors
void fast_byteswap_errors(int flag)
Set a flag to turn warnings off for non-aligned pointers.
Definition:
byteswap.c:41
src
fast-byteswap.h
Generated by
1.8.17