Searched refs:SFSK (Results 1 – 11 of 11) sorted by relevance
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfseek.c | 101 (void)SFSK(f,(Sfoff_t)0,SEEK_CUR,f->disc); 134 if(SFSK(f,r,SEEK_SET,f->disc) != r) 163 p = SFSK(f, p, type, f->disc); 166 p = (hardseek || r != f->here) ? SFSK(f,r,SEEK_SET,f->disc) : r; 179 { if((s = SFSK(f, (Sfoff_t)0, SEEK_CUR, f->disc)) == f->here || 181 (s = SFSK(f, f->here, SEEK_SET, f->disc)) == f->here) ) 249 if((hardseek || r != f->here) && (f->here = SFSK(f,r,SEEK_SET,f->disc)) != r) 251 f->here = SFSK(f,p,SEEK_SET,f->disc); 263 if((f->here = SFSK(f,p,SEEK_SET,f->disc)) != p)
|
H A D | sfsize.c | 61 if((e = SFSK(f,0,SEEK_END,disc)) >= 0) 63 if(SFSK(f,f->here,SEEK_SET,disc) != f->here) 64 f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,disc); 72 f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,disc); 78 f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,f->disc);
|
H A D | sfwr.c | 108 if(SFSK(f,(Sfoff_t)s,SEEK_CUR,NIL(Sfdisc_t*)) < 0) 182 { f->here = SFSK(f,(Sfoff_t)0,SEEK_END,dc); 187 f->here = SFSK(f,f->here,SEEK_SET,dc); 219 f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,dc);
|
H A D | sfrd.c | 148 (r = SFSK(f,(Sfoff_t)0,SEEK_CUR,dc)) != f->here) 199 (void)SFSK(f,f->here,SEEK_SET,dc); 216 (void)SFSK(f,f->here,SEEK_SET,dc); 238 f->here = SFSK(f,f->here,SEEK_SET,dc); 239 else f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,dc);
|
H A D | sfpurge.c | 62 (void)SFSK(f,f->here,SEEK_SET,f->disc); 85 (void)SFSK(f,f->here,SEEK_SET,f->disc);
|
H A D | sfsetbuf.c | 224 { if((f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,disc)) < 0) 228 if((e = SFSK(f,(Sfoff_t)0,SEEK_END,disc)) >= 0) 230 (void)SFSK(f,f->here,SEEK_SET,disc); 247 f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,f->disc);
|
H A D | sfsync.c | 137 if(SFSK(f,(Sfoff_t)(-1),SEEK_CUR,f->disc) >= 0) 150 (void)SFSK(f,f->here,SEEK_SET,f->disc);
|
H A D | sfresize.c | 62 { if(SFSK(f, size, SEEK_SET, f->disc) != size)
|
H A D | sfmode.c | 516 (addr = SFSK(f,0,SEEK_CUR,f->disc)) != f->here) 529 if(SFSK(f,addr,SEEK_SET,f->disc) < 0) 559 if(SFSK(f,addr,SEEK_SET,f->disc) < 0)
|
H A D | sfmove.c | 200 (void)SFSK(fr,(Sfoff_t)(-w),SEEK_CUR,fr->disc);
|
H A D | sfhdr.h | 906 #define SFSK(f,a,o,d) (SETLOCAL(f),sfsk(f,(Sfoff_t)a,o,d)) macro
|