Searched refs:fstat (Results 101 - 125 of 377) sorted by relevance

1234567891011>>

/freebsd-10.0-release/usr.sbin/cpucontrol/
H A Dvia.c143 error = fstat(fd, &st);
145 WARN(0, "fstat(%s)", path);
/freebsd-10.0-release/usr.sbin/crashinfo/
H A Dcrashinfo.sh295 echo "fstat"
297 fstat -M $VMCORE -N $KERNEL
/freebsd-10.0-release/usr.sbin/fifolog/lib/
H A Dfifolog_int.c72 i = fstat(f->fd, &st);
/freebsd-10.0-release/usr.sbin/mfiutil/
H A Dmfi_flash.c112 if (fstat(flash, &sb) < 0) {
114 warn("fstat(%s)", av[1]);
/freebsd-10.0-release/usr.sbin/pkg_install/add/
H A Dperform.c422 fstat(fd, &sb);
457 fstat(fd, &sb);
488 fstat(fd, &sb);
523 fstat(fd, &sb);
/freebsd-10.0-release/usr.sbin/ppp/
H A Dtcp.c173 if (fstat(p->fd, &st) != -1 && (st.st_mode & S_IFSOCK)) {
/freebsd-10.0-release/usr.sbin/uathload/
H A Duathload.c148 if (fstat(fw, &sb) < 0)
149 err(-1, "fstat(%s)", fwname);
/freebsd-10.0-release/contrib/apr/file_io/unix/
H A Dfilestat.c140 if (fstat(thefile->filedes, &info) == 0) {
163 if (fstat(thefile->filedes, &info) == 0) {
/freebsd-10.0-release/contrib/libreadline/
H A Dhistfile.c183 if ((file < 0) || (fstat (file, &finfo) == -1))
320 if (file == -1 || fstat (file, &finfo) == -1)
/freebsd-10.0-release/contrib/llvm/lib/Support/
H A DMemoryBuffer.cpp305 // If we don't know the file size, use fstat to find out. fstat on an open
307 // FIXME: this chunk of code is duplicated, but it avoids a fstat when
312 if (fstat(FD, &FileInfo) == -1) {
342 // If we don't know the file size, use fstat to find out. fstat on an open
347 if (fstat(FD, &FileInfo) == -1) {
401 assert(0 && "We got inaccurate FileSize value or fstat reported an "
/freebsd-10.0-release/lib/libcompat/4.3/
H A Drexec.c200 fstat(fileno(cfile), &stb) >= 0 &&
212 if (fstat(fileno(cfile), &stb) >= 0
/freebsd-10.0-release/sbin/ggate/shared/
H A Dggate.c137 if (fstat(fd, &sb) == -1)
138 g_gate_xlog("fstat(): %s.", strerror(errno));
158 if (fstat(fd, &sb) == -1)
159 g_gate_xlog("fstat(): %s.", strerror(errno));
/freebsd-10.0-release/contrib/gdb/gdb/
H A Di386-tdep.c65 "fctrl", "fstat", "ftag", "fiseg",
1233 ULONGEST fstat;
1257 regcache_raw_read_unsigned (regcache, I387_FSTAT_REGNUM, &fstat);
1258 fstat |= (7 << 11);
1259 regcache_raw_write_unsigned (regcache, I387_FSTAT_REGNUM, fstat);
1394 ULONGEST fstat;
1402 regcache_raw_read_unsigned (regcache, I387_FSTAT_REGNUM, &fstat);
1403 tos = (fstat >> 11) & 0x7;
1225 ULONGEST fstat; local
1384 ULONGEST fstat; local
/freebsd-10.0-release/crypto/openssh/
H A Dloginrec.c1096 if (fstat(fd, &buf) == 0)
1190 if (fstat(fd, &st) != 0) {
1269 if (fstat(fd, &buf) == 0)
1355 if (fstat(fd, &st) != 0) {
1674 if (fstat(fd, &fst) < 0) {
1675 logit("%s: fstat of %s failed: %s", __func__, _PATH_BTMP,
/freebsd-10.0-release/contrib/groff/src/libs/libbib/
H A Dindex.cpp153 if (fstat(fd, &sb) < 0) {
154 error("can't fstat `%1': %2", name, strerror(errno));
369 if (fstat(fd, &sb) < 0) {
370 error("can't fstat: %1", strerror(errno));
393 if (fstat(fileno(fp), &sb) < 0) {
/freebsd-10.0-release/usr.sbin/ctm/mkCTM/
H A Dmkctm.c167 fstat(fd1, &s1);
173 fstat(fd2, &s2);
327 fstat(fd1, &st);
/freebsd-10.0-release/usr.bin/gzip/
H A Dgzip.c1244 if (fstat(in, &isb) != 0) {
1312 if (fstat(out, &osb) != 0) {
1434 if (fstat(fd, &isb) != 0)
1593 if (fstat(ofd, &osb) != 0) {
1684 if (fstat(STDIN_FILENO, &isb) < 0) {
1685 maybe_warn("fstat");
1773 ret = fstat(STDIN_FILENO, &sb);
/freebsd-10.0-release/contrib/diff/src/
H A Dcmp.c293 if (file_desc[f1] < 0 || fstat (file_desc[f1], stat_buf + f1) != 0)
318 if (fstat (STDOUT_FILENO, &outstat) == 0
/freebsd-10.0-release/contrib/gcc/
H A Dgcov-io.c109 if (fstat (fd, &st) < 0)
532 if (fstat (fileno (gcov_var.file), &status))
/freebsd-10.0-release/libexec/atrun/
H A Datrun.c206 if (fstat(fd_in, &buf) == -1)
207 perr("error in fstat of input file descriptor");
210 perr("error in fstat of input file");
264 fstat(fd_out, &buf);
/freebsd-10.0-release/sys/sys/
H A Dsyscall.mk132 fstat.o \
/freebsd-10.0-release/tools/regression/sockets/sendfile/
H A Dsendfile.c284 if (fstat(file_fd, &st) < 0)
285 FAIL_ERR("fstat")
325 if (fstat(file_fd, &sb) == 0)
/freebsd-10.0-release/bin/cat/
H A Dcat.c276 if (fstat(wfd, &sbuf))
/freebsd-10.0-release/bin/sh/
H A Dredir.c196 if (fstat(f, &sb) != -1 && S_ISREG(sb.st_mode)) {
/freebsd-10.0-release/contrib/binutils/bfd/
H A Dcache.c356 sts = fstat (fileno (f), sb);

Completed in 301 milliseconds

1234567891011>>