Add getdents based readdir functions for Linux (#1533)
Some checks failed
CodeQL / Analyze (push) Has been cancelled
mkdocs / deploy (push) Has been cancelled

This commit is contained in:
trapexit 2025-09-24 00:51:21 -04:00 • committed by GitHub
parent 95ab37fdd2
commit 2f3e807e9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 886 additions and 904 deletions

View file

@ -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_);