Searched refs:SF_SHARE (Results 1 - 25 of 39) sorted by relevance
12
/osnet-11/usr/src/lib/libast/common/stdio/ |
H A D | fseek.c | 35 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1; 45 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
|
H A D | fseeko.c | 35 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1; 45 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
|
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sfsize.c | 55 { if(f->flags&(SF_SHARE|SF_APPENDWR)) 77 if((f->flags&(SF_SHARE|SF_PUBLIC)) == (SF_SHARE|SF_PUBLIC))
|
H A D | sftell.c | 54 if(f->extent >= 0 && (f->flags&(SF_SHARE|SF_APPENDWR)) )
|
H A D | sfrd.c | 147 if((f->flags&(SF_SHARE|SF_PUBLIC)) == (SF_SHARE|SF_PUBLIC) && 153 if((f->flags&SF_SHARE) || (size_t)(r = f->extent-f->here) < n) 236 if(f->extent >= 0 && (f->flags&SF_SHARE) ) 246 { int share = f->flags&SF_SHARE; 251 else f->flags &= ~SF_SHARE; 262 else if(f->extent < 0 && (f->flags&SF_SHARE) && rcrv)
|
H A D | sfset.c | 94 if(!(f->flags&SF_SHARE) || f->extent < 0)
|
H A D | sfwr.c | 178 { if(f->here != f->extent || (f->flags&SF_SHARE)) 183 else if((f->flags&SF_SHARE) && !(f->flags&SF_PUBLIC)) 198 !(f->flags&(SF_SHARE|SF_APPENDWR)) &&
|
H A D | sfpool.c | 27 ** 0 or SF_SHARE. 90 p->mode = mode&SF_SHARE; 123 if(!(p->mode&SF_SHARE) || (head->mode&SF_READ) || (f->mode&SF_READ) ) 326 if(mode&SF_SHARE) /* can only have write streams */
|
H A D | sfseek.c | 68 hardseek = (type|f->flags)&(SF_SHARE|SF_PUBLIC); 80 f->flags |= SF_SHARE|SF_PUBLIC; 89 mustsync = (type&SF_SHARE) && !(type&SF_PUBLIC) &&
|
H A D | sffilbuf.c | 95 { if(r > n && f->extent < 0 && (f->flags&SF_SHARE) )
|
H A D | sfputr.c | 110 if(f->extent < 0 && (f->flags&SF_SHARE) )
|
H A D | sfmove.c | 93 (fw->extent < 0 || (fw->flags&SF_SHARE)) ) ) 155 if(n > 0 && fr->extent < 0 && (fr->flags&SF_SHARE) )
|
H A D | sfread.c | 109 ((f->flags&SF_SHARE) && f->extent < 0) )
|
H A D | sfwrite.c | 148 if(f->extent < 0 && (f->flags&SF_SHARE) && !(f->flags&SF_PUBLIC) )
|
H A D | sfreserve.c | 130 else if(type == SF_LOCKR && f->extent < 0 && (f->flags&SF_SHARE) )
|
H A D | sfsync.c | 152 if((f->flags&SF_SHARE) && !(f->flags&SF_PUBLIC) &&
|
H A D | sfmode.c | 511 if((f->flags&(SF_SHARE|SF_PUBLIC)) == (SF_SHARE|SF_PUBLIC) &&
|
H A D | sfsetbuf.c | 261 f->flags |= SF_SHARE|SF_PUBLIC;
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | head.c | 130 sfset(fp, SF_SHARE, 1);
|
H A D | tail.c | 282 sfset(tp->sp, SF_SHARE, 0); 287 sfset(tp->sp, SF_SHARE, !(flags & FOLLOW)); 734 sfset(ip, SF_SHARE, 1); 744 sfset(ip, SF_SHARE, 0);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | perlsfio.h | 54 #define PerlIO_tell(f) sfseek(f,0,1|SF_SHARE)
|
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | read.c | 316 was_share = (sfset(iop,SF_SHARE,1)&SF_SHARE)!=0; 339 if((sfset(iop,SF_SHARE,1)&SF_SHARE) && fd!=0) 726 sfset(iop,SF_SHARE,0);
|
H A D | print.c | 276 n = sfset(outfile,SF_SHARE|SF_PUBLIC,0); 325 else if(n&SF_SHARE) 327 sfset(outfile,SF_SHARE|SF_PUBLIC,1);
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | io.c | 460 sfset(sfstdin,SF_SHARE|SF_PUBLIC,1); 542 flags |= SF_SHARE|SF_PUBLIC; 655 sfset(sp,SF_SHARE|SF_PUBLIC,1); 674 sfset(sp,SF_SHARE|SF_PUBLIC,1); 997 was_share = sfset(sp,SF_SHARE,1); 1021 if(fd==0 && !(was_share&SF_SHARE)) 1022 sfset(sp, SF_SHARE,0); 1912 if(!(shp->fdstatus[sffileno(iop)]&IOCLEX) && (sfset(iop,0,0)&SF_SHARE)) 2098 sfflags = sfset(sfstderr,SF_SHARE|SF_PUBLIC|SF_READ,0); 2150 sfset(sfstderr,sfflags&SF_READ|SF_SHARE|SF_PUBLI [all...] |
/osnet-11/usr/src/lib/libast/amd64/include/ast/ |
H A D | sfio.h | 141 #define SF_SHARE 0000100 /* stream with shared file descriptor */ macro 146 #define SF_PUBLIC 0004000 /* SF_SHARE and follow physical seek */
|
Completed in 82 milliseconds
12