shithub: npe

ref: 85aac117f40895565f61eb703055a29df3c7539f
dir: /libnpe/dirfd.c/

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

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