Lines Matching refs:sffileno
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()
1686 int fd = sffileno(iop); in piperead()
1701 if(!(sh.fdstatus[sffileno(iop)]&IOCLEX) && (sfset(iop,0,0)&SF_SHARE)) in piperead()
1746 rsize = (*readf)(sh.ed_context, sffileno(iop), (char*)buff, size, reedit); in slowread()
1869 if(flag==2 && sfpkrd(sffileno(iop),buff,1,'\n',0,1) >= 0) in io_prompt()
1889 ioctl(sffileno(sfstderr),TIOCLBIC,&mode); in io_prompt()
1949 register int fd = sffileno(sp); in sftrack()
1958 (*fdnotify)(sffileno(sp),flag==SF_CLOSING?-1:newfd); in sftrack()
2012 (*fdnotify)(-1,sffileno(sp)); in sftrack()
2342 fd = sffileno(shp->hist_ptr->histfp); in sh_iogetiop()