#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
|
static int | PLMD::molfile::fio_open (const char *filename, int mode, fio_fd *fd) |
|
static int | PLMD::molfile::fio_fclose (fio_fd fd) |
|
static fio_size_t | PLMD::molfile::fio_fread (void *ptr, fio_size_t size, fio_size_t nitems, fio_fd fd) |
|
static fio_size_t | PLMD::molfile::fio_readv (fio_fd fd, const fio_iovec *iov, int iovcnt) |
|
static fio_size_t | PLMD::molfile::fio_fwrite (void *ptr, fio_size_t size, fio_size_t nitems, fio_fd fd) |
|
static fio_size_t | PLMD::molfile::fio_fseek (fio_fd fd, fio_size_t offset, int whence) |
|
static fio_size_t | PLMD::molfile::fio_ftell (fio_fd fd) |
|
static int | PLMD::molfile::fio_write_int32 (fio_fd fd, int i) |
|
static int | PLMD::molfile::fio_read_int32 (fio_fd fd, int *i) |
|
static int | PLMD::molfile::fio_write_str (fio_fd fd, const char *str) |
|
#define FIO_DIRECT 0x04 /* emulate Unix O_DIRECT flag */ |
#define FIO_SEEK_CUR SEEK_CUR |
#define FIO_SEEK_END SEEK_END |
#define FIO_SEEK_SET SEEK_SET |