Y
Hacker News
new
|
ask
|
show
|
jobs
by
direwolf20
141 days ago
This is a (3) man page which means it's not a syscall. Have you checked it doesn't call lstat on each file?
1 comments
stabbles
141 days ago
Fair,
https://www.man7.org/linux/man-pages/man2/getdents64.2.html
is a better link. You'd have to call lstat when d_type is DT_UNKNOWN
link