Searched refs:fstat (Results 251 - 275 of 427) sorted by relevance

<<1112131415161718

/freebsd-11-stable/usr.sbin/lpr/common_source/
H A Dcommon.c132 if (fstat(dirfd(dirp), &stbuf) < 0)
/freebsd-11-stable/usr.sbin/acpi/acpidb/
H A Dacpidb.c397 if (fstat(fd, &sb) == -1) {
398 perror("fstat");
/freebsd-11-stable/usr.sbin/cron/crontab/
H A Dcrontab.c367 if (fstat(t, &fsbuf) < 0) {
368 warn("unable to fstat temp file");
/freebsd-11-stable/bin/dd/
H A Ddd.c264 if (fstat(io->fd, &sb) == -1)
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_perms.c68 assert(fstat(fd, &st) == 0);
/freebsd-11-stable/sbin/newfs/
H A Dnewfs.c335 if (fstat(disk.d_fd, &st) < 0)
/freebsd-11-stable/contrib/tcsh/
H A Dsh.misc.c285 && fstat(f, &st) == 0 && !S_ISSOCK(st.st_mode)
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_open_filename.c285 if (fstat(fd, &st) != 0) {
H A Darchive_read_disk_entry_from_file.c182 if (fstat(fd, &s) != 0) {
184 "Can't fstat");
386 if (fstat(tempfd, &copyfile_stat)) {
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp39 #define fstat __fstat50 macro
659 INTERCEPTOR(int, fstat, int fd, void *buf) {
661 int res = REAL(fstat)(fd, buf);
666 #define MSAN_MAYBE_INTERCEPT_FSTAT INTERCEPT_FUNCTION(fstat)
/freebsd-11-stable/contrib/file/src/
H A Dmagic.c466 okstat = fstat(fd, &sb) == 0;
H A Dder.c437 if (fstat(fd, &st) == -1)
/freebsd-11-stable/crypto/openssh/
H A Dauth2.c115 if (fstat(fd, &st) == -1) {
H A Dscp.c781 if (fstat(fd, &stb) < 0) {
1342 if (fstat(fd, &stb) < 0) {
1343 run_err("fstat: %s", strerror(errno));
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dfcache.c276 ret = fstat (fd, &sb2);
1058 ret = fstat(fd, &sb);
/freebsd-11-stable/tools/regression/security/open_to_operation/
H A Dopen_to_operation.c52 * fstat(2) any yes
408 * fstat() should work regardless of open mode.
417 if (fstat(fd, &sb) == 0)
498 if (fstat(fd, &sb) < 0) {
499 notok_mode(testname, "fstat", mode);
/freebsd-11-stable/usr.sbin/crunch/examples/
H A Dreally-big.conf44 progs fsplit fstat ftp getconf getopt gprof head hexdump id indent ipcrm
/freebsd-11-stable/tests/sys/audit/
H A Dfile-attribute-access.c149 "fstat(2) call");
154 /* File needs to exist to call fstat(2) */
157 ATF_REQUIRE_EQ(0, fstat(filedesc, &statbuff));
160 "fstat.*%jd.*return,success", (intmax_t)statbuff.st_ino);
175 "fstat(2) call");
181 const char *regex = "fstat.*return,failure : Bad file descriptor";
183 ATF_REQUIRE_EQ(-1, fstat(-1, &statbuff));
291 /* File needs to exist to call fstat(2) */
437 "fstat(2) call");
/freebsd-11-stable/tools/tools/syscall_timing/
H A Dsyscall_timing.c538 if (fstat(shmfd, &sb) < 0)
539 err(-1, "test_fstat_shmfd: fstat");
544 (void)fstat(shmfd, &sb);
/freebsd-11-stable/lib/libc/sys/
H A DMakefile.inc453 MLINKS+=stat.2 fstat.2 \
/freebsd-11-stable/tools/regression/fsx/
H A Dfsx.c429 if (fstat(fd, &statbuf)) {
430 prterr("check_size: fstat");
451 fstat(fd, &statbuf);
/freebsd-11-stable/usr.bin/tftp/
H A Dmain.c468 if (fstat(fd, &sb) < 0) {
493 if (fstat(fd, &sb) < 0) {
/freebsd-11-stable/usr.sbin/nfsd/
H A Dnfsd.c1032 ret = fstat(stable_fd, &st);
1046 ret = fstat(backup_fd, &backup_st);
/freebsd-11-stable/usr.bin/ar/
H A Dacpyacc.y336 if (fstat(ifd, &sb) < 0) {
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Devutil.c95 #ifndef fstat
96 #define fstat _fstati64 macro
162 if (fstat(fd, &st) || st.st_size < 0 ||

Completed in 183 milliseconds

<<1112131415161718