shithub: npe

ref: ba4b0723d9e6d6ec72ca54016a932e72fbae46f7
dir: /libnpe/dirfd.c/

View raw version
#include <dirent.h>
#include <errno.h>
#include "_dirent.h"

int
dirfd(DIR *d)
{
	return d->fd;
}