![]() |
SIONlib
1.7.1
Scalable I/O library for parallel access to task-local files
|
originally written for VISIT: perform byte-order swapping for arrays More...
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <assert.h>
#include "sion.h"
#include "sion_debug.h"
Go to the source code of this file.
Functions | |
void | sion_swap (void *target, void *source, int size, int n, int aflag) |
originally written for VISIT: perform byte-order swapping for arrays
Definition in file sion_convert.c.
void sion_swap | ( | void * | target, |
void * | source, | ||
int | size, | ||
int | n, | ||
int | aflag | ||
) |
perform byte-order swapping for arrays n units of size byte are swapped if and only if aflag==1 in-place swapping (target==source) is allowed if target != source, the buffers must not overlap
Definition at line 36 of file sion_convert.c.
Referenced by fsion_swap_c().