/macosx-10.10.1/ksh-23/ksh/src/lib/libast/sfio/ |
H A D | _sffileno.c | 24 #undef sffileno macro 27 int sffileno(reg Sfio_t* f) function 29 int sffileno(f)
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/stdio/ |
H A D | fileno.c | 39 return sffileno(f);
|
H A D | vfwscanf.c | 41 if (sffileno(f) >= 0)
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/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);
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/port/ |
H A D | astquery.c | 63 if (isatty(sffileno(sfstdin))) 67 if (isatty(sffileno(sfstderr)))
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libcmd/ |
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 | 369 if (fstat(sffileno(f1), &s1)) 371 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; 298 else if (fstat(sffileno(tp->sp), &st)) 329 if (fstat(sffileno(tp->sp), &st)) 650 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))
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/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)))
|
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/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 | 218 fd = sffileno(shp->gd->hist_ptr->histfp); 234 else if(!(shp->inuse_bits&(1<<fd)) && (sh_inuse(shp,fd) || (shp->gd->hist_ptr && fd==sffileno(shp->gd->hist_ptr->histfp)))) 332 if(sffileno(outfile)!=sffileno(sfstderr))
|
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/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 | 478 else if(type==SF_WRITE && (*(ssize_t*)data)<0 && sffileno(iop)!=2) 500 errormsg(SH_DICT,ERROR_system(1),e_badwrite,sffileno(iop)); 549 if((iop = shp->sftable[fd]) && sffileno(iop)>=0) 1000 int r, fd=sffileno(sp), close_exec = shp->fdstatus[fd]&IOCLEX; 1003 shp->fdstatus[sffileno(sp)] |= IOCLEX; 1028 shp->fdstatus[sffileno(sp)] &= ~IOCLEX; 1268 dupfd = sffileno(sfstdout); 1575 int fno = sffileno(shp->heredocs); 1601 if(sffileno(tmp)>0) 1622 fd = sffileno(outfil [all...] |
H A D | subshell.c | 135 if((fd=sffileno(sfstdout))<0) 673 if(iop && sffileno(iop)==1)
|
H A D | lex.c | 207 if(sffileno(iop)>=0)
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/astsa/ |
H A D | ast.h | 125 #define sffileno(f) fileno(f) macro
|
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/edit/ |
H A D | history.c | 473 close(sffileno(hist_old->histfp)); 494 if(fstat(sffileno(hist_old->histfp),&statb)>=0) 809 return(write(sffileno(iop),(char*)buff,size)); 810 if((cur = lseek(sffileno(iop),(off_t)0,SEEK_END)) <0) 873 size = write(sffileno(iop),(char*)buff,size); 1198 close(oldfd=sffileno(fp));
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/include/ |
H A D | sfio.h | 315 extern int sffileno _ARG_((Sfio_t*)); 382 __INLINE__ int sffileno(Sfio_t* f) { return __sf_fileno(f); } function 405 #define sffileno(f) ( __sf_fileno(f) )
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libcoshell/ |
H A D | coopen.c | 58 close(sffileno(state.current->msgfp));
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/misc/ |
H A D | error.c | 573 if (fd == sffileno(sfstderr) && error_info.write == write)
|