Home
last modified time | relevance | path

Searched refs:_sfmode (Results 1 – 25 of 47) sorted by last modified time

12

/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
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 Dsfvscanf.c355 if(!form || f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0)
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 Dsfwr.c146 { if(f->mode != SF_WRITE && _sfmode(f,SF_WRITE,0) < 0 )
H A Dsfwrite.c88 if(SFMODE(f,local) != SF_WRITE && _sfmode(f,SF_WRITE,local) < 0 )
H A Dsftell.c43 if((mode = f->mode&SF_RDWR) != (int)f->mode && _sfmode(f,mode,0) < 0)
H A Dsfungetc.c64 if(c < 0 || (f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0))
H A Dsfvprintf.c185 if(f->mode != SF_WRITE && _sfmode(f,SF_WRITE,0) < 0)
H A Dsfseek.c81 mode = _sfmode(f,mode,local);
H A Dsfset.c53 rv = _sfmode(f,oflags,0);
90 (void)_sfmode(f,flags,1);
H A Dsfsetbuf.c143 else if((f->mode&SF_RDWR) != SFMODE(f,local) && _sfmode(f,0,local) < 0)
153 _sfmode(f,SF_READ,local) < 0)
H A Dsfsetfd.c81 if((f->mode&SF_RDWR) != f->mode && _sfmode(f,0,0) < 0)
H A Dsfsize.c42 if((mode = f->mode&SF_RDWR) != (int)f->mode && _sfmode(f,mode,0) < 0)
H A Dsfsk.c48 { if((mode = f->mode&SF_RDWR) != (int)f->mode && _sfmode(f,mode,0) < 0)
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 Dsfsync.c109 if((origf->mode&SF_RDWR) != SFMODE(origf,local) && _sfmode(origf,0,local) < 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 Dsfread.c84 if(SFMODE(f,local) != SF_READ && _sfmode(f,SF_READ,local) < 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 Dsfresize.c41 (f->mode != SF_WRITE && _sfmode(f,SF_WRITE,0) < 0) )
H A Dsfputr.c44 if(f->mode != SF_WRITE && _sfmode(f,SF_WRITE,0) < 0)
H A Dsfraise.c79 SFMODE(f,local) != (f->mode&SF_RDWR) && _sfmode(f,0,local) < 0)
/illumos-gate/usr/src/cmd/ast/libast/
H A Dmapfile-vers606 _sfmode;
/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/
H A Dgetdelim.c44 if(f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0) in getdelim()
H A Dfgets.c33 if(n <= 0 || !us || (f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0)) in _stdgets()

12