Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: dirent.h

readdir()

IMPORT_C struct dirent *readdir(DIR *);

Description

Returns a pointer to a dirent structure representing the next directory entry in the directory stream pointed to be dir. It returns NULL on reaching the end-of-file or if an error occurred.

Parameters

DIR *

Points to the directory stream of the directory.

Return value

struct dirent *

a pointer to a dirent structure, or NULL if an error occurs or end-of-file is reached.