Searched refs:libc_dirent (Results 1 – 2 of 2) sorted by relevance
71 struct libc_dirent { struct
7716 sysret_t sys_getdents(int fd, struct libc_dirent *dirp, size_t nbytes) in sys_getdents()7720 size_t cnt = (nbytes / sizeof(struct libc_dirent)); in sys_getdents()7725 if (!lwp_user_accessable((void *)dirp, sizeof(struct libc_dirent))) in sys_getdents()7750 dirp[i].d_off = i*sizeof(struct libc_dirent); in sys_getdents()7752 dirp[i].d_reclen = sizeof(struct libc_dirent); in sys_getdents()7755 ret = cnt * sizeof(struct libc_dirent); in sys_getdents()
Completed in 20 milliseconds