/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | _sffileno.c | 24 #undef sffileno macro 27 int sffileno(reg Sfio_t* f) function 29 int sffileno(f)
|
/illumos-gate/usr/src/lib/libast/common/stdio/ |
H A D | fileno.c | 39 return sffileno(f);
|
H A D | vfwscanf.c | 41 if (sffileno(f) >= 0)
|
/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | getpass.c | 58 if(tcgetattr(sffileno(iop),&told) < 0) 63 if(tcsetattr(sffileno(iop),TCSANOW,&tnew) < 0) 69 tcsetattr(sffileno(iop),TCSANOW,&told);
|
/illumos-gate/usr/src/lib/libast/common/port/ |
H A D | astquery.c | 60 if (isatty(sffileno(sfstdin))) 64 if (isatty(sffileno(sfstderr)))
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | wc.c | 165 if (!(mode&(WC_WORDS|WC_LINES|WC_MBYTE|WC_LONGEST)) && fstat(sffileno(fp),&statb)>=0 168 wp->chars = statb.st_size - lseek(sffileno(fp),0L,1); 169 lseek(sffileno(fp),0L,2);
|
H A D | cmp.c | 277 if (fstat(sffileno(f1), &s1)) 279 else if (fstat(sffileno(f2), &s2))
|
H A D | tail.c | 166 return last || fstat(sffileno(fp), &st) || st.st_size || FIFO(st.st_mode) ? -1 : 0; 300 else if (fstat(sffileno(tp->sp), &st)) 331 if (fstat(sffileno(tp->sp), &st)) 646 if (fstat(sffileno(fp->sp), &st))
|
H A D | tee.c | 76 register int fd = sffileno(fp);
|
H A D | cksum.c | 238 if (!st && fstat(sffileno(ip), st = &ss)) 320 if (fstat(sffileno(sp), &st))
|
/illumos-gate/usr/src/lib/libast/common/disc/ |
H A D | sfdcmore.c | 98 int rfd = sffileno(rp); 99 int wfd = sffileno(rp); 319 if (!(sfset(f, 0, 0) & SF_WRITE) || !isatty(sffileno(sfstdin)) || !isatty(sffileno(sfstdout))) 335 astwinsize(sffileno(sfstdin), &rows, &cols);
|
H A D | sfdcfilter.c | 64 close(sffileno(fi->filter));
|
H A D | sfdcsubstr.c | 191 if (!(sp = f) && !(sp = sfnew(NIL(Sfio_t*), NIL(Void_t*), (size_t)SF_UNBOUND, dup(sffileno(parent)), parent->flags)))
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | mkservice.c | 185 int r=0, fd = sffileno(iop); 239 sfprintf(sfstderr," %d",sffileno(poll_list[i])); 246 sfprintf(sfstderr," %d",sffileno(poll_list[i]));
|
H A D | print.c | 184 fd = sffileno(shp->hist_ptr->histfp); 200 else if(!(sh.inuse_bits&(1<<fd)) && (sh_inuse(fd) || (shp->hist_ptr && fd==sffileno(shp->hist_ptr->histfp)))) 298 if(sffileno(outfile)!=sffileno(sfstderr))
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | shcomp.c | 115 if(fstat(sffileno(out),&statb) >=0)
|
H A D | fcin.c | 63 if(sffileno(f) >= 0)
|
H A D | io.c | 429 else if(type==SF_WRITE && (*(ssize_t*)data)<0 && sffileno(iop)!=2) 451 errormsg(SH_DICT,ERROR_system(1),e_badwrite,sffileno(iop)); 504 if((iop = shp->sftable[fd]) && sffileno(iop)>=0) 839 int r, fd=sffileno(sp), close_exec = shp->fdstatus[fd]&IOCLEX; 842 shp->fdstatus[sffileno(sp)] |= IOCLEX; 867 shp->fdstatus[sffileno(sp)] &= ~IOCLEX; 1076 dupfd = sffileno(sfstdout); 1392 fd = sffileno(outfile); 1410 return(write(sffileno(iop),buff,n)); 1618 fno = sffileno(io [all...] |
H A D | subshell.c | 127 if((fd=sffileno(sfstdout))>=0) 617 if(iop && sffileno(iop)==1)
|
/illumos-gate/usr/src/lib/libshell/common/edit/ |
H A D | history.c | 473 close(sffileno(hist_old->histfp)); 491 if(fstat(sffileno(hist_old->histfp),&statb)>=0) 776 return(write(sffileno(iop),(char*)buff,size)); 777 if((cur = lseek(sffileno(iop),(off_t)0,SEEK_END)) <0) 841 size = write(sffileno(iop),(char*)buff,size); 1166 close(oldfd=sffileno(fp));
|
/illumos-gate/usr/src/lib/libast/amd64/include/ast/ |
H A D | sfio.h | 313 extern int sffileno _ARG_((Sfio_t*)); 380 __INLINE__ int sffileno(Sfio_t* f) { return __sf_fileno(f); } function 403 #define sffileno(f) ( __sf_fileno(f) )
|
/illumos-gate/usr/src/lib/libast/common/include/ |
H A D | sfio.h | 313 extern int sffileno _ARG_((Sfio_t*)); 380 __INLINE__ int sffileno(Sfio_t* f) { return __sf_fileno(f); } function 403 #define sffileno(f) ( __sf_fileno(f) )
|
/illumos-gate/usr/src/lib/libast/i386/include/ast/ |
H A D | sfio.h | 313 extern int sffileno _ARG_((Sfio_t*)); 380 __INLINE__ int sffileno(Sfio_t* f) { return __sf_fileno(f); } function 403 #define sffileno(f) ( __sf_fileno(f) )
|
/illumos-gate/usr/src/lib/libast/sparc/include/ast/ |
H A D | sfio.h | 313 extern int sffileno _ARG_((Sfio_t*)); 380 __INLINE__ int sffileno(Sfio_t* f) { return __sf_fileno(f); } function 403 #define sffileno(f) ( __sf_fileno(f) )
|
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | sfio.h | 313 extern int sffileno _ARG_((Sfio_t*)); 380 __INLINE__ int sffileno(Sfio_t* f) { return __sf_fileno(f); } function 403 #define sffileno(f) ( __sf_fileno(f) )
|