fix crash in wordfree if we_offs is not initialized by the caller
[musl] / src / dirent / dirfd.c
1 #include <dirent.h>
2 #include "__dirent.h"
3
4 int dirfd(DIR *d)
5 {
6         return d->fd;
7 }