HomeSort by: relevance | last modified time | path
    Searched refs:lseek (Results 1 - 25 of 588) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/regress/sys/fs/
Makefile 3 SUBDIR= lseek
  /src/external/cddl/osnet/include/
stdio.h 38 #define lseek64 lseek
  /src/lib/libc/sys/
lseek.c 1 /* $NetBSD: lseek.c,v 1.11 2012/03/20 16:26:12 matt Exp $ */
35 static char sccsid[] = "@(#)lseek.c 8.1 (Berkeley) 6/17/93";
37 __RCSID("$NetBSD: lseek.c,v 1.11 2012/03/20 16:26:12 matt Exp $");
47 __weak_alias(lseek,_lseek)
57 lseek(int fd, off_t offset, int whence)
  /src/tools/compat/
pread.c 32 /* Emulate pread() with lseek()/read()/lseek(). Not thread-safe, of course. */
40 off_t oldoff = lseek(d, offset, SEEK_SET);
50 lseek(d, oldoff, SEEK_SET);
pwrite.c 32 /* Emulate pwrite() with lseek()/write()/lseek(). Not thread-safe, of course. */
40 off_t oldoff = lseek(d, offset, SEEK_SET);
50 lseek(d, oldoff, SEEK_SET);
  /src/external/bsd/file/dist/src/
pread.c 19 if ((old = lseek(fd, off, SEEK_SET)) == -1)
25 if (lseek(fd, old, SEEK_SET) == -1)
  /src/external/bsd/libbind/dist/bsd/
ftruncate.c 38 if ((cursize = lseek(fd, 0L, 2)) == -1)
43 if (lseek(fd, wantsize - 1, 0) == -1 ||
  /src/sys/arch/atari/stand/tostools/libtos/
cread.h 40 #define lseek clseek macro
aout.c 88 lseek(fd, (off_t)0, SEEK_SET);
110 if (lseek(fd, ehdr.a_text+ehdr.a_data+ehdr.a_syms+sizeof(ehdr),
117 if (lseek(fd, sizeof(ehdr), 0) <= 0)
  /src/sys/arch/i386/stand/lib/test/
sanamespace.h 13 #undef lseek macro
  /src/libexec/ftpd/
logutmp.c 111 (void)lseek(fd, (off_t)(topslot * sizeof(UTMP)), SEEK_SET);
116 (void)lseek(fd, -(off_t)sizeof(UTMP), SEEK_CUR);
121 (void)lseek(fd, (off_t)(topslot * sizeof(UTMP)),
140 (void)lseek(fd, 0, SEEK_SET);
149 (void)lseek(fd, -(off_t)sizeof(UTMP), SEEK_CUR);
  /src/external/gpl3/gcc/dist/gcc/config/i386/
host-cygwin.cc 54 off_t p = lseek (fd, 0, SEEK_CUR);
74 if (lseek (fd, p, SEEK_SET) == (off_t) -1)
  /src/external/gpl3/gcc.old/dist/gcc/config/i386/
host-cygwin.cc 54 off_t p = lseek (fd, 0, SEEK_CUR);
74 if (lseek (fd, p, SEEK_SET) == (off_t) -1)
  /src/bin/dd/
dd_hostops.c 50 .op_lseek = lseek,
  /src/lib/libc/compat/sys/
compat_getdirentries.c 49 *basep = (long)lseek(fd, (off_t)0, SEEK_CUR);
  /src/external/gpl3/gdb.old/dist/gdbsupport/
scoped_mmap.cc 33 off_t size = lseek (fd.get (), 0, SEEK_END);
35 perror_with_name (("lseek"));
  /src/external/gpl3/gdb/dist/gdbsupport/
scoped_mmap.cc 33 off_t size = lseek (fd.get (), 0, SEEK_END);
35 perror_with_name (("lseek"));
  /src/sys/arch/prep/stand/installboot/
installboot.c 63 if (lseek(fd, (off_t)dbtob(blk), SEEK_SET) != dbtob(blk)) {
64 warn("%s: devread: lseek", msg);
104 lseek(fd, 0L, SEEK_SET);
113 (void)lseek(fd, be32toh(eh.e_phoff) + sizeof(ph) * i, SEEK_SET);
124 lseek(fd, be32toh(ph.p_offset), SEEK_SET);
141 if (lseek(fd, (off_t)dbtob(1), SEEK_SET) != dbtob(1)) {
142 warn("bootable image lseek sector 1");
152 lseek(fd, le32toh(*(u_int32_t *)buf), SEEK_SET);
288 (void)lseek(devfd, (off_t)dbtob(ppp.mbrp_start), SEEK_SET);
294 (void)lseek(devfd, (off_t)dbtob(ppp.mbrp_start+1), SEEK_SET)
    [all...]
  /src/sys/arch/powerpc/stand/mkbootimage/
mkbootimage.c 181 lseek(prep_fd, sizeof(mbr), SEEK_SET);
219 lseek(prep_fd, 0, SEEK_SET);
307 lseek(elf_fd, ELFGET32(hdr.e_phoff) + sizeof(phdr) * i,
319 lseek(elf_fd, ELFGET32(phdr.p_offset), SEEK_SET);
334 lseek(prep_fd, 0x400, SEEK_SET);
354 lseek(kern_fd, 0, SEEK_SET);
369 lenpos = lseek(prep_fd, 0, SEEK_CUR);
374 kstart = lseek(prep_fd, 0, SEEK_CUR);
379 kend = lseek(prep_fd, 0, SEEK_CUR);
382 lseek(prep_fd, lenpos, SEEK_SET)
    [all...]
  /src/lib/libc/gen/
rewinddir.c 67 dirp->dd_seek = lseek(fd, (off_t)0, SEEK_SET);
  /src/regress/sys/kern/kqueue/vnode/
write.c 55 lseek(fd, 0, SEEK_SET);
  /src/sys/lib/libsa/
lseek.c 1 /* $NetBSD: lseek.c,v 1.11 2007/12/02 04:59:26 tsutsui Exp $ */
34 * @(#)lseek.c 8.1 (Berkeley) 6/11/93
67 lseek(int fd, off_t offset, int where) function
loadfile_aout.c 110 if (lseek(fd, sizeof(*x), SEEK_SET) == -1) {
111 WARN(("lseek text"));
148 if (lseek(fd, x->a_text - sub, SEEK_CUR) == -1) {
190 if (lseek(fd, x->a_data, SEEK_CUR) == -1) {
240 if (lseek(fd, x->a_syms, SEEK_CUR) == -1) {
287 if (lseek(fd, cc, SEEK_CUR) == -1) {
  /src/usr.sbin/dumplfs/
misc.c 57 if (lseek(fd, off, SEEK_SET) < 0)
  /src/crypto/external/cpl/trousers/dist/src/tcs/ps/
ps_utils.c 130 rc = lseek(fd, TSSPS_VERSION_OFFSET, SEEK_SET);
132 LogError("lseek: %s", strerror(errno));
137 rc = lseek(fd, TSSPS_NUM_KEYS_OFFSET, SEEK_SET);
139 LogError("lseek: %s", strerror(errno));
155 rc = lseek(fd, TSSPS_VERSION_OFFSET, SEEK_SET);
157 LogError("lseek: %s", strerror(errno));
167 rc = lseek(fd, TSSPS_NUM_KEYS_OFFSET, SEEK_SET);
169 LogError("lseek: %s", strerror(errno));
188 rc = lseek(fd, offset, SEEK_SET);
196 rc = lseek(fd, TSSPS_NUM_KEYS_OFFSET, SEEK_SET)
    [all...]

Completed in 22 milliseconds

1 2 3 4 5 6 7 8 91011>>