pos -= dirp->__size - dirp->__offset;
DEFUN(seekdir, (dirp, pos), DIR *dirp AND __off_t pos){  pos -= dirp->__size - dirp->__offset;  (void) __lseek(dirp->__fd, pos, SEEK_SET);  dirp->__size = 0;  dirp->__offset = 0;}