mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-25 01:16:30 -05:00
Add getdents based readdir functions for Linux (#1533)
This commit is contained in:
parent
95ab37fdd2
commit
2f3e807e9d
33 changed files with 886 additions and 904 deletions
|
|
@ -26,13 +26,13 @@
|
|||
|
||||
namespace fs
|
||||
{
|
||||
int
|
||||
getdents64(unsigned int fd_,
|
||||
ssize_t
|
||||
getdents64(const int fd_,
|
||||
void *dirp_,
|
||||
unsigned int count_)
|
||||
const size_t count_)
|
||||
{
|
||||
#if defined SYS_getdents64
|
||||
int rv;
|
||||
ssize_t rv;
|
||||
|
||||
rv = ::syscall(SYS_getdents64,fd_,dirp_,count_);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue