projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix failure to flush stderr when fflush(0) is called
[musl]
/
src
/
linux
/
getdents.c
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);