HDF5  1.12.0
Data Structures | Macros | Typedefs | Enumerations | Functions
H5FDstdio.c File Reference
#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include "hdf5.h"

Data Structures

struct  H5FD_stdio_t
 

Macros

#define file_fseek   fseeko
 
#define file_offset_t   off_t
 
#define file_ftruncate   ftruncate
 
#define file_ftell   ftello
 
#define MAXADDR   (((haddr_t)1<<(8*sizeof(file_offset_t)-1))-1)
 
#define ADDR_OVERFLOW(A)   (HADDR_UNDEF==(A) || ((A) & ~(haddr_t)MAXADDR))
 
#define SIZE_OVERFLOW(Z)   ((Z) & ~(hsize_t)MAXADDR)
 
#define REGION_OVERFLOW(A, Z)
 

Typedefs

typedef struct H5FD_stdio_t H5FD_stdio_t
 

Enumerations

enum  H5FD_stdio_file_op { H5FD_STDIO_OP_UNKNOWN =0, H5FD_STDIO_OP_READ =1, H5FD_STDIO_OP_WRITE =2, H5FD_STDIO_OP_SEEK =3 }
 

Functions

hid_t H5FD_stdio_init (void)
 
herr_t H5Pset_fapl_stdio (hid_t fapl_id)
 

Macro Definition Documentation

◆ ADDR_OVERFLOW

#define ADDR_OVERFLOW (   A)    (HADDR_UNDEF==(A) || ((A) & ~(haddr_t)MAXADDR))

◆ file_fseek

#define file_fseek   fseeko

◆ file_ftell

#define file_ftell   ftello

◆ file_ftruncate

#define file_ftruncate   ftruncate

◆ file_offset_t

#define file_offset_t   off_t

◆ MAXADDR

#define MAXADDR   (((haddr_t)1<<(8*sizeof(file_offset_t)-1))-1)

◆ REGION_OVERFLOW

#define REGION_OVERFLOW (   A,
 
)
Value:
HADDR_UNDEF==(A)+(Z) || (file_offset_t)((A)+(Z))<(file_offset_t)(A))

◆ SIZE_OVERFLOW

#define SIZE_OVERFLOW (   Z)    ((Z) & ~(hsize_t)MAXADDR)

Typedef Documentation

◆ H5FD_stdio_t

typedef struct H5FD_stdio_t H5FD_stdio_t

Enumeration Type Documentation

◆ H5FD_stdio_file_op

Enumerator
H5FD_STDIO_OP_UNKNOWN 
H5FD_STDIO_OP_READ 
H5FD_STDIO_OP_WRITE 
H5FD_STDIO_OP_SEEK 

Function Documentation

◆ H5FD_stdio_init()

hid_t H5FD_stdio_init ( void  )

◆ H5Pset_fapl_stdio()

herr_t H5Pset_fapl_stdio ( hid_t  fapl_id)
file_offset_t
#define file_offset_t
Definition: H5FDstdio.c:133
ADDR_OVERFLOW
#define ADDR_OVERFLOW(A)
Definition: H5FDstdio.c:154
SIZE_OVERFLOW
#define SIZE_OVERFLOW(Z)
Definition: H5FDstdio.c:155