![]() |
PSP2SDK
dirty-f9e4f2d
The free SDK for PSP2
|
Header file which describes the directory entry struct. More...

Go to the source code of this file.
Data Structures | |
| struct | SceIoDirent |
Typedefs | |
| typedef struct SceIoDirent | SceIoDirent |
Functions | |
| SceUID | sceIoDopen (const char *dirname) |
| int | sceIoDread (SceUID fd, SceIoDirent *dir) |
| int | sceIoDclose (SceUID fd) |
Header file which describes the directory entry struct.
Copyright (C) 2015 PSP2SDK Project
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
| typedef struct SceIoDirent SceIoDirent |
Describes a single directory entry
| int sceIoDclose | ( | SceUID | fd | ) |
Close an opened directory file descriptor
| fd | - Already opened file descriptor (using sceIoDopen) |
| SceUID sceIoDopen | ( | const char * | dirname | ) |
Open a directory
int dfd; dfd = sceIoDopen("device:/"); if(dfd >= 0) { Do something with the file descriptor }
| dirname | - The directory to open for reading. |
| int sceIoDread | ( | SceUID | fd, |
| SceIoDirent * | dir | ||
| ) |
Reads an entry from an opened file descriptor.
| fd | - Already opened file descriptor (using sceIoDopen) |
| dir | - Pointer to an io_dirent_t structure to hold the file information |
1.7.6.1