Searched refs:SEEK_SET (Results 1 - 25 of 514) sorted by relevance

1234567891011>>

/openbsd-current/lib/libc/stdio/
H A Dfsetpos.c42 return (fseeko(iop, *pos, SEEK_SET));
H A Drewind.c40 fseeko(fp, 0, SEEK_SET);
/openbsd-current/gnu/usr.bin/perl/dist/IO/t/
H A Dio_file_export.t17 cmp_ok SEEK_SET, 'ne', "SEEK_SET", 'SEEK_SET';
H A Dio_xs.t21 $x->seek(0,SEEK_SET);
25 $x->seek(0,SEEK_SET);
/openbsd-current/gnu/usr.bin/perl/t/io/
H A Dperlio_open.t21 ok(seek($fh, 0, SEEK_SET), "seek to zero");
29 ok(seek($fh, 0, SEEK_SET), "seek to zero");
39 ok(seek($fh, 0, SEEK_SET), "seek to zero");
41 ok(seek($fh, 0, SEEK_SET), "seek to zero again");
/openbsd-current/sys/sys/
H A Dunistd.h55 #define SEEK_SET 0 /* set file offset to offset */ macro
61 #define L_SET SEEK_SET
/openbsd-current/gnu/usr.bin/perl/ext/PerlIO-scalar/t/
H A Dscalar.t11 use Fcntl qw(SEEK_SET SEEK_CUR SEEK_END); # Not 0, 1, 2 everywhere.
26 ok(seek($fh,0,SEEK_SET));
32 ok(seek($fh,0,SEEK_SET));
87 seek($dup,0,SEEK_SET);
210 ok(seek(F, 50, SEEK_SET));
216 ok(seek(F, 0, SEEK_SET));
221 ok(seek(F, 100, SEEK_SET));
229 ok(seek(F, 75, SEEK_SET));
237 ok(!seek(F, -50, SEEK_SET), $!);
238 ok(seek(F, 0, SEEK_SET));
[all...]
/openbsd-current/libexec/ftpd/
H A Dlogutmp.c79 (void)lseek(fd, (off_t)topslot * sizeof(struct utmp), SEEK_SET); local
92 SEEK_SET); local
111 (void)lseek(fd, 0, SEEK_SET);
/openbsd-current/games/hangman/
H A Dksyms.c44 if (lseek(symfd, pos + symoffs, SEEK_SET) == -1)
118 if (lseek(symfd, 0, SEEK_SET) == -1)
127 if (lseek(symfd, eh.e_shoff, SEEK_SET) == -1)
/openbsd-current/gnu/gcc/gcc/
H A Dgenchecksum.c47 if (fseek (f, 16, SEEK_SET) != 0)
/openbsd-current/sys/lib/libsa/
H A Dlseek.c85 case SEEK_SET:
/openbsd-current/usr.bin/login/
H A Dfailedlogin.c59 (void)lseek(fd, (off_t)uid * sizeof(failedlogin), SEEK_SET); local
66 (void)lseek(fd, (off_t)uid * sizeof(failedlogin), SEEK_SET); local
99 (void)lseek(fd, (off_t)uid * sizeof(failedlogin), SEEK_SET); local
130 SEEK_SET); local
/openbsd-current/gnu/usr.bin/binutils/bfd/
H A Dsysdep.h99 #ifndef SEEK_SET
100 #define SEEK_SET 0 macro
H A Dcoff-ia64.c80 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0
106 if (bfd_seek (abfd, offset, SEEK_SET) != 0
125 if (bfd_seek (abfd, offset - sizeof (dos_hdr), SEEK_SET) != 0)
/openbsd-current/gnu/usr.bin/perl/ext/Fcntl/t/
H A Dautoload.t8 # SEEK_SET intentionally included to test the skip functionality.
9 foreach my $symbol (qw(SEEK_SET O_BINARY S_ENFMT)) {
/openbsd-current/usr.bin/ctags/
H A Dprint.c55 (void)fseek(inf, lineftell, SEEK_SET);
85 (void)fseek(inf, saveftell, SEEK_SET);
/openbsd-current/usr.bin/grep/
H A Dbinary.c51 if (fseek(f, 0L, SEEK_SET) == -1)
72 if (gzseek(f, (z_off_t)0, SEEK_SET) == -1)
/openbsd-current/regress/lib/libc/fmemopen/
H A Dfmemopentest.c56 fseek(s2, 0, SEEK_SET);
85 fseek(s1, 0, SEEK_SET);
104 fseek(s1, 0, SEEK_SET);
149 fseek(s1, 0, SEEK_SET);
225 if (fseek(s1, 8, SEEK_SET) != 0) {
/openbsd-current/usr.sbin/makefs/cd9660/
H A Dcd9660_write.c277 SEEK_SET) == -1)
302 diskStructure->sectorSize, SEEK_SET) == -1)
315 SEEK_SET) == -1)
361 if (fseeko(fd, sector * diskStructure->sectorSize, SEEK_SET) == -1)
366 if (fseeko(fd, curpos, SEEK_SET) == -1)
403 if (fseeko(fd, start_sector * diskStructure->sectorSize, SEEK_SET) == -1)
438 if (fseeko(fd, sector * diskStructure->sectorSize + offset, SEEK_SET) ==
456 SEEK_SET) == -1)
469 SEEK_SET) == -1)
/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/
H A Dcoff-ia64.c80 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0
106 if (bfd_seek (abfd, offset, SEEK_SET) != 0
125 if (bfd_seek (abfd, offset - sizeof (dos_hdr), SEEK_SET) != 0)
/openbsd-current/regress/sys/kern/flock/
H A Dlockf.c72 if (lseek(fd, len, SEEK_SET) == -1)
86 if (lseek(fd, 0, SEEK_SET) == -1)
91 fl.l_whence = SEEK_SET;
/openbsd-current/regress/lib/libc/open_memstream/
H A Dopen_memstreamtest.c65 if (fseek(fp, OFFSET, SEEK_SET) != 0) {
86 if (fseek(fp, 0, SEEK_SET) != 0) {
146 if (fseek(fp, 8, SEEK_SET) != 0) {
/openbsd-current/gnu/usr.bin/perl/ext/SDBM_File/
H A Dsdbm.h147 #ifndef SEEK_SET
149 # define SEEK_SET L_SET macro
151 # define SEEK_SET 0 /* Wild guess. */ macro
/openbsd-current/gnu/gcc/gcc/config/i386/
H A Dhost-cygwin.c75 if (lseek (fd, p, SEEK_SET) == (off_t) -1 )
/openbsd-current/gnu/usr.bin/cvs/lib/
H A Dftruncate.c42 if (lseek (fd, (length - 1), SEEK_SET) < 0)

Completed in 168 milliseconds

1234567891011>>