minix/lib/posix/_rewinddir.c
2005-04-21 14:53:53 +00:00

14 lines
246 B
C
Executable file

/* rewinddir() Author: Kees J. Bot
* 24 Apr 1989
*/
#define nil 0
#include <lib.h>
#define rewinddir _rewinddir
#define seekdir _seekdir
#include <sys/types.h>
#include <dirent.h>
void rewinddir(DIR *dp)
{
(void) seekdir(dp, 0);
}