Searched refs:sfsetfd (Results 1 - 16 of 16) sorted by relevance

/ast/src/cmd/tests/sfio/
H A Dtsetfd.c32 if(sfsetfd(f,-1) != -1 || sffileno(f) != -1)
37 if(sfsetfd(f,fd) != fd)
47 if(sfsetfd(f,-1) != -1 || sffileno(f) != -1)
54 if(sfsetfd(f,fd) != fd)
H A Dthole.c42 sfsetfd(null,-1);
43 sfsetfd(null,sffileno(f));
H A Dtnotify.c62 if(sfsetfd(f,fd+5) != fd+5 || Type != SF_SETFD)
H A Dtmode.c70 sfsetfd(f,-1);
H A Dtbadargs.c87 CALL(sfsetfd(0,0));
H A Dtsetbuf.c68 if((n = sfsetfd(f,fd+NEXTFD)) != fd+NEXTFD)
75 terror("Fd %d changes status after sfsetfd %d->%d",
/ast/src/lib/libast/sfio/
H A Dsfsetfd.c59 int sfsetfd(Sfio_t* f, int newfd) function
61 int sfsetfd(f,newfd)
H A Dsfpopen.c258 /* use sfsetfd to make these descriptors the std-ones */
270 if(sfsetfd(&sf,pkeep) != pkeep)
276 if(sfsetfd(&sf,ckeep) != ckeep)
H A D_sfopen.c139 (void)sfsetfd(f,oldfd);
/ast/src/lib/libast/stdio/
H A Dvfwscanf.c117 sfsetfd(t, -1);
/ast/src/lib/libcmd/
H A Dfds.c356 sfsetfd(sp, -1);
/ast/src/cmd/ksh93/sh/
H A Dio.c597 fd = sfsetfd(sp,10);
652 sfsetfd(spnew,f2);
671 sfsetfd(sp,f2);
1465 sfsetfd(sp,-1);
1623 sfsetfd(outfile,-1);
2236 fd = sfsetfd(sp,10);
2411 sfsetfd(sp,-1);
H A Dsubshell.c160 sfsetfd(sfstdout,1);
675 int fd=sfsetfd(iop,3);
/ast/src/lib/libast/include/
H A Dsfio.h248 extern int sfsetfd _ARG_((Sfio_t*, int));
/ast/src/cmd/ksh93/edit/
H A Dhistory.c489 sfsetfd(hist_old->histfp,fd);
/ast/src/lib/libast/
H A DMakefile158 sfsetbuf.c sfsetfd.c sfsize.c sfsk.c sfstack.c sfstrtod.c sfsync.c \

Completed in 62 milliseconds