nn::fs::Directory::Read Member Function
s32 Read(
DirectoryEntry pEntries[],
s32 numEntries
);
| Name | Description | |
|---|---|---|
| out | pEntries[] | Location to which to load directory entries. |
| in | numEntries | Maximum number of directory entries to load. |
0 when it has finished scanning all the entries. Loads the specified number of entries from a directory.
Up to numEntries entries are read from the current file position and copied to the region at the address specified by pEntries.
This function does not return processing results and it is therefore impossible to handle errors. In general, use TryRead.
CONFIDENTIAL