Searched refs:SF_SHARE (Results 1 - 25 of 39) sorted by relevance

12

/osnet-11/usr/src/lib/libast/common/stdio/
H A Dfseek.c35 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 Dfseeko.c35 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 Dsfsize.c55 { if(f->flags&(SF_SHARE|SF_APPENDWR))
77 if((f->flags&(SF_SHARE|SF_PUBLIC)) == (SF_SHARE|SF_PUBLIC))
H A Dsftell.c54 if(f->extent >= 0 && (f->flags&(SF_SHARE|SF_APPENDWR)) )
H A Dsfrd.c147 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 Dsfset.c94 if(!(f->flags&SF_SHARE) || f->extent < 0)
H A Dsfwr.c178 { 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 Dsfpool.c27 ** 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 Dsfseek.c68 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 Dsffilbuf.c95 { if(r > n && f->extent < 0 && (f->flags&SF_SHARE) )
H A Dsfputr.c110 if(f->extent < 0 && (f->flags&SF_SHARE) )
H A Dsfmove.c93 (fw->extent < 0 || (fw->flags&SF_SHARE)) ) )
155 if(n > 0 && fr->extent < 0 && (fr->flags&SF_SHARE) )
H A Dsfread.c109 ((f->flags&SF_SHARE) && f->extent < 0) )
H A Dsfwrite.c148 if(f->extent < 0 && (f->flags&SF_SHARE) && !(f->flags&SF_PUBLIC) )
H A Dsfreserve.c130 else if(type == SF_LOCKR && f->extent < 0 && (f->flags&SF_SHARE) )
H A Dsfsync.c152 if((f->flags&SF_SHARE) && !(f->flags&SF_PUBLIC) &&
H A Dsfmode.c511 if((f->flags&(SF_SHARE|SF_PUBLIC)) == (SF_SHARE|SF_PUBLIC) &&
H A Dsfsetbuf.c261 f->flags |= SF_SHARE|SF_PUBLIC;
/osnet-11/usr/src/lib/libcmd/common/
H A Dhead.c130 sfset(fp, SF_SHARE, 1);
H A Dtail.c282 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 Dperlsfio.h54 #define PerlIO_tell(f) sfseek(f,0,1|SF_SHARE)
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dread.c316 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 Dprint.c276 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 Dio.c460 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 Dsfio.h141 #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