Searched refs:lseek (Results 1 - 25 of 272) sorted by relevance

1234567891011

/freebsd-9.3-release/cddl/compat/opensolaris/include/
H A Dstdio.h36 #define lseek64 lseek
/freebsd-9.3-release/contrib/file/src/
H A Dpread.c13 if ((old = lseek(fd, off, SEEK_SET)) == -1)
19 if (lseek(fd, old, SEEK_SET) == -1)
/freebsd-9.3-release/contrib/lukemftpd/src/
H A Dlogutmp.c103 (void)lseek(fd, (off_t)(topslot * sizeof(UTMP)), SEEK_SET);
108 (void)lseek(fd, -(off_t)sizeof(UTMP), SEEK_CUR);
113 (void)lseek(fd, (off_t)(topslot * sizeof(UTMP)),
132 (void)lseek(fd, 0, SEEK_SET);
141 (void)lseek(fd, -(off_t)sizeof(UTMP), SEEK_CUR);
/freebsd-9.3-release/contrib/gcc/config/i386/
H A Dhost-cygwin.c55 off_t p = lseek(fd, 0, SEEK_CUR);
75 if (lseek (fd, p, SEEK_SET) == (off_t) -1 )
/freebsd-9.3-release/lib/libdisk/
H A Dblocks.c27 if (-1 == lseek(fd, (off_t)block * sector_size, SEEK_SET)) {
44 if (-1 == lseek(fd, (off_t)block * sector_size, SEEK_SET))
/freebsd-9.3-release/tools/tools/bus_autoconf/
H A Dbus_load_file.c50 off = lseek(f, 0, SEEK_END);
56 if (lseek(f, 0, SEEK_SET) < 0) {
/freebsd-9.3-release/lib/libc/sys/
H A Dlseek.c31 static char sccsid[] = "@(#)lseek.c 8.1 (Berkeley) 6/17/93";
46 lseek(fd, offset, whence) function
/freebsd-9.3-release/crypto/openssl/crypto/bio/
H A Dbio_lcl.h26 # define UP_lseek lseek
/freebsd-9.3-release/sbin/clri/
H A Dclri.c96 if (lseek(fd, (off_t)(sblock_try[i]), SEEK_SET) < 0)
125 if (lseek(fd, offset, SEEK_SET) < 0)
151 if (lseek(fd, (off_t)-bsize, SEEK_CUR) < 0)
/freebsd-9.3-release/contrib/cvs/lib/
H A Dftruncate.c42 if (lseek (fd, (length - 1), SEEK_SET) < 0)
/freebsd-9.3-release/gnu/lib/libodialog/
H A Dtextbox.c67 if ((file_size = lseek(fd, 0, SEEK_END)) == -1) {
72 if (lseek(fd, 0, SEEK_SET) == -1) {
166 if ((fpos = lseek(fd, 0, SEEK_CUR)) == -1) {
172 if (lseek(fd, 0, SEEK_SET) == -1) {
197 if ((fpos = lseek(fd, 0, SEEK_CUR)) == -1) {
203 if (lseek(fd, -BUF_SIZE, SEEK_END) == -1) {
358 if ((fpos = lseek(fd, 0, SEEK_CUR)) == -1) {
382 if (lseek(fd, fpos, SEEK_SET) == -1) {
446 if ((fpos = lseek(fd, 0, SEEK_CUR)) == -1) {
459 if (lseek(f
[all...]
/freebsd-9.3-release/tools/regression/nfsmmap/test1/
H A Dtest1.c28 if (lseek(fd, 600, SEEK_SET) < 0)
/freebsd-9.3-release/tools/regression/nfsmmap/test2/
H A Dtest2.c28 if (lseek(fd, 600, SEEK_SET) < 0)
/freebsd-9.3-release/usr.sbin/kgzip/
H A Dxio.c92 if (offset != -1 && lseek(id->fd, offset, SEEK_SET) != offset)
119 if (lseek(id->fd, offset, SEEK_SET) != offset)
/freebsd-9.3-release/sbin/fsirand/
H A Dfsirand.c147 if (lseek(devfd, sblockloc, SEEK_SET) == -1) {
183 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
228 if (lseek(devfd, sblockloc, SEEK_SET) == -1) {
246 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
261 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
290 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
/freebsd-9.3-release/sbin/fsck_msdosfs/
H A Dboot.c103 if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec,
129 if (lseek(dosfs, boot->bpbFSInfo *
150 if (lseek(dosfs, boot->bpbBackup * boot->bpbBytesPerSec,
242 if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec, SEEK_SET)
256 if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec, SEEK_SET)
/freebsd-9.3-release/bin/dd/
H A Dposition.c56 * dependent. Seekable devices use lseek, and the rest position by reading.
71 if (lseek(in.fd, in.offset * in.dbsz, SEEK_CUR) == -1 &&
139 if (lseek(out.fd, out.offset * out.dbsz, SEEK_CUR) == -1 &&
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Darchive_read_open_fd.c94 * that supports lseek(). On FreeBSD, only regular files and
95 * raw disk devices support lseek() and there's no portable
150 * Hurray for lazy evaluation: if the first lseek fails, the second
153 if (((old_offset = lseek(mine->fd, 0, SEEK_CUR)) < 0) ||
154 ((new_offset = lseek(mine->fd, request, SEEK_CUR)) < 0))
162 * Failure to lseek() can be caused by the file
H A Darchive_read_data_into_fd.c67 output_offset = lseek(fd,
/freebsd-9.3-release/usr.bin/gcore/
H A Dgcore.c133 lseek(efd, 0, SEEK_SET);
136 lseek(efd, 0, SEEK_SET);
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c88 (void) lseek(fds[n - 1], 123, SEEK_SET);
/freebsd-9.3-release/contrib/gcc/config/
H A Dhost-hpux.c118 if (lseek (fd, offset, SEEK_SET) == (off_t)-1)
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dstore_fd.c60 return lseek(FD(sp), offset, whence);
/freebsd-9.3-release/lib/libstand/
H A Dlseek.c1 /* $NetBSD: lseek.c,v 1.4 1997/01/22 00:38:10 cgd Exp $ */
34 * @(#)lseek.c 8.1 (Berkeley) 6/11/93
69 lseek(int fd, off_t offset, int where) function
/freebsd-9.3-release/contrib/ntp/sntp/libopts/compat/
H A Dwindows-config.h97 #define lseek _lseek macro

Completed in 274 milliseconds

1234567891011