The shared getdents batch decoder.
Layout truth for dirent64 on both OSes; boot/module.x and sys/file.x both decode through this.
dirent-namesDecode one dirent64 batch buffer into entry names.
Parameters:
STRING — One getdents batch buffer (a (str make N) region a syscall filled)INT — Byte count the syscall returned – NOT the buffer’s string length (the region is full of NULs)LIST — Accumulator; entry names cons onto itReturns: LIST — Entry names consed onto acc, deleted (ino-0) slots skipped, dot entries KEPT