SIONlib  1.7.7
Scalable I/O library for parallel access to task-local files
Macros | Functions
sion_tools.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include "sion.h"
#include "sion_debug.h"
#include "sion_error_handler.h"
#include "sion_internal.h"
#include "sion_fd.h"
#include "sion_filedesc.h"
#include "sion_tools.h"
Include dependency graph for sion_tools.c:

Go to the source code of this file.

Macros

#define _XOPEN_SOURCE   700
 

Functions

int sion_get_endianness (void)
 Return endianness. More...
 
int sion_get_version (int *main_version, int *sub_version, int *patch_level, int *fileformat_version)
 Return version numbers. More...
 
FILE * sion_get_fp (int sid)
 
int sion_get_fd (int sid)
 
_sion_filedesc_sion_get_filedesc (int sid)
 

Function Documentation

◆ sion_get_endianness()

int sion_get_endianness ( void  )

Return endianness.

Returns
1-> big endian 0 ->little endian

Definition at line 32 of file sion_tools.c.

Referenced by fsion_get_endianness_c().

◆ sion_get_version()

int sion_get_version ( int *  main_version,
int *  sub_version,
int *  patch_level,
int *  fileformat_version 
)

Return version numbers.

return version numbers

Definition at line 51 of file sion_tools.c.