Home
last modified time | relevance | path

Searched refs:SFSK (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfseek.c101 (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 Dsfsize.c61 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 Dsfwr.c108 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 Dsfrd.c148 (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 Dsfpurge.c62 (void)SFSK(f,f->here,SEEK_SET,f->disc);
85 (void)SFSK(f,f->here,SEEK_SET,f->disc);
H A Dsfsetbuf.c224 { 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 Dsfsync.c137 if(SFSK(f,(Sfoff_t)(-1),SEEK_CUR,f->disc) >= 0)
150 (void)SFSK(f,f->here,SEEK_SET,f->disc);
H A Dsfresize.c62 { if(SFSK(f, size, SEEK_SET, f->disc) != size)
H A Dsfmode.c516 (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 Dsfmove.c200 (void)SFSK(fr,(Sfoff_t)(-w),SEEK_CUR,fr->disc);
H A Dsfhdr.h906 #define SFSK(f,a,o,d) (SETLOCAL(f),sfsk(f,(Sfoff_t)a,o,d)) macro