Lines Matching refs:lseek
226 offset = lseek(wfile->w_afd, 0, SEEK_CUR) - reclen;
229 "Could not reposition file pointer - lseek(%s, 0, SEEK_CUR) failed: %s\n",
235 if ((lseek(wfile->w_rfd, offset, SEEK_SET)) == -1) {
237 "Could not reposition file pointer - lseek(%s, %ld, SEEK_SET) failed: %s\n",
276 if ((lseek(fd, 0, SEEK_END)) == -1) {
278 "Could not reposition file pointer - lseek(%s, 0, SEEK_END) failed: %s\n",
282 offset = lseek(fd, 0, SEEK_CUR);
285 "Could not reposition file pointer - lseek(%s, 0, SEEK_CUR) failed: %s\n",
311 if ((lseek(fd, offset, SEEK_SET)) == -1) {
313 "Could not reposition file pointer - lseek(%s, %d, SEEK_SET) failed: %s\n",