shithub: npe

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

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

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