repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
wireup linux/name_to_handle_at and name_to_handle_at syscalls
[musl.git]
/
src
/
linux
/
getdents.c
blob
de6de3b425bcc23063d2198762ff42e80edeec4e
1
#define _BSD_SOURCE
2
#include <dirent.h>
3
#include
"syscall.h"
4
5
int
getdents
(
int
fd
,
struct
dirent
*
buf
,
size_t
len
)
6
{
7
return
syscall
(
SYS_getdents
,
fd
,
buf
,
len
);
8
}
9
10
weak_alias
(
getdents
,
getdents64
);