summaryrefslogtreecommitdiff
path: root/src/dirent/posix_getdents.c
AgeCommit message (Collapse)AuthorLines
2024-05-12fix mismatched type in posix_getdents definitionRich Felker-1/+1
commit 1b0d48517f816e98f19111df82f32bfc1608ecec wrongly copied the getdents return type of int rather than matching the ssize_t used by posix_getdents. this was overlooked in testing on 32-bit archs but obviously broke 64-bit archs.
2024-05-08implement posix_getdents adopted for next issue of POSIXRich Felker-0/+11
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.