Searched refs:hardseek (Results 1 – 2 of 2) sorted by relevance
/titanic_51/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfseek.c | 61 int mode, local, hardseek, mustsync; local 68 hardseek = (type|f->flags)&(SF_SHARE|SF_PUBLIC); 70 if(hardseek && f->mode == (SF_READ|SF_SYNCED) ) 79 if(hardseek&SF_PUBLIC) /* seek ptr must follow file descriptor */ 82 if(hardseek&SF_PUBLIC) 146 if(!hardseek && type < SEEK_END && !(f->flags&SF_APPENDWR) ) 162 { if((hardseek&SF_PUBLIC) || type == SEEK_END) 166 p = (hardseek || r != f->here) ? SFSK(f,r,SEEK_SET,f->disc) : r; 178 { if((hardseek || (type == SEEK_CUR && p == 0)) ) 180 (s >= 0 && !(hardseek [all...] |
/titanic_51/usr/src/lib/libast/common/sfio/ |
H A D | sfseek.c | 61 int mode, local, hardseek, mustsync; local 68 hardseek = (type|f->flags)&(SF_SHARE|SF_PUBLIC); 70 if(hardseek && f->mode == (SF_READ|SF_SYNCED) ) 79 if(hardseek&SF_PUBLIC) /* seek ptr must follow file descriptor */ 82 if(hardseek&SF_PUBLIC) 146 if(!hardseek && type < SEEK_END && !(f->flags&SF_APPENDWR) ) 162 { if((hardseek&SF_PUBLIC) || type == SEEK_END) 166 p = (hardseek || r != f->here) ? SFSK(f,r,SEEK_SET,f->disc) : r; 178 { if((hardseek || (type == SEEK_CUR && p == 0)) ) 180 (s >= 0 && !(hardseek&SF_PUBLIC) && [all …]
|