summaryrefslogtreecommitdiff
path: root/src/dirent/__getdents.c
blob: 1acd5a696aa66fa8dc51ce38086aa3f80d7e0bce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <dirent.h>
#include "syscall.h"
#include "libc.h"

int __getdents(int fd, struct dirent *buf, size_t len)
{
	return syscall(SYS_getdents, fd, buf, len);
}

weak_alias(__getdents, getdents);

LFS64(getdents);