tmpfs_dir_getdents
int tmpfs_dir_getdents(tmpfs_node_t *, struct uio *, off_t *);
error = tmpfs_dir_getdents(node, uio, &cnt);