shithub: npe

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

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

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