LibXenon
Bare-metal Xbox 360 homebrew library
Loading...
Searching...
No Matches
Data Fields
devoptab_t Struct Reference

#include <iosupport.h>

Collaboration diagram for devoptab_t:
Collaboration graph
[legend]

Data Fields

const char * name
 
int structSize
 
int(* open_r )(struct _reent *r, void *fileStruct, const char *path, int flags, int mode)
 
int(* close_r )(struct _reent *r, int fd)
 
ssize_t(* write_r )(struct _reent *r, int fd, const char *ptr, size_t len)
 
ssize_t(* read_r )(struct _reent *r, int fd, char *ptr, size_t len)
 
off_t(* seek_r )(struct _reent *r, int fd, off_t pos, int dir)
 
int(* fstat_r )(struct _reent *r, int fd, struct stat *st)
 
int(* stat_r )(struct _reent *r, const char *file, struct stat *st)
 
int(* link_r )(struct _reent *r, const char *existing, const char *newLink)
 
int(* unlink_r )(struct _reent *r, const char *name)
 
int(* chdir_r )(struct _reent *r, const char *name)
 
int(* rename_r )(struct _reent *r, const char *oldName, const char *newName)
 
int(* mkdir_r )(struct _reent *r, const char *path, int mode)
 
int dirStateSize
 
DIR_ITER *(* diropen_r )(struct _reent *r, DIR_ITER *dirState, const char *path)
 
int(* dirreset_r )(struct _reent *r, DIR_ITER *dirState)
 
int(* dirnext_r )(struct _reent *r, DIR_ITER *dirState, char *filename, struct stat *filestat)
 
int(* dirclose_r )(struct _reent *r, DIR_ITER *dirState)
 
int(* statvfs_r )(struct _reent *r, const char *path, struct statvfs *buf)
 
int(* ftruncate_r )(struct _reent *r, int fd, off_t len)
 
int(* fsync_r )(struct _reent *r, int fd)
 
void * deviceData
 
int(* chmod_r )(struct _reent *r, const char *path, mode_t mode)
 
int(* fchmod_r )(struct _reent *r, int fd, mode_t mode)
 

Detailed Description

Definition at line 33 of file iosupport.h.

Field Documentation

◆ chdir_r

int(* devoptab_t::chdir_r) (struct _reent *r, const char *name)

Definition at line 45 of file iosupport.h.

◆ chmod_r

int(* devoptab_t::chmod_r) (struct _reent *r, const char *path, mode_t mode)

Definition at line 61 of file iosupport.h.

◆ close_r

int(* devoptab_t::close_r) (struct _reent *r, int fd)

Definition at line 37 of file iosupport.h.

◆ deviceData

void* devoptab_t::deviceData

Definition at line 59 of file iosupport.h.

◆ dirclose_r

int(* devoptab_t::dirclose_r) (struct _reent *r, DIR_ITER *dirState)

Definition at line 54 of file iosupport.h.

◆ dirnext_r

int(* devoptab_t::dirnext_r) (struct _reent *r, DIR_ITER *dirState, char *filename, struct stat *filestat)

Definition at line 53 of file iosupport.h.

◆ diropen_r

DIR_ITER *(* devoptab_t::diropen_r) (struct _reent *r, DIR_ITER *dirState, const char *path)

Definition at line 51 of file iosupport.h.

◆ dirreset_r

int(* devoptab_t::dirreset_r) (struct _reent *r, DIR_ITER *dirState)

Definition at line 52 of file iosupport.h.

◆ dirStateSize

int devoptab_t::dirStateSize

Definition at line 49 of file iosupport.h.

◆ fchmod_r

int(* devoptab_t::fchmod_r) (struct _reent *r, int fd, mode_t mode)

Definition at line 62 of file iosupport.h.

◆ fstat_r

int(* devoptab_t::fstat_r) (struct _reent *r, int fd, struct stat *st)

Definition at line 41 of file iosupport.h.

◆ fsync_r

int(* devoptab_t::fsync_r) (struct _reent *r, int fd)

Definition at line 57 of file iosupport.h.

◆ ftruncate_r

int(* devoptab_t::ftruncate_r) (struct _reent *r, int fd, off_t len)

Definition at line 56 of file iosupport.h.

◆ link_r

int(* devoptab_t::link_r) (struct _reent *r, const char *existing, const char *newLink)

Definition at line 43 of file iosupport.h.

◆ mkdir_r

int(* devoptab_t::mkdir_r) (struct _reent *r, const char *path, int mode)

Definition at line 47 of file iosupport.h.

◆ name

const char* devoptab_t::name

Definition at line 34 of file iosupport.h.

◆ open_r

int(* devoptab_t::open_r) (struct _reent *r, void *fileStruct, const char *path, int flags, int mode)

Definition at line 36 of file iosupport.h.

◆ read_r

ssize_t(* devoptab_t::read_r) (struct _reent *r, int fd, char *ptr, size_t len)

Definition at line 39 of file iosupport.h.

◆ rename_r

int(* devoptab_t::rename_r) (struct _reent *r, const char *oldName, const char *newName)

Definition at line 46 of file iosupport.h.

◆ seek_r

off_t(* devoptab_t::seek_r) (struct _reent *r, int fd, off_t pos, int dir)

Definition at line 40 of file iosupport.h.

◆ stat_r

int(* devoptab_t::stat_r) (struct _reent *r, const char *file, struct stat *st)

Definition at line 42 of file iosupport.h.

◆ statvfs_r

int(* devoptab_t::statvfs_r) (struct _reent *r, const char *path, struct statvfs *buf)

Definition at line 55 of file iosupport.h.

◆ structSize

int devoptab_t::structSize

Definition at line 35 of file iosupport.h.

◆ unlink_r

int(* devoptab_t::unlink_r) (struct _reent *r, const char *name)

Definition at line 44 of file iosupport.h.

◆ write_r

ssize_t(* devoptab_t::write_r) (struct _reent *r, int fd, const char *ptr, size_t len)

Definition at line 38 of file iosupport.h.


The documentation for this struct was generated from the following file: