Searched refs:getdents (Results 1 - 14 of 14) sorted by relevance

/freebsd-13-stable/lib/libc/sys/
H A Dgetdents.c37 getdents(int fd, char *buf, size_t nbytes) function
H A DMakefile.inc37 SRCS+= getdents.c lstat.c mknod.c stat.c
406 MLINKS+=getdirentries.2 getdents.2
/freebsd-13-stable/contrib/netbsd-tests/fs/kernfs/
H A Dt_basic.c25 ATF_TC(getdents); variable
26 ATF_TC_HEAD(getdents, tc)
44 ATF_TC_BODY(getdents, tc)
55 atf_tc_fail_errno("getdents");
130 ATF_TP_ADD_TC(tp, getdents);
/freebsd-13-stable/lib/libc/include/
H A Dcompat.h59 __sym_compat(getdents, freebsd11_getdents, FBSD_1.0);
/freebsd-13-stable/include/
H A Ddirent.h113 ssize_t getdents(int, char *, size_t);
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_solaris.cpp167 DECLARE__REAL_AND_INTERNAL64(uptr, getdents, fd_t fd, struct linux_dirent *dirp,
169 return _REAL64(getdents)(fd, dirp, count);
H A Dsanitizer_linux.cpp758 return internal_syscall(SYSCALL(getdents), fd, (uptr)dirp, count);
/freebsd-13-stable/sys/kern/
H A Dcapabilities.conf270 getdents
H A Dinit_sysent.c330 { compat11(AS(freebsd11_getdents_args),getdents), .sy_auevent = AUE_O_GETDENTS, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 272 = freebsd11 getdents */
/freebsd-13-stable/contrib/capsicum-test/
H A Dsyscalls.h22 /* FreeBSD has getdents(2) available */
26 return getdents(fd, (char*)dirp, count);
/freebsd-13-stable/contrib/file/src/
H A Dseccomp.c180 ALLOW_RULE(getdents);
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/c063/
H A Dt_o_search.c300 atf_tc_set_md_var(tc, "descr", "See that O_SEARCH forbids getdents");
309 ATF_REQUIRE(getdents(dfd, buf, sizeof(buf)) < 0);
/freebsd-13-stable/stand/ficl/
H A Dloader.c817 bufsz = getdents(fd, buf, blksz);
820 bufsz = getdents(fd, buf, blksz);
/freebsd-13-stable/tools/regression/security/open_to_operation/
H A Dopen_to_operation.c57 * getdents(2) O_RDONLY directory yes
643 * getdents() should always work on directories and never on files,
653 if (getdents(fd, buf, sizeof(buf)) >= 0) {

Completed in 162 milliseconds