10 #include <sys/types.h> 11 #include "../../services/fs.h" 13 #define FSDEV_DIRITER_MAGIC 0x66736476 FsDir fd
File descriptor.
Definition: fs_dev.h:19
Result fsdevCommitDevice(const char *name)
Uses fsFsCommit() with the specified device.
ssize_t index
Current entry index.
Definition: fs_dev.h:20
size_t size
Current batch size.
Definition: fs_dev.h:21
FsFileSystem * fsdevGetDefaultFileSystem(void)
Returns the FsFileSystem for the default device (SD card), if mounted. Used internally by romfs_dev...
u32 Result
Function error code result type.
Definition: types.h:46
Result fsdevMountSdmc(void)
Initializes and mounts the sdmc device if accessible. Also initializes current working directory to p...
Result fsdevUnmountAll(void)
Unmounts all devices and cleans up any resources used by the FS driver.
uint32_t u32
32-bit unsigned integer.
Definition: types.h:23
int fsdevMountDevice(const char *name, FsFileSystem fs)
Mounts the input fs with the specified device name.
u32 magic
"fsdv"
Definition: fs_dev.h:18
Open directory struct.
Definition: fs_dev.h:16
int fsdevUnmountDevice(const char *name)
Unmounts the specified device.
Directory entry.
Definition: fs.h:52