Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: dirent.h

closedir()

IMPORT_C int closedir(DIR *);

Description

closes the directory stream that dirp refers to. The memory associated with the directory stream is released. When this function returns, the value of dirp no longer point to an accessible object of type DIR

Parameters

DIR *

Is the directory pointer to close (from opendir()).

Return value

int

a value of zero. On failure, it returns -1