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

1234567891011>>

/illumos-gate/usr/src/lib/libast/common/preroot/
H A Dgetpreroot.c104 if (fstat(dirp->dd_fd, par)) ERROR(errno);
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dports.c252 if (fstat(1, &buf))
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vfs.c76 if (fstat(fd, &st) == -1) {
H A Dfake_vop.c125 (void) fstat(vp->v_fd, &st);
245 if (fstat(vp->v_fd, &st) == -1)
363 if (fstat(fd, &st) == -1) {
432 (void) fstat(fd, &st);
556 if (fstat(fd, &st) == -1) {
/illumos-gate/usr/src/test/zfs-tests/cmd/getholes/
H A Dgetholes.c154 if (fstat(fd, &statbuf) != 0) {
155 perror("fstat failed");
/illumos-gate/usr/src/cmd/make/bin/
H A Dmain.cc49 #include <sys/stat.h> /* fstat() */
328 if (fstat(1, &out_stat) < 0) {
329 fatal(gettext("fstat of standard out failed: %s"), errmsg(errno));
331 if (fstat(2, &err_stat) < 0) {
332 fatal(gettext("fstat of standard error failed: %s"), errmsg(errno));
463 if( (fstat(1, &stdout_stat) == 0)
464 && (fstat(2, &stderr_stat) == 0) )
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dls.c184 if (fstat(fd, &sb) < 0) {
/illumos-gate/usr/src/cmd/write/
H A Dwrite.c540 fstat(fildes, &buf);
552 /* this is used with fstat (which is faster than stat) where possible */
560 fstat(fildes, &buf);
/illumos-gate/usr/src/cmd/bnu/
H A Deio.c153 fstat(fd1, &statbuf);
381 fstat(fileno(fp1), &statbuf);
H A Dcntrl.c357 if (Restart && !(fstat(fileno(fp), &stbuf))) {
482 if (fstat (fileno(fp), &stbuf)) {
648 if (fstat(fileno(fp), &stbuf)) /* never fail but .. */
833 if(fstat(fileno(fp), &stbuf)) {
915 if (fstat(fileno(fp), &stbuf)) {
1078 if (fstat(fileno(fp), &stbuf)) {
1232 ASSERT(fstat(fileno(fp), &stbuf) == 0, Ct_STAT,
1316 /* stbuf set in fstat several lines back */
/illumos-gate/usr/src/cmd/cat/
H A Dcat.c201 if (fstat(fileno(stdout), &target) < 0) {
254 if (fstat(fileno(fi), &source) < 0) {
/illumos-gate/usr/src/cmd/tail/
H A Dforward.c375 (void) fstat(fileno(file->fp), &file->st);
431 fstat(fileno(file->fp), &file->st)
/illumos-gate/usr/src/cmd/lp/model/
H A Dlp.cat.c461 if (fstat(1, &out) < 0) {
471 if (fstat(0, &in) < 0) {
/illumos-gate/usr/src/cmd/logadm/
H A Dconf.c360 if (fstat(Conffd, &stbuf1) < 0)
361 err(EF_SYS, "fstat on %s", Confname);
390 if (fstat(Timesfd, &stbuf2) < 0)
391 err(EF_SYS, "fstat on %s", Timesname);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dgzipfs.c191 if (fstat(rawfd, &sb) < 0) {
336 if ((result = fstat(zf->zf_rawfd, sb)) == 0) {
/illumos-gate/usr/src/lib/libpkg/common/
H A Dkeystore.c1168 if (fstat(newfd, &buf) != -1) {
1222 if (fstat(newfd, &buf) != -1) {
1341 (fstat(fd1, &buf) == -1) ||
1352 (fstat(fd2, &buf) != -1)) {
1380 (fstat(fd1, &buf) != -1) &&
1498 if (fstat(keystore->cafd, &buf) != -1) {
1548 if (fstat(keystore->cafd, &buf) != -1) {
2128 if ((fstat(fd, &buf) == -1) || !S_ISREG(buf.st_mode)) {
2195 if (fstat(fd, &buf) == -1) {
2271 if (fstat(f
[all...]
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dshiocmd_solaris.c584 fstat(fd, &fdp->statb);
708 fstat(fd, &fdp->statb);
783 fstat(fd, &fdp->statb);
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dmain.c201 || !fstat(0, &statb) && REMOTE(statb.st_mode)
288 if(fstat(fdin,&statb)<0)
312 if((fdin=sh_open(name,O_RDONLY,0))>=0 &&(fstat(fdin,&statb)<0 || S_ISDIR(statb.st_mode)))
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dchangepasswd.c207 fstat(fileno(opwfp), &pwstat);
216 fstat(fileno(ospfp), &spstat);
227 fstat(fileno(oadjfp), &adjstat);
/illumos-gate/usr/src/cmd/mailx/
H A Dlex.c106 fstat(fileno(ibuf), &stbuf);
182 fstat(fileno(ibuf), &stbuf);
982 (fstat(fileno(ibuf), &stbuf) < 0) || stbuf.st_size == 0L ||
/illumos-gate/usr/src/cmd/cdrw/
H A Dbstream.c88 if (fstat(h->bstr_fd, &st) < 0)
400 if (fstat(fd, &st) < 0) {
481 if (fstat(fd, &st) < 0) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_io.c227 if (fstat(d->fd, &fstatb) == 0) {
248 /* Make sure fstat() and lstat() have accessed the same file */
563 if (fstat(d->fd, &statb) == 0)
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcksum.c238 if (!st && fstat(sffileno(ip), st = &ss))
320 if (fstat(sffileno(sp), &st))
/illumos-gate/usr/src/cmd/rm/
H A Drm.c281 fstat(rec->fd, &buf) != 0) {
446 if (fstat(frame.fd, &temp) != 0 ||
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dmaps.c156 if (fstat(ph->pp_mapfd, &stbuf) == -1)
215 if (fstat(procp->pp_mapfd, &stbuf) == -1)

Completed in 168 milliseconds

1234567891011>>