source: azure_iot_hub/trunk/musl-1.1.18/src/dirent/rewinddir.c@ 389

Last change on this file since 389 was 389, checked in by coas-nagasima, 5 years ago

ビルドが通るよう更新

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc;charset=UTF-8
File size: 228 bytes
Line 
1#include <dirent.h>
2#include <unistd.h>
3#include "__dirent.h"
4#include "libc.h"
5
6void rewinddir(DIR *dir)
7{
8 LOCK(dir->lock);
9 lseek(dir->fd, 0, SEEK_SET);
10 dir->buf_pos = dir->buf_end = 0;
11 dir->tell = 0;
12 UNLOCK(dir->lock);
13}
Note: See TracBrowser for help on using the repository browser.