DE_SIZE
de.d_reclen = DE_SIZE;
error = uiomove(&de, DE_SIZE, uio);
uio->uio_offset += DE_SIZE;
bzero((caddr_t)&de, DE_SIZE);
de.d_reclen = DE_SIZE;
error = uiomove(&de, DE_SIZE, uio);
uio->uio_offset = offset * DE_SIZE;
offset = uio->uio_offset / DE_SIZE; /* offset in the directory */
limit = uio->uio_resid / DE_SIZE;
if (uio->uio_resid < DE_SIZE || uio->uio_offset < 0) {
bzero((caddr_t)&de, DE_SIZE);