Home
last modified time | relevance | path

Searched refs:_sfmode (Results 1 – 25 of 47) sorted by relevance

12

/titanic_41/usr/src/lib/libast/common/sfio/
H A Dsfwalk.c44 _sfmode(sfstdin, (sfstdin->mode & SF_RDWR), 0);
46 _sfmode(sfstdout, (sfstdout->mode & SF_RDWR), 0);
48 _sfmode(sfstderr, (sfstderr->mode & SF_RDWR), 0);
H A Dsfpool.c128 { if(SFMODE(head,1) != SF_WRITE && _sfmode(head,SF_WRITE,1) < 0)
270 if((f->mode&SF_RDWR) != f->mode && _sfmode(f,0,0) < 0)
279 if((pf->mode&SF_RDWR) != pf->mode && _sfmode(pf,0,0) < 0)
327 { if(SFMODE(f,1) != SF_WRITE && _sfmode(f,SF_WRITE,1) < 0)
329 if(SFMODE(pf,1) != SF_WRITE && _sfmode(pf,SF_WRITE,1) < 0)
H A Dsfset.c46 if((oflags = (f->mode&SF_RDWR)) != (int)f->mode && _sfmode(f,oflags,0) < 0)
80 (void)_sfmode(f,flags,1);
H A Dsfpeek.c48 (void)_sfmode(f,0,0);
67 if((int)f->mode != mode && _sfmode(f,mode,0) < 0)
H A Dsfpurge.c41 if((mode = f->mode&SF_RDWR) != (int)f->mode && _sfmode(f,mode|SF_SYNCED,0) < 0)
80 (void)_sfmode(f,SF_READ,1);
H A Dsfstack.c55 if(f1 && (f1->mode&SF_RDWR) != f1->mode && _sfmode(f1,0,0) < 0)
57 if(f2 && (f2->mode&SF_RDWR) != f2->mode && _sfmode(f2,0,0) < 0)
H A Dsfnew.c69 if(((f->mode&SF_RDWR) != f->mode && _sfmode(f,0,0) < 0) ||
126 (void)_sfmode(f,f->mode&SF_RDWR,0);
H A Dsfgetu.c43 if(f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0)
H A Dsftell.c43 if((mode = f->mode&SF_RDWR) != (int)f->mode && _sfmode(f,mode,0) < 0)
H A Dsfgetm.c44 if(f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0)
H A Dsfreserve.c81 { if((f->mode&SF_RDWR) != f->mode && _sfmode(f,0,0) < 0)
97 if((int)f->mode != mode && _sfmode(f,mode,local) < 0)
H A Dsfgetl.c43 if(f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0)
H A D_sfputu.c45 if(f->mode != SF_WRITE && _sfmode(f,SF_WRITE,0) < 0)
H A Dsfgetd.c46 if(f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0)
H A D_sfputm.c46 if(v > m || (f->mode != SF_WRITE && _sfmode(f,SF_WRITE,0) < 0) )
H A Dsfnputc.c47 if(SFMODE(f,local) != SF_WRITE && _sfmode(f,SF_WRITE,local) < 0)
H A D_sfputl.c44 if(f->mode != SF_WRITE && _sfmode(f,SF_WRITE,0) < 0)
H A Dsfmove.c81 if(fr->mode != SF_READ && _sfmode(fr,SF_READ,0) < 0)
88 { if(fw->mode != SF_WRITE && _sfmode(fw,SF_WRITE,0) < 0 )
H A Dsfresize.c41 (f->mode != SF_WRITE && _sfmode(f,SF_WRITE,0) < 0) )
H A D_sfputd.c47 if(f->mode != SF_WRITE && _sfmode(f,SF_WRITE,0) < 0)
H A Dsfdisc.c129 if(_sfmode(f,SF_READ,0) < 0)
133 { if((f->mode&SF_RDWR) != f->mode && _sfmode(f,0,0) < 0)
H A Dsfungetc.c64 if(c < 0 || (f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0))
H A Dsfraise.c79 SFMODE(f,local) != (f->mode&SF_RDWR) && _sfmode(f,0,local) < 0)
/titanic_41/usr/src/lib/libast/common/stdio/
H A Dfgets.c33 if(n <= 0 || !us || (f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0)) in _stdgets()
H A Dgetdelim.c44 if(f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0) in getdelim()

12