|
| int | flags |
| |
| union { | |
| |
ssize_t(* write_p )(void *ctx, int fd, const
void *data, size_t size) | |
| |
ssize_t(* write )(int fd, const void *data,
size_t size) | |
| |
| }; | | |
| |
| union { | |
| |
off_t(* lseek_p )(void *ctx, int fd, off_t
size, int mode) | |
| |
| off_t(* lseek )(int fd, off_t size, int mode) | |
| |
| }; | | |
| |
| union { | |
| |
ssize_t(* read_p )(void *ctx, int fd, void *dst,
size_t size) | |
| |
| ssize_t(* read )(int fd, void *dst, size_t size) | |
| |
| }; | | |
| |
| union { | |
| |
ssize_t(* pread_p )(void *ctx, int fd, void *dst,
size_t size, off_t offset) | |
| |
ssize_t(* pread )(int fd, void *dst, size_t
size, off_t offset) | |
| |
| }; | | |
| |
| union { | |
| |
ssize_t(* pwrite_p )(void *ctx, int fd, const
void *src, size_t size, off_t
offset) | |
| |
ssize_t(* pwrite )(int fd, const void *src,
size_t size, off_t offset) | |
| |
| }; | | |
| |
| union { | |
| |
int(* open_p )(void *ctx, const char *path,
int flags, int mode) | |
| |
int(* open )(const char *path, int flags,
int mode) | |
| |
| }; | | |
| |
| union { | |
| |
| int(* close_p )(void *ctx, int fd) | |
| |
| int(* close )(int fd) | |
| |
| }; | | |
| |
| union { | |
| |
int(* fstat_p )(void *ctx, int fd, struct
stat *st) | |
| |
| int(* fstat )(int fd, struct stat *st) | |
| |
| }; | | |
| |
| union { | |
| |
int(* stat_p )(void *ctx, const char *path,
struct stat *st) | |
| |
int(* stat )(const char *path, struct
stat *st) | |
| |
| }; | | |
| |
| union { | |
| |
int(* link_p )(void *ctx, const char *n1,
const char *n2) | |
| |
| int(* link )(const char *n1, const char *n2) | |
| |
| }; | | |
| |
| union { | |
| |
| int(* unlink_p )(void *ctx, const char *path) | |
| |
| int(* unlink )(const char *path) | |
| |
| }; | | |
| |
| union { | |
| |
int(* rename_p )(void *ctx, const char *src,
const char *dst) | |
| |
| int(* rename )(const char *src, const char *dst) | |
| |
| }; | | |
| |
| union { | |
| |
| DIR *(* opendir_p )(void *ctx, const char *name) | |
| |
| DIR *(* opendir )(const char *name) | |
| |
| }; | | |
| |
| union { | |
| |
| struct dirent *(* readdir_p )(void *ctx, DIR *pdir) | |
| |
| struct dirent *(* readdir )(DIR *pdir) | |
| |
| }; | | |
| |
| union { | |
| |
int(* readdir_r_p )(void *ctx, DIR *pdir, struct
dirent *entry, struct dirent
**out) | |
| |
int(* readdir_r )(DIR *pdir, struct dirent
*entry, struct dirent **out) | |
| |
| }; | | |
| |
| union { | |
| |
| long(* telldir_p )(void *ctx, DIR *pdir) | |
| |
| long(* telldir )(DIR *pdir) | |
| |
| }; | | |
| |
| union { | |
| |
void(* seekdir_p )(void *ctx, DIR *pdir, long
offset) | |
| |
| void(* seekdir )(DIR *pdir, long offset) | |
| |
| }; | | |
| |
| union { | |
| |
| int(* closedir_p )(void *ctx, DIR *pdir) | |
| |
| int(* closedir )(DIR *pdir) | |
| |
| }; | | |
| |
| union { | |
| |
int(* mkdir_p )(void *ctx, const char *name,
mode_t mode) | |
| |
| int(* mkdir )(const char *name, mode_t mode) | |
| |
| }; | | |
| |
| union { | |
| |
| int(* rmdir_p )(void *ctx, const char *name) | |
| |
| int(* rmdir )(const char *name) | |
| |
| }; | | |
| |
| union { | |
| |
int(* fcntl_p )(void *ctx, int fd, int cmd,
int arg) | |
| |
| int(* fcntl )(int fd, int cmd, int arg) | |
| |
| }; | | |
| |
| union { | |
| |
int(* ioctl_p )(void *ctx, int fd, int cmd,
va_list args) | |
| |
| int(* ioctl )(int fd, int cmd, va_list args) | |
| |
| }; | | |
| |
| union { | |
| |
| int(* fsync_p )(void *ctx, int fd) | |
| |
| int(* fsync )(int fd) | |
| |
| }; | | |
| |
| union { | |
| |
int(* access_p )(void *ctx, const char *path,
int amode) | |
| |
| int(* access )(const char *path, int amode) | |
| |
| }; | | |
| |
| union { | |
| |
int(* truncate_p )(void *ctx, const char *path,
off_t length) | |
| |
| int(* truncate )(const char *path, off_t length) | |
| |
| }; | | |
| |
| union { | |
| |
| int(* ftruncate_p )(void *ctx, int fd, off_t length) | |
| |
| int(* ftruncate )(int fd, off_t length) | |
| |
| }; | | |
| |
| union { | |
| |
int(* utime_p )(void *ctx, const char *path,
const struct utimbuf *times) | |
| |
int(* utime )(const char *path, const
struct utimbuf *times) | |
| |
| }; | | |
| |