Programmer's Reference
After all the desired directory entries have been read, the directory
descriptor must be closed by sending it the closedir message before
it is discarded. This deallocates any operating system resources
associated with the directory descriptor.
- Tip:
- Sending rewinddir to a CfsDirectoryDescriptor instance
has the same effect as closing and reopening the directory descriptor, but is
more efficient on some platforms. The search will resume from the first
entry in the directory.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]