RTEMS Logo

RTEMS 4.7.99.2 On-Line Library


Files and Directories Manager rewinddir - Resets the readdir() pointer

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

4.4.3: rewinddir - Resets the readdir() pointer

CALLING SEQUENCE:

#include <sys/types.h>
#include <dirent.h>

void rewinddir(
  DIR *dirp
);

STATUS CODES:

No value is returned.

DESCRIPTION:

The rewinddir() function resets the position associated with the directory stream pointed to by dirp. It also causes the directory stream to refer to the current state of the directory.

NOTES:

NONE

If dirp is not a pointer by opendir(), the results are undefined.

The routine is implemented in Cygnus newlib.


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2004 OAR Corporation