The new POSIX directory access in the CBM C library comes with a d_blocks field too.