summaryrefslogtreecommitdiff
path: root/src/dirent/rewinddir.c
blob: f87f3e6143080518340170bbdd100af335379aad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <dirent.h>
#include "sys/types.h"
#include "unistd.h"
#include "_dirent.h"

void rewinddir(DIR * dirp)
{
	lseek(dirp->fd, 0, SEEK_SET);
}

/*
POSIX(1)
*/