shithub: npe

ref: 607319bed9f2d7f2ea7ff107ebf51de6c27396d7
dir: /libnpe/dirfd.c/

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

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