kolibrios/programs/develop/libraries/kolibri-libc/source/sys/rewinddir.c

9 lines
158 B
C
Raw Normal View History

/* Copyright (C) 2021 Logaev Maxim (turbocat2001), GPLv2 */
#include <sys/dirent.h>
void rewinddir(DIR *dir){
if(dir!=NULL){
dir->pos=0;
}
}