Searched refs:fstat (Results 1 - 25 of 427) sorted by relevance

1234567891011>>

/freebsd-11-stable/tools/regression/sockets/fstat/
H A DMakefile5 PROG= fstat
H A Dfstat.c37 * Basic test to make sure that fstat(2) returns success on various socket
52 if (fstat(sock, &sb) < 0)
53 err(-1, "fstat on socket(%d, %d, %d)", domain, type,
/freebsd-11-stable/usr.bin/fstat/
H A DMakefile4 PROG= fstat
5 SRCS= fstat.c fuser.c main.c
6 LINKS= ${BINDIR}/fstat ${BINDIR}/fuser
9 MAN1= fuser.1 fstat.1
/freebsd-11-stable/lib/libutil/
H A Dkld.c41 struct kld_file_stat fstat; local
47 fstat.version = sizeof(fstat);
48 if (kldstat(fid, &fstat) != 0)
51 if (strcmp(fstat.name, name) == 0)
54 if ((ko = strstr(fstat.name, ".ko")) != NULL &&
55 strlen(name) == (size_t)(ko - fstat.name) &&
56 strncmp(fstat.name, name, ko - fstat.name) == 0)
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dfdmatch.c57 if ((fstat (fd1, &sbuf1) == 0) &&
58 (fstat (fd2, &sbuf2) == 0) &&
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dfdmatch.c57 if ((fstat (fd1, &sbuf1) == 0) &&
58 (fstat (fd2, &sbuf2) == 0) &&
/freebsd-11-stable/bin/stty/
H A Dutil.c61 !fstat(STDOUT_FILENO, &sb1) && !fstat(STDERR_FILENO, &sb2) &&
/freebsd-11-stable/contrib/pjdfstest/tests/chmod/
H A D12.t21 expect 0777 -u 65534 -g 65534 open ${n0} O_WRONLY : write 0 x : fstat 0 mode
27 expect 0777 -u 65534 -g 65534 open ${n0} O_RDWR : write 0 x : fstat 0 mode
33 expect 0777 -u 65534 -g 65534 open ${n0} O_RDWR : write 0 x : fstat 0 mode
/freebsd-11-stable/tests/sys/kern/pipe/
H A Dpipe_ino_test.c51 if (fstat(pipefd[0], &st1) == -1)
52 err(1, "FAIL: fstat st1");
53 if (fstat(pipefd[1], &st2) == -1)
54 err(1, "FAIL: fstat st2");
/freebsd-11-stable/stand/libsa/
H A Dfstat.c1 /* $NetBSD: fstat.c,v 1.1 1996/01/13 22:25:38 leo Exp $ */
35 __FBSDID("$FreeBSD: stable/11/stand/libsa/fstat.c 329132 2018-02-11 19:51:29Z kevans $");
40 fstat(fd, sb) function
H A Dstat.c49 rv = fstat(fd, sb);
/freebsd-11-stable/contrib/libpcap/testprogs/
H A Dunix.h44 #define fstat _fstat macro
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/
H A Dstat.h47 ret = fstat(fd, sb);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/posix_spawn/
H A Dh_fileactions.c82 if (fstat(fileno(stdout), &sb0) != 0) {
83 fprintf(stderr, "%s: could not fstat stdout\n",
87 if (fstat(7, &sb1) != 0) {
88 fprintf(stderr, "%s: could not fstat filedesc 7\n",
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/ttyio/
H A Dt_ptm.c73 REQUIRE_ERRNO(fstat(fdm, &stm), -1);
86 REQUIRE_ERRNO(fstat(ptm.cfd, &stm), -1);
91 REQUIRE_ERRNO(fstat(ptm.sfd, &stm), -1);
139 REQUIRE_ERRNO(fstat(fdm, &stm), -1);
153 REQUIRE_ERRNO(fstat(fds, &sts), -1);
/freebsd-11-stable/contrib/gdb/gdb/gdbserver/
H A Di387-fp.c37 unsigned int fstat; member in struct:i387_fsave
53 unsigned short fstat; member in struct:i387_fxsave
94 collect_register_by_name ("fstat", &val);
96 *(unsigned short *) &fp->fstat = val;
129 val = fp->fstat & 0xFFFF;
130 supply_register_by_name ("fstat", &val);
171 collect_register_by_name ("fstat", &val);
173 *(unsigned short *) &fp->fstat = val;
265 val = fp->fstat & 0xFFFF;
266 supply_register_by_name ("fstat",
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/librumpclient/
H A Dt_fd.c83 ATF_REQUIRE_ERRNO(EBADF, fstat(0, &sb) == -1);
84 ATF_REQUIRE_ERRNO(EBADF, fstat(1, &sb) == -1);
85 ATF_REQUIRE_ERRNO(EBADF, fstat(2, &sb) == -1);
/freebsd-11-stable/contrib/gdb/gdb/
H A Di387-tdep.c211 ULONGEST fstat; local
228 fstat = get_frame_register_unsigned (frame, I387_FSTAT_REGNUM);
236 top = ((fstat >> 11) & 7);
276 print_i387_status_word (fstat, file);
371 4, /* `fstat' (16 bits). */
493 2, /* `fstat' (16 bits). */
760 ULONGEST fstat;
770 regcache_raw_read_unsigned (regcache, I387_FSTAT_REGNUM, &fstat);
771 fstat |= (7 << 11);
772 regcache_raw_write_unsigned (regcache, I387_FSTAT_REGNUM, fstat);
754 ULONGEST fstat; local
[all...]
/freebsd-11-stable/contrib/opie/libopie/
H A Dlogwtmp.c139 if (fstat(fd, &buf) == 0) {
169 if (fstat(fdx, &buf) == 0) {
/freebsd-11-stable/lib/libc/tests/stdio/
H A Dmkostemp_test.c92 if (fstat(fd, &st2) == -1) {
94 "cannot fstat returned fd %d: %s\n",
119 if (fstat(fd, &st2) == -1)
121 "cannot fstat returned fd %d again: %s\n",
/freebsd-11-stable/sys/xen/interface/io/
H A Dfsif.h151 struct fsif_stat_request fstat; member in union:fsif_request::__anon13553
171 struct fsif_stat_response fstat; member in union:fsif_response::__anon13554
/freebsd-11-stable/contrib/amd/amd/
H A Dinfo_ndbm.c92 error = fstat(dbm_pagfno(db), &stb);
123 error = fstat(dbm_pagfno(db), &stb);
/freebsd-11-stable/tests/sys/file/
H A Dftruncate_test.c99 if (fstat(fd, &sb) < 0)
102 errx(-1, "fstat with len=%jd returned len %jd up",
122 if (fstat(fd, &sb) < 0)
125 errx(-1, "fstat(%jd) returned %jd down", (intmax_t)len,
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_truncate.c67 ATF_REQUIRE(fstat(fd, &st) == 0);
127 ATF_REQUIRE(fstat(fd, &st) == 0);
/freebsd-11-stable/usr.bin/cmp/
H A Dcmp.c159 if (fstat(fd1, &sb1)) {
168 if (fstat(fd2, &sb2)) {

Completed in 136 milliseconds

1234567891011>>