Searched refs:fstat (Results 301 - 325 of 400) sorted by relevance

<<111213141516

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dos.c149 ** st_dev and st_ino fields of the stat structure that fstat() fills in)
306 rc = fstat(fd, &statbuf);
1208 if( fstat(id->fd, &buf)!=0 ){
/illumos-gate/usr/src/lib/libc/port/aio/
H A Dposix_aio.c789 if (fstat(aiocbp->aio_fildes, &statb) < 0)
868 if (fstat(fd, &buf) < 0)
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c131 /* n */ "fstat ",
289 if (fstat(fd, &statbuf) == -1) {
893 if (fstat(fd, &statbuf) == -1) {
894 DBG(2, ("fstat = ap_id%s, fd%d\n", ap_id, fd));
895 DBG_F(2, (stderr, "fstat on %s failed\n", ap_id));
/illumos-gate/usr/src/cmd/ptools/pmap/
H A Dpmap.c596 if ((mapfd = open(mapname, O_RDONLY)) < 0 || fstat(mapfd, &st) != 0) {
637 if ((mapfd = open(mapname, O_RDONLY)) < 0 || fstat(mapfd, &st) != 0) {
/illumos-gate/usr/src/cmd/dtrace/
H A Ddtrace.c313 if (fstat(fd, &sbuf) == -1)
314 fatal("failed to fstat %s", fname);
389 if (fstat(fd, &sbuf) == -1)
390 fatal("failed to fstat %s", fname);
/illumos-gate/usr/src/cmd/ed/
H A Ded.c798 fstat(tfile, &Tf);
803 fstat(io, &Fl);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmap.c1544 (fstat(dirfd, &std) < 0 || fstat(pagfd, &stp) < 0))
1550 syserr("ndbm_map_open(%s.{dir,pag}): cannot fstat pre-opened file",
1621 if (fstat(pfd, &st) >= 0)
1702 if (pfd < 0 || fstat(pfd, &stbuf) < 0 ||
2110 if (st.st_mode == ST_MODE_NOFILE && fstat(fd, &st) < 0)
2115 syserr("db_map_open(%s): cannot fstat pre-opened file",
2285 if (fd >= 0 && fstat(fd, &st) >= 0)
2352 if (fd < 0 || fstat(fd, &stbuf) < 0 || stbuf.st_mtime > map->map_mtime)
6029 if (fstat(sm_io_getinf
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/volcopy/
H A Dvolcopy.c417 if (fstat(In.f_des, &stbuf) < 0 || (stbuf.st_mode & S_IFMT) != S_IFCHR)
419 if (fstat(Out.f_des, &stbuf) < 0 || (stbuf.st_mode & S_IFMT) != S_IFCHR)
/illumos-gate/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c1113 if (fstat(fd, &sb) == -1) {
1114 perror("fstat");
1544 if (device->part_fd < 0 || fstat(device->part_fd, &stat) != 0) {
/illumos-gate/usr/src/cmd/boot/installboot/i386/
H A Dinstallboot.c178 if (fstat(fd, &sb) == -1) {
838 if (fstat(fd, &statbuf) != 0) {
/illumos-gate/usr/src/uts/common/os/
H A Dsysent.c80 int fstat(int, struct stat *);
471 /* 28 */ SYSENT_CI("fstat", fstat, 2),
850 /* 28 */ SYSENT_CI("fstat", fstat32, 2),
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_file.c1291 if (fstat(fd, &fres) == -1) {
1753 ret = fstat(data->file, &buf);
1796 ret = fstat(data->file, &buf);
/illumos-gate/usr/src/lib/mpapi/libmpapi/common/
H A Dmpapi.c3507 if (fstat(mpconf, &stbuf) == -1) {
3616 if (fstat(mpconf, &stbuf) == -1) {
/illumos-gate/usr/src/lib/libbsm/common/
H A Ddevalloc.c94 if (fstat(fd, &f_stat) != 0) {
1363 if (fstat(dafd, &dastat) == -1)
/illumos-gate/usr/src/cmd/diff/
H A Ddiff.c360 if (fstat(fileno(stdin), &stb1) == 0)
377 if (fstat(fileno(stdin), &stb2) == 0)
/illumos-gate/usr/src/cmd/truss/
H A Dfcall.c239 fstat(mapfd, &statb) != 0 ||
773 fstat(mapfd, &statb) != 0 ||
/illumos-gate/usr/src/lib/cfgadm_plugins/sysctrl/common/
H A Dcfga.c579 } else if (fstat(sim_fd, &buf) == -1) {
/illumos-gate/usr/src/lib/libelfsign/common/
H A Delfsignlib.c297 if ((fstat(ess->es_fd, &stb) == -1) || !S_ISREG(stb.st_mode)) {
/illumos-gate/usr/src/lib/libnsl/ipsec/
H A Dalgs.c616 rc = fstat(fileno(f), &statbuf);
/illumos-gate/usr/src/lib/libpctx/common/
H A Dlibpctx.c425 fstat(fd, &statb) != 0) {
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c1347 if (fstat(search_file, &stbuf) == -1 || !S_ISCHR(stbuf.st_mode)) {
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Deventlib.c369 if (fstat(x, &sb) == -1 &&
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_conf.c757 if (fstat(ibcfg_fd, &ibcfg_st) != 0) {
758 DPRINTF("ib_init_file: failed to fstat %s file\n", ibconf_file);
764 DPRINTF("ib_init_file: failed to fstat %s file\n",
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_lock.c108 if (fstat(state_fd, &fbuf) != 0) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dparms.c235 if (0 > fstat(fileno(fp), &sb)) {
236 msglog("fstat() failed: %s for "PATH_GATEWAYS,

Completed in 370 milliseconds

<<111213141516