#error "the readdir() replacement using getdirentried() isn't implemented yet"