/freebsd-11-stable/tools/regression/sockets/fstat/ |
H A D | Makefile | 5 PROG= fstat
|
H A D | fstat.c | 37 * 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 D | Makefile | 4 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 D | kld.c | 41 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 D | fdmatch.c | 57 if ((fstat (fd1, &sbuf1) == 0) && 58 (fstat (fd2, &sbuf2) == 0) &&
|
/freebsd-11-stable/contrib/binutils/libiberty/ |
H A D | fdmatch.c | 57 if ((fstat (fd1, &sbuf1) == 0) && 58 (fstat (fd2, &sbuf2) == 0) &&
|
/freebsd-11-stable/bin/stty/ |
H A D | util.c | 61 !fstat(STDOUT_FILENO, &sb1) && !fstat(STDERR_FILENO, &sb2) &&
|
/freebsd-11-stable/contrib/pjdfstest/tests/chmod/ |
H A D | 12.t | 21 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 D | pipe_ino_test.c | 51 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 D | fstat.c | 1 /* $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 D | stat.c | 49 rv = fstat(fd, sb);
|
/freebsd-11-stable/contrib/libpcap/testprogs/ |
H A D | unix.h | 44 #define fstat _fstat macro
|
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | stat.h | 47 ret = fstat(fd, sb);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/posix_spawn/ |
H A D | h_fileactions.c | 82 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 D | t_ptm.c | 73 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 D | i387-fp.c | 37 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 D | t_fd.c | 83 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 D | i387-tdep.c | 211 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 D | logwtmp.c | 139 if (fstat(fd, &buf) == 0) { 169 if (fstat(fdx, &buf) == 0) {
|
/freebsd-11-stable/lib/libc/tests/stdio/ |
H A D | mkostemp_test.c | 92 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 D | fsif.h | 151 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 D | info_ndbm.c | 92 error = fstat(dbm_pagfno(db), &stb); 123 error = fstat(dbm_pagfno(db), &stb);
|
/freebsd-11-stable/tests/sys/file/ |
H A D | ftruncate_test.c | 99 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 D | t_truncate.c | 67 ATF_REQUIRE(fstat(fd, &st) == 0); 127 ATF_REQUIRE(fstat(fd, &st) == 0);
|
/freebsd-11-stable/usr.bin/cmp/ |
H A D | cmp.c | 159 if (fstat(fd1, &sb1)) { 168 if (fstat(fd2, &sb2)) {
|