49int fs_vmu_shutdown(
void);
51#define IOCTL_VMU_SET_HDR 0x564d5530
73 return fs_ioctl(fd, IOCTL_VMU_SET_HDR, pkg);
Virtual filesystem support.
file_t fs_open(const char *fn, int mode)
Open a file on the VFS.
int fs_close(file_t hnd)
Close an opened file.
int fs_ioctl(file_t hnd, int cmd,...)
Execute a device-specific command on a file descriptor.
int file_t
File descriptor type.
Definition fs.h:94
#define O_DIR
Open as directory.
Definition fs.h:229
static int fs_vmu_set_header(file_t fd, const vmu_pkg_t *pkg)
Set a header to an opened VMU file.
Definition fs_vmu.h:72
static int fs_vmu_set_default_header(const vmu_pkg_t *pkg)
Set a default header for newly created VMU files.
Definition fs_vmu.h:96
VMU Package type.
Definition vmu_pkg.h:46
VMU Packaging functionality.