Searched refs:whence (Results 1 - 25 of 293) sorted by relevance

1234567891011>>

/netbsd-current/lib/libc/stdio/
H A Dfseek.c54 fseek(FILE *fp, long l_offset, int whence) argument
60 if (whence == SEEK_SET)
65 return fseeko(fp, offset, whence);
H A Dstdio.c100 __sseek(void *cookie, off_t offset, int whence) argument
108 ret = lseek(__sfileno(fp), offset, whence);
H A Dfseeko.c63 fseeko(FILE *fp, off_t offset, int whence)
89 * Change any SEEK_CUR to SEEK_SET, and check `whence' argument.
90 * After this, whence is either SEEK_SET or SEEK_END.
92 switch (whence) {
123 whence = SEEK_SET;
172 if (whence == SEEK_SET)
263 (*seekfn)(fp->_cookie, offset, whence) == POS_ERR) {
H A Dopen_memstream.c118 memstream_seek(void *cookie, off_t pos, int whence) argument
129 switch (whence) {
167 (intmax_t)pos, whence, old, ms->offset);
/netbsd-current/external/gpl2/xcvs/dist/lib/
H A Dfseeko.c38 fseeko (FILE *stream, off_t offset, int whence) argument
44 if (fseek (stream, pos, whence) != 0)
47 whence = SEEK_CUR;
49 return fseek (stream, (long) offset, whence);
/netbsd-current/lib/libc/sys/
H A Dlseek.c57 lseek(int fd, off_t offset, int whence)
60 return __lseek(fd, 0, offset, whence);
/netbsd-current/sys/compat/linux/common/
H A Dlinux_llseek.c65 syscallarg(int) whence;
75 SCARG(&bla, whence) = SCARG(uap, whence);
/netbsd-current/external/mpl/bind/dist/lib/isc/include/isc/
H A Dstdio.h46 isc_stdio_seek(FILE *f, off_t offset, int whence);
/netbsd-current/sys/compat/linux32/arch/amd64/
H A Dlinux32_missing.h57 syscallarg(int) whence; member in struct:linux_sys_llseek_args
/netbsd-current/external/bsd/ntp/dist/lib/isc/include/isc/
H A Dstdio.h53 isc_stdio_seek(FILE *f, long offset, int whence);
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/include/isc/
H A Dstdio.h47 isc_stdio_seek(FILE *f, off_t offset, int whence);
/netbsd-current/sys/arch/hpcmips/stand/libsa/
H A Dwinfs.c138 win_seek(struct open_file *f, off_t offset, int whence) argument
144 switch (whence) {
/netbsd-current/sys/arch/zaurus/stand/zboot/
H A Dpathfs.c72 pathfs_seek(struct open_file *fd, off_t offset, int whence) argument
75 return ulseek((int)fd->f_devdata, offset, whence);
/netbsd-current/external/bsd/ntp/dist/lib/isc/unix/
H A Dstdio.c55 isc_stdio_seek(FILE *f, long offset, int whence) { argument
58 r = fseek(f, offset, whence);
/netbsd-current/external/bsd/ntp/dist/lib/isc/win32/
H A Dstdio.c54 isc_stdio_seek(FILE *f, long offset, int whence) { argument
57 r = fseek(f, offset, whence);
/netbsd-current/tests/compat/linux/
H A Dh_linux.h49 #define lseek(fd, off, whence) (off_t)syscall(LINUX_SYS_lseek, fd, \
50 (register_t)off, whence)
/netbsd-current/external/bsd/libarchive/dist/libarchive/
H A Darchive_read_open_memory.c52 static int64_t memory_read_seek(struct archive *, void *, int64_t offset, int whence);
147 memory_read_seek(struct archive *a, void *client_data, int64_t offset, int whence) argument
152 switch (whence) {
/netbsd-current/external/bsd/libarchive/dist/libarchive/test/
H A Dread_open_memory.c53 static int64_t memory_read_seek(struct archive *, void *, int64_t request, int whence);
183 memory_read_seek(struct archive *a, void *client_data, int64_t offset, int whence) argument
188 switch (whence) {
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dstore_sock.c62 socket_seek(krb5_storage * sp, off_t offset, int whence) argument
64 return lseek(SOCK(sp), offset, whence);
H A Dstore_fd.c92 fd_seek(krb5_storage * sp, off_t offset, int whence) argument
94 return lseek(FD(sp), offset, whence);
/netbsd-current/external/gpl3/gdb.old/dist/zlib/
H A Dgzlib.c366 z_off64_t ZEXPORT gzseek64(file, offset, whence)
369 int whence;
387 if (whence != SEEK_SET && whence != SEEK_CUR)
391 if (whence == SEEK_SET)
443 z_off_t ZEXPORT gzseek(file, offset, whence)
446 int whence;
450 ret = gzseek64(file, (z_off64_t)offset, whence);
/netbsd-current/external/gpl3/binutils.old/dist/zlib/
H A Dgzlib.c366 z_off64_t ZEXPORT gzseek64(file, offset, whence)
369 int whence;
387 if (whence != SEEK_SET && whence != SEEK_CUR)
391 if (whence == SEEK_SET)
443 z_off_t ZEXPORT gzseek(file, offset, whence)
446 int whence;
450 ret = gzseek64(file, (z_off64_t)offset, whence);
/netbsd-current/common/dist/zlib/
H A Dgzlib.c368 z_off64_t ZEXPORT gzseek64(file, offset, whence)
371 int whence;
389 if (whence != SEEK_SET && whence != SEEK_CUR)
393 if (whence == SEEK_SET)
445 z_off_t ZEXPORT gzseek(file, offset, whence)
448 int whence;
452 ret = gzseek64(file, (z_off64_t)offset, whence);
/netbsd-current/external/gpl3/binutils/dist/zlib/
H A Dgzlib.c368 z_off64_t ZEXPORT gzseek64(file, offset, whence)
371 int whence;
389 if (whence != SEEK_SET && whence != SEEK_CUR)
393 if (whence == SEEK_SET)
445 z_off_t ZEXPORT gzseek(file, offset, whence)
448 int whence;
452 ret = gzseek64(file, (z_off64_t)offset, whence);
/netbsd-current/external/gpl3/binutils.old/dist/bfd/
H A Dsysdep.h164 extern int fseeko (FILE *stream, off_t offset, int whence);
170 extern int fseeko64 (FILE *stream, off64_t offset, int whence);

Completed in 343 milliseconds

1234567891011>>