Lines Matching defs:offset
140 off_t lskip(int fd, off_t offset)
147 if (end > 0 && end < offset) return offset - end;
148 end = offset+cur;
153 while (offset>0) {
154 int try = offset>sizeof(libbuf) ? sizeof(libbuf) : offset, or;
157 if (or < 0) perror_exit("lskip to %lld", (long long)offset);
158 else offset -= or;
162 return offset;
612 // Adjust timespec by nanosecond offset
613 void nanomove(struct timespec *ts, long long offset)
615 long long nano = ts->tv_nsec + offset, secs = nano/1000000000;