/illumos-gate/usr/src/lib/libbc/libc/stdio/4.2/ |
H A D | setbuf.c | 45 register int fno = fileno(iop); /* file number */ local 53 iop->_base = _smbuf[fno];
|
H A D | flsbuf.c | 229 int fno = fileno(iop); /* file number */ local 235 iop->_base = _smbuf[fno]; 239 if ( isatty(fno) ) { 243 if (fstat(fno, &statb) < 0) 256 iop->_base = _smbuf[fno];
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/ |
H A D | setvbuf.c | 47 register int fno = fileno(iop); /* file number */ local 58 iop->_base = _smbuf[fno];
|
H A D | setbuffer.c | 48 int fno = fileno(iop); /* file number */ local 56 iop->_base = _smbuf[fno];
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/sys5/ |
H A D | setbuf.c | 45 register int fno = fileno(iop); /* file number */ local 53 iop->_base = _smbuf[fno]; 57 if (isatty(fno))
|
H A D | flsbuf.c | 234 int fno = fileno(iop); /* file number */ local 240 iop->_base = _smbuf[fno]; 244 if ( isatty(fno) ) { 248 if (fstat(fno, &statb) < 0) 261 iop->_base = _smbuf[fno];
|
/illumos-gate/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))
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | setbuffer.c | 53 int fno = fileno(iop); /* file number */ local 62 if (fno < 2) { 64 buf = (fno == 0) ? _sibuf : _sobuf; 66 } else if (fno < _NFILE) { 67 buf = _smbuf[fno];
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | main.c | 383 static void exfile(register Shell_t *shp, register Sfio_t *iop,register int fno) argument 395 if(fno > 0) 398 if(fno < 10 && ((r=sh_fcntl(fno,F_DUPFD,10))>=10)) 400 shp->fdstatus[r] = shp->fdstatus[fno]; 401 sh_close(fno); 402 fno = r; 404 fcntl(fno,F_SETFD,FD_CLOEXEC); 405 shp->fdstatus[fno] |= IOCLEX; 406 iop = sh_iostream((void*)shp,fno); [all...] |
H A D | path.c | 627 * load functions from file <fno> 629 static void funload(Shell_t *shp,int fno, const char *name) argument 659 sh_eval(sfnew(NIL(Sfio_t*),buff,IOBSIZE,fno,SF_READ),SH_FUNEVAL); 680 register int fno; local 729 if(pp && strmatch(name,e_alphanum) && (fno=path_opentype(name,pp,1))>=0) 733 sh_close(fno); 736 funload(shp,fno,name);
|
H A D | io.c | 1610 register int n,fno; local 1618 fno = sffileno(iop); 1623 if(errno==0 && (n=fcntl(fno,F_GETFL,0))&O_NDELAY) 1626 fcntl(fno, F_SETFL, n); 1634 n = fcntl(fno,F_GETFL,0); 1636 fcntl(fno, F_SETFL, n); 1652 if(isatty(fno))
|
/illumos-gate/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...] |
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | lufs.c | 567 daddr_t fno; local 618 fno = logbtofrag(fs, ep->pbno); 620 for (j = 0; j < nfno; j += fs->fs_frag, fno += fs->fs_frag) 621 free(ip, fno, fs->fs_bsize, 0); 668 daddr_t fno; /* in frags */ local 694 fno = contigpref(ufsvfsp, nb + fs->fs_bsize, minb); 695 error = alloc(ip, fno, fs->fs_bsize, &fno, cr); 698 bno = fsbtodb(fs, fno); 720 error = alloc(ip, fno [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | utilities.c | 2177 daddr32_t nfno, fno; local 2215 fno = logbtofrag(&sblock, ep->pbno); 2217 for (j = 0; j < nfno; ++j, ++fno) { 2227 (*cb)(fno); 2228 if (!testbmap(fno)) 2235 fno = logbtofrag(&sblock, sblock.fs_logbno); 2236 for (j = 0; j < sblock.fs_frag; ++j, ++fno) 2237 (*cb)(fno);
|