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

/osnet-11/usr/src/lib/libast/common/sfio/
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 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 Dsfpurge.c62 (void)SFSK(f,f->here,SEEK_SET,f->disc);
85 (void)SFSK(f,f->here,SEEK_SET,f->disc);
H A Dsfresize.c62 { if(SFSK(f, size, SEEK_SET, f->disc) != size)
H A Dsfwr.c105 if(SFSK(f,(Sfoff_t)s,SEEK_CUR,NIL(Sfdisc_t*)) < 0)
179 { f->here = SFSK(f,(Sfoff_t)0,SEEK_END,dc);
184 f->here = SFSK(f,f->here,SEEK_SET,dc);
216 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 Dsfsetbuf.c218 { if((f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,disc)) < 0)
222 if((e = SFSK(f,(Sfoff_t)0,SEEK_END,disc)) >= 0)
224 (void)SFSK(f,f->here,SEEK_SET,disc);
241 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 Dsfmode.c512 (addr = SFSK(f,0,SEEK_CUR,f->disc)) != f->here)
525 if(SFSK(f,addr,SEEK_SET,f->disc) < 0)
555 if(SFSK(f,addr,SEEK_SET,f->disc) < 0)
H A Dsfmove.c196 (void)SFSK(fr,(Sfoff_t)(-w),SEEK_CUR,fr->disc);
H A Dsfhdr.h895 #define SFSK(f,a,o,d) (SETLOCAL(f),sfsk(f,(Sfoff_t)a,o,d)) macro

Completed in 75 milliseconds