= {
.name = "tty",
.blockSize = 1,
.desc = "MONITOR_SIO1",
.action = ttyAction,
.undelete = (void *)ttyNull,
.chdir = (void *)ttyNull,
.check = (void *)ttyNull,
}
struct DirEntry *(* device_firstFile)(struct File *file, const char *filename, struct DirEntry *entry)
Definition device.h:56
void(* device_init)()
Definition device.h:48
int(* device_open)(struct File *, const char *filename, int mode)
Definition device.h:49
struct DirEntry *(* device_nextFile)(struct File *file, struct DirEntry *entry)
Definition device.h:57
int(* device_close)(struct File *)
Definition device.h:51
int(* device_ioctl)(struct File *, int cmd, int arg)
Definition device.h:52
int(* device_format)(struct File *file)
Definition device.h:58
void(* device_deinit)()
Definition device.h:60
int(* device_erase)(struct File *, const char *path)
Definition device.h:55
@ PSXDTTYPE_CONS
Definition device.h:42
@ PSXDTTYPE_CHAR
Definition device.h:41
int(* device_rename)(struct File *oldFile, const char *oldName, struct File *newFile, const char *newName)
Definition device.h:59
int(* device_write)(struct File *, void *buffer, int size)
Definition device.h:54
int(* device_read)(struct File *, void *buffer, int size)
Definition device.h:53
struct DirEntry * nextFile(struct DirEntry *entry)
Definition filesystem.c:58