#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <limits.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/stat.h>
#include "hpcio.h"
Go to the source code of this file.
|
FILE * | hpcio_fopen_w (const char *fnm, int overwrite) |
|
FILE * | hpcio_fopen_r (const char *fnm) |
|
FILE * | hpcio_fopen_rw (const char *fnm) |
|
int | hpcio_fclose (FILE *fs) |
|
size_t | hpcio_le2_fread (uint16_t *val, FILE *fs) |
|
size_t | hpcio_le4_fread (uint32_t *val, FILE *fs) |
|
size_t | hpcio_le8_fread (uint64_t *val, FILE *fs) |
|
size_t | hpcio_le2_fwrite (uint16_t *val, FILE *fs) |
|
size_t | hpcio_le4_fwrite (uint32_t *val, FILE *fs) |
|
size_t | hpcio_le8_fwrite (uint64_t *val, FILE *fs) |
|
size_t | hpcio_be2_fread (uint16_t *val, FILE *fs) |
|
size_t | hpcio_be4_fread (uint32_t *val, FILE *fs) |
|
size_t | hpcio_be8_fread (uint64_t *val, FILE *fs) |
|
size_t | hpcio_beX_fread (uint8_t *val, size_t size, FILE *fs) |
|
size_t | hpcio_be2_fwrite (uint16_t *val, FILE *fs) |
|
size_t | hpcio_be4_fwrite (uint32_t *val, FILE *fs) |
|
size_t | hpcio_be8_fwrite (uint64_t *val, FILE *fs) |
|
size_t | hpcio_beX_fwrite (uint8_t *val, size_t size, FILE *fs) |
|
◆ _POSIX_SOURCE
◆ _SVID_SOURCE
◆ hpcio_be2_fread()
size_t hpcio_be2_fread |
( |
uint16_t * |
val, |
|
|
FILE * |
fs |
|
) |
| |
◆ hpcio_be2_fwrite()
size_t hpcio_be2_fwrite |
( |
uint16_t * |
val, |
|
|
FILE * |
fs |
|
) |
| |
◆ hpcio_be4_fread()
size_t hpcio_be4_fread |
( |
uint32_t * |
val, |
|
|
FILE * |
fs |
|
) |
| |
◆ hpcio_be4_fwrite()
size_t hpcio_be4_fwrite |
( |
uint32_t * |
val, |
|
|
FILE * |
fs |
|
) |
| |
◆ hpcio_be8_fread()
size_t hpcio_be8_fread |
( |
uint64_t * |
val, |
|
|
FILE * |
fs |
|
) |
| |
◆ hpcio_be8_fwrite()
size_t hpcio_be8_fwrite |
( |
uint64_t * |
val, |
|
|
FILE * |
fs |
|
) |
| |
◆ hpcio_beX_fread()
size_t hpcio_beX_fread |
( |
uint8_t * |
val, |
|
|
size_t |
size, |
|
|
FILE * |
fs |
|
) |
| |
◆ hpcio_beX_fwrite()
size_t hpcio_beX_fwrite |
( |
uint8_t * |
val, |
|
|
size_t |
size, |
|
|
FILE * |
fs |
|
) |
| |
◆ hpcio_fclose()
int hpcio_fclose |
( |
FILE * |
fs | ) |
|
◆ hpcio_fopen_r()
FILE* hpcio_fopen_r |
( |
const char * |
fnm | ) |
|
◆ hpcio_fopen_rw()
FILE* hpcio_fopen_rw |
( |
const char * |
fnm | ) |
|
◆ hpcio_fopen_w()
FILE* hpcio_fopen_w |
( |
const char * |
fnm, |
|
|
int |
overwrite |
|
) |
| |
◆ hpcio_le2_fread()
size_t hpcio_le2_fread |
( |
uint16_t * |
val, |
|
|
FILE * |
fs |
|
) |
| |
◆ hpcio_le2_fwrite()
size_t hpcio_le2_fwrite |
( |
uint16_t * |
val, |
|
|
FILE * |
fs |
|
) |
| |
◆ hpcio_le4_fread()
size_t hpcio_le4_fread |
( |
uint32_t * |
val, |
|
|
FILE * |
fs |
|
) |
| |
◆ hpcio_le4_fwrite()
size_t hpcio_le4_fwrite |
( |
uint32_t * |
val, |
|
|
FILE * |
fs |
|
) |
| |
◆ hpcio_le8_fread()
size_t hpcio_le8_fread |
( |
uint64_t * |
val, |
|
|
FILE * |
fs |
|
) |
| |
◆ hpcio_le8_fwrite()
size_t hpcio_le8_fwrite |
( |
uint64_t * |
val, |
|
|
FILE * |
fs |
|
) |
| |