Searched defs:fno (Results 1 - 5 of 5) sorted by relevance
/osnet-11/usr/src/lib/libc/port/stdio/ |
H A D | setbuf.c | 47 int fno = GET_FD(iop); /* file number */ local 59 if (fno < 2) { 61 buf = (fno == 0) ? _sibuf : _sobuf; 64 if (fno < _NFILE) { 65 buf = _smbuf[fno]; 73 if (isatty(fno))
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | main.c | 389 static void exfile(register Shell_t *shp, register Sfio_t *iop,register int fno) argument 401 if(fno > 0) 404 VALIDATE_FD(shp, fno); 405 if(fno < 10 && ((r=sh_fcntl(fno,F_DUPFD,10))>=10)) 408 shp->fdstatus[r] = shp->fdstatus[fno]; 409 sh_close(fno); 410 fno = r; 412 fcntl(fno,F_SETFD,FD_CLOEXEC); 413 shp->fdstatus[fno] | [all...] |
H A D | path.c | 616 * load functions from file <fno> 618 static void funload(Shell_t *shp,int fno, const char *name) argument 640 sh_close(fno); 649 sh_eval(sfnew(NIL(Sfio_t*),buff,IOBSIZE,fno,SF_READ),SH_FUNEVAL); 650 sh_close(fno); 681 register int fno; local 731 if(pp && strmatch(name,e_alphanum) && (fno=path_opentype(shp,name,pp,1))>=0) 735 sh_close(fno); 738 funload(shp,fno,name);
|
H A D | io.c | 1816 register int n,fno; local 1829 fno = sffileno(iop); 1834 if(errno==0 && (n=fcntl(fno,F_GETFL,0))&O_NDELAY) 1837 fcntl(fno, F_SETFL, n); 1845 n = fcntl(fno,F_GETFL,0); 1847 fcntl(fno, F_SETFL, n); 1863 if(isatty(fno))
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | tail.c | 207 register int fno = 0; local 218 offset[fno] = sftell(out); 221 out = tmp[fno= !fno]; 228 offset[fno] = 0; 229 fno= !fno; 237 if (offset[fno]) 241 sfmove(tmp[!fno], NiL, n, delim); 242 if ((n = offset[!fno] [all...] |
Completed in 32 milliseconds