SIONlib  1.7.1
Scalable I/O library for parallel access to task-local files
Functions
sion_convert.c File Reference

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"
Include dependency graph for sion_convert.c:

Go to the source code of this file.

Functions

void sion_swap (void *target, void *source, int size, int n, int aflag)
 

Detailed Description

originally written for VISIT: perform byte-order swapping for arrays

Author
Th.Eickermann & W.Frings (December 2000)

Definition in file sion_convert.c.

Function Documentation

◆ sion_swap()

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().

Here is the caller graph for this function: