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

1 2 3 4 5 6 7 8 9

  /src/regress/sys/fs/
Makefile 3 SUBDIR= 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) function in typeref:typename:off_t
  /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/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/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/sys/arch/i386/stand/lib/test/
sanamespace.h 13 #undef lseek
  /src/bin/dd/
dd_hostops.c 50 .op_lseek = lseek,
  /src/lib/libc/compat/sys/
compat_getdirentries.c 53 *basep = (long)lseek(fd, (off_t)0, SEEK_CUR);
  /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 in typeref:typename:off_t
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/tests/kernel/kqueue/read/
t_file.c 101 RL(lseek(fd, 0, SEEK_END));
119 RL(lseek(fd, 0, SEEK_END));
121 RL(lseek(fd, event[0].data, SEEK_END));
t_file2.c 63 RL(lseek(fd1, 0, SEEK_END));
  /src/include/
rmt.h 6 * Added routines to replace open(), close(), lseek(), ioctl(), etc.
55 #define lseek rmtlseek macro
  /src/lib/libutil/compat/
compat_login.c 70 (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET);
  /src/lib/libutil/
login.c 62 (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET);
  /src/lib/libc/stdio/
stdio.c 89 if (lseek(__sfileno(fp), (off_t)0, SEEK_END) == (off_t)-1) {
108 ret = lseek(__sfileno(fp), offset, whence);
  /src/sys/arch/emips/stand/common/
bootxx.c 156 if (lseek(fd, (off_t) ehdr.e_phoff + i * sizeof(phdr), 0) < 0)
162 if (lseek(fd, (off_t)phdr.p_offset, 0) < 0)
  /src/sys/arch/mipsco/stand/common/
bootxx.c 146 if (lseek(fd, (off_t) ehdr.e_phoff + i * sizeof(phdr), 0) < 0)
152 if (lseek(fd, (off_t)phdr.p_offset, 0) < 0)

Completed in 47 milliseconds

1 2 3 4 5 6 7 8 9