/titanic_44/usr/src/lib/libast/common/sfio/ |
H A D | _sffileno.c | 24 #undef sffileno 27 int sffileno(reg Sfio_t* f) in sffileno() function 29 int sffileno(f) in sffileno()
|
/titanic_44/usr/src/lib/libast/common/uwin/ |
H A D | getpass.c | 58 if(tcgetattr(sffileno(iop),&told) < 0) in getpass() 63 if(tcsetattr(sffileno(iop),TCSANOW,&tnew) < 0) in getpass() 69 tcsetattr(sffileno(iop),TCSANOW,&told); in getpass()
|
/titanic_44/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 in b_wc() 168 wp->chars = statb.st_size - lseek(sffileno(fp),0L,1); in b_wc() 169 lseek(sffileno(fp),0L,2); in b_wc()
|
H A D | cmp.c | 277 if (fstat(sffileno(f1), &s1)) in b_cmp() 279 else if (fstat(sffileno(f2), &s2)) in b_cmp()
|
H A D | tail.c | 166 return last || fstat(sffileno(fp), &st) || st.st_size || FIFO(st.st_mode) ? -1 : 0; in tailpos() 300 else if (fstat(sffileno(tp->sp), &st)) in init() 331 if (fstat(sffileno(tp->sp), &st)) in init() 646 if (fstat(sffileno(fp->sp), &st)) in b_tail()
|
H A D | tee.c | 76 register int fd = sffileno(fp); in tee_write()
|
H A D | cksum.c | 238 if (!st && fstat(sffileno(ip), st = &ss)) in pr() 320 if (fstat(sffileno(sp), &st)) in verify()
|
/titanic_44/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)…
|
/titanic_44/usr/src/lib/libast/common/port/ |
H A D | astquery.c | 60 if (isatty(sffileno(sfstdin))) in astquery() 64 if (isatty(sffileno(sfstderr))) in astquery()
|
/titanic_44/usr/src/lib/libshell/common/sh/ |
H A D | io.c | 429 else if(type==SF_WRITE && (*(ssize_t*)data)<0 && sffileno(iop)!=2) in outexcept() 451 errormsg(SH_DICT,ERROR_system(1),e_badwrite,sffileno(iop)); in outexcept() 504 if((iop = shp->sftable[fd]) && sffileno(iop)>=0) in sh_iostream() 839 int r, fd=sffileno(sp), close_exec = shp->fdstatus[fd]&IOCLEX; in io_patseek() 842 shp->fdstatus[sffileno(sp)] |= IOCLEX; in io_patseek() 867 shp->fdstatus[sffileno(sp)] &= ~IOCLEX; in io_patseek() 1076 dupfd = sffileno(sfstdout); in sh_redirect() 1392 fd = sffileno(outfile); in io_heredoc() 1410 return(write(sffileno(iop),buff,n)); in tee_write() 1618 fno = sffileno(iop); in slowexcept() [all …]
|
H A D | shcomp.c | 115 if(fstat(sffileno(out),&statb) >=0) in main()
|
H A D | fcin.c | 63 if(sffileno(f) >= 0) in fcfopen()
|
H A D | subshell.c | 127 if((fd=sffileno(sfstdout))>=0) in sh_subtmpfile() 617 if(iop && sffileno(iop)==1) in sh_subshell()
|
/titanic_44/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) in wideexcept()
|
/titanic_44/usr/src/lib/libshell/common/bltins/ |
H A D | mkservice.c | 185 int r=0, fd = sffileno(iop); in process_stream() 239 sfprintf(sfstderr," %d",sffileno(poll_list[i])); in waitnotify() 246 sfprintf(sfstderr," %d",sffileno(poll_list[i])); in waitnotify()
|
H A D | print.c | 184 fd = sffileno(shp->hist_ptr->histfp); in b_print() 200 …else if(!(sh.inuse_bits&(1<<fd)) && (sh_inuse(fd) || (shp->hist_ptr && fd==sffileno(shp->hist_ptr-… in b_print() 298 if(sffileno(outfile)!=sffileno(sfstderr)) in b_print()
|
/titanic_44/usr/src/lib/libshell/common/edit/ |
H A D | history.c | 473 close(sffileno(hist_old->histfp)); in hist_trim() 491 if(fstat(sffileno(hist_old->histfp),&statb)>=0) in hist_trim() 776 return(write(sffileno(iop),(char*)buff,size)); in hist_write() 777 if((cur = lseek(sffileno(iop),(off_t)0,SEEK_END)) <0) in hist_write() 841 size = write(sffileno(iop),(char*)buff,size); in hist_write() 1166 close(oldfd=sffileno(fp)); in hist_exceptf()
|
/titanic_44/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); } in sffileno() function 403 #define sffileno(f) ( __sf_fileno(f) )
|
/titanic_44/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); } in sffileno() function 403 #define sffileno(f) ( __sf_fileno(f) )
|
/titanic_44/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); } in sffileno() function 403 #define sffileno(f) ( __sf_fileno(f) )
|
/titanic_44/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); } in sffileno() function 403 #define sffileno(f) ( __sf_fileno(f) )
|
/titanic_44/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); } in sffileno() function 403 #define sffileno(f) ( __sf_fileno(f) )
|