Searched refs:SEEK_CUR (Results 51 - 75 of 173) sorted by relevance

1234567

/freebsd-10-stable/usr.bin/tail/
H A Dtail.c227 if (lseek(fileno(stdin), (off_t)0, SEEK_CUR) == -1 &&
/freebsd-10-stable/lib/libc/stdio/
H A Dfmemopen.c227 case SEEK_CUR:
H A Dopen_memstream.c128 case SEEK_CUR:
H A Dopen_wmemstream.c186 case SEEK_CUR:
H A Dfseek.c111 * Change any SEEK_CUR to SEEK_SET, and check `whence' argument.
116 case SEEK_CUR:
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_write.c149 ATF_REQUIRE(lseek(fd, 0, SEEK_CUR) == (off_t)(i + 1));
/freebsd-10-stable/contrib/libarchive/libarchive/test/
H A Dread_open_memory.c195 case SEEK_CUR:
H A Dtest_write_format_zip_large.c197 } else if (whence == SEEK_CUR) {
244 int64_t new_position = memory_read_seek(a, _private, skip, SEEK_CUR);
/freebsd-10-stable/contrib/xz/src/xz/
H A Dfile_io.c963 } else if (lseek(STDOUT_FILENO, 0, SEEK_CUR)
1055 SEEK_CUR) == -1) {
1098 (void)lseek(pair->src_fd, -(off_t)(rewind_size), SEEK_CUR);
1281 SEEK_CUR) == -1) {
/freebsd-10-stable/contrib/libarchive/libarchive/
H A Darchive_read_open_memory.c156 case SEEK_CUR:
/freebsd-10-stable/contrib/tcsh/
H A Dtc.os.h388 # ifdef SEEK_CUR
389 # define L_INCR SEEK_CUR
390 # else /* !SEEK_CUR */
392 # endif /* SEEK_CUR */
/freebsd-10-stable/include/
H A Dstdio.h219 #ifndef SEEK_CUR
220 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
/freebsd-10-stable/crypto/heimdal/lib/krb5/
H A Dkeytab_file.c457 pos = krb5_storage_seek(cursor->sp, 0, SEEK_CUR);
463 pos = krb5_storage_seek(cursor->sp, -len, SEEK_CUR);
483 curpos = krb5_storage_seek(cursor->sp, 0, SEEK_CUR);
703 krb5_storage_seek(sp, -4, SEEK_CUR);
707 krb5_storage_seek(sp, len, SEEK_CUR);
/freebsd-10-stable/crypto/heimdal/lib/kadm5/
H A Diprop-log.c121 off_t end = krb5_storage_seek(sp, 0, SEEK_CUR) + len;
356 krb5_storage_seek(sp, len, SEEK_CUR);
/freebsd-10-stable/bin/pax/
H A Dfile_subs.c795 if (lseek(fd, (off_t)wcnt, SEEK_CUR) < 0) {
843 if (lseek(fd, (off_t)-1, SEEK_CUR) < 0) {
/freebsd-10-stable/contrib/binutils/bfd/
H A Darchive64.c64 if (bfd_seek (abfd, (file_ptr) - 16, SEEK_CUR) != 0)
H A Dcache.c254 FILE *f = bfd_cache_lookup (abfd, whence != SEEK_CUR ? CACHE_NO_SEEK : 0);
/freebsd-10-stable/contrib/libstdc++/include/ext/
H A Dstdio_sync_filebuf.h167 __whence = SEEK_CUR;
/freebsd-10-stable/crypto/heimdal/lib/hdb/
H A Dhdb-mitdb.c313 krb5_storage_seek(sp, u16, SEEK_CUR);
404 krb5_storage_seek(sp, 2, SEEK_CUR); /* skip real length */
435 krb5_storage_seek(sp, u16, SEEK_CUR);
448 krb5_storage_seek(sp, u16, SEEK_CUR);
/freebsd-10-stable/lib/libc/db/recno/
H A Drec_open.c121 if (lseek(rfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) {
/freebsd-10-stable/lib/libkvm/
H A Dkvm_minidump_mips.c155 off = lseek(kd->pmfd, 0, SEEK_CUR);
/freebsd-10-stable/libexec/comsat/
H A Dcomsat.c234 (void)fseeko(fi, offset, SEEK_CUR);
/freebsd-10-stable/tests/sys/fifo/
H A Dfifo_misc.c119 if (lseek(reader_fd, 1, SEEK_CUR) >= 0) {
/freebsd-10-stable/lib/libstand/
H A Dgzipfs.c300 case SEEK_CUR:
H A Dbzipfs.c320 case SEEK_CUR:

Completed in 307 milliseconds

1234567