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. Returns the number of entries that were actually copied.
Returns 0 when it has finished scanning all the entries.
CONFIDENTIAL