implement posix_getdents adopted for next issue of POSIX
commit1b0d48517f816e98f19111df82f32bfc1608ecec
authorRich Felker <dalias@aerifal.cx>
Wed, 8 May 2024 12:50:03 +0000 (8 08:50 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 8 May 2024 12:50:03 +0000 (8 08:50 -0400)
treebcc7fe1a3514e97267dbc6398d5e1050a8b7e199
parent2c124e13bd7941fe0b885eecdc5de6f09aacf06a
implement posix_getdents adopted for next issue of POSIX

this interface was added as the outcome of Austin Group tracker issue
697. no error is specified for unsupported flags, which is probably an
oversight. for now, EOPNOTSUPP is used so as not to overload EINVAL.
include/dirent.h
src/dirent/posix_getdents.c [new file with mode: 0644]