shithub: npe

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

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

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