Searched refs:SEEK_SET (Results 126 - 150 of 367) sorted by relevance

1234567891011>>

/freebsd-13-stable/usr.bin/msgs/
H A Dmsgs.c728 fseeko(f, oldpos, SEEK_SET);
805 fseeko(newmsg, oldpos, SEEK_SET);
816 fseeko(newmsg, oldpos, SEEK_SET);/* reposition current message */
899 fseeko(infile, frompos, SEEK_SET);
/freebsd-13-stable/tools/regression/security/cap_test/
H A Dcap_test_capmode.c120 CHECK_SYSCALL_SUCCEEDS(lseek, fd_file, 0, SEEK_SET);
/freebsd-13-stable/contrib/tcsh/
H A Dtc.os.h380 # ifdef SEEK_SET
381 # define L_SET SEEK_SET
382 # else /* !SEEK_SET */
384 # endif /* SEEK_SET */
/freebsd-13-stable/lib/libsecureboot/
H A Dveopen.c381 lseek(fd, 0, SEEK_SET);
389 lseek(fd, off, SEEK_SET);
/freebsd-13-stable/contrib/less/
H A Dless.h206 #ifndef SEEK_SET
207 #define SEEK_SET 0 macro
H A Dch.c241 if (lseek(ch_file, (off_t)pos, SEEK_SET) == BAD_LSEEK)
742 if (lseek(ch_file, (off_t)0, SEEK_SET) == BAD_LSEEK)
830 return (lseek(f, (off_t)1, SEEK_SET) != BAD_LSEEK);
/freebsd-13-stable/contrib/dialog/
H A Dtailbox.c128 if (fseek(fp, fpos, SEEK_SET) == -1)
157 if (fseek(fp, fpos + offset, SEEK_SET) == -1)
/freebsd-13-stable/sys/contrib/zlib/
H A Dzconf.h503 #if !defined(SEEK_SET) && !defined(Z_SOLO)
504 # define SEEK_SET 0 /* Seek from beginning of file. */ macro
/freebsd-13-stable/contrib/openbsm/libbsm/
H A Dbsm_control.c315 fseek(fp, 0, SEEK_SET);
371 fseek(fp, 0, SEEK_SET);
/freebsd-13-stable/usr.sbin/makefs/cd9660/
H A Dcd9660_debug.c201 if (fseeko(fd, CD9660_SECTOR_SIZE * sector, SEEK_SET) == -1)
237 if (fseeko(fd, CD9660_SECTOR_SIZE * sector, SEEK_SET) == -1)
/freebsd-13-stable/usr.sbin/pmc/
H A Dcmd_pmc_filter.cc232 lseek(infd, 0, SEEK_SET);
246 lseek(infd, 0, SEEK_SET);
/freebsd-13-stable/usr.bin/mail/
H A Dfio.c81 (void)fseeko(ibuf, offset, SEEK_SET);
212 positionof(mp->m_block, mp->m_offset), SEEK_SET) < 0)
/freebsd-13-stable/usr.bin/patch/
H A Dinp.c342 fseek(ifp, 0L, SEEK_SET); /* rewind file */
404 tibuflen), SEEK_SET) < 0)
/freebsd-13-stable/usr.bin/tail/
H A Dforward.c114 if (fseeko(fp, off, SEEK_SET) == -1) {
233 if (fseeko(fp, sbp->st_size, SEEK_SET) == -1) {
/freebsd-13-stable/contrib/netbsd-tests/fs/vfs/
H A Dt_vnops.c816 const struct flock l = { start, len, 0, F_RDLCK, SEEK_SET };
829 ATF_REQUIRE(l.l_whence == SEEK_SET);
859 { 0, 2, 0, F_WRLCK, SEEK_SET },
860 { 2, 1, 0, F_WRLCK, SEEK_SET },
861 { 7, 5, 0, F_WRLCK, SEEK_SET },
862 { 4, 3, 0, F_WRLCK, SEEK_SET },
/freebsd-13-stable/usr.bin/xinstall/
H A Dxinstall.c1116 lseek(from_fd, 0, SEEK_SET);
1117 lseek(to_fd, 0, SEEK_SET);
1133 lseek(from_fd, 0, SEEK_SET);
1134 lseek(to_fd, 0, SEEK_SET);
1244 if (lseek(from_fd, (off_t)0, SEEK_SET) == (off_t)-1)
1246 if (lseek(to_fd, (off_t)0, SEEK_SET) == (off_t)-1)
1440 metalog_lock.l_whence = SEEK_SET;
/freebsd-13-stable/tools/regression/fsx/
H A Dfsx.c318 ret = lseek(savefd, (off_t)0, SEEK_SET);
468 ret = lseek(fd, (off_t)offset, SEEK_SET);
619 ret = lseek(fd, (off_t)offset, SEEK_SET);
746 if (lseek(fd, (off_t)0, SEEK_SET) == (off_t)-1) {
1172 ret = lseek(fd, (off_t)0, SEEK_SET);
/freebsd-13-stable/sbin/camcontrol/
H A Dfwdownload.c517 if (lseek(fd, 0, SEEK_SET) == -1) {
603 if (lseek(fd, 0, SEEK_SET) == -1) {
627 if (lseek(fd, skip_bytes, SEEK_SET) == -1) {
/freebsd-13-stable/contrib/elftoolchain/elfcopy/
H A Darchive.c83 if (lseek(fd, 0, SEEK_SET) < 0)
93 if (lseek(fd, 0, SEEK_SET) < 0)
382 if (lseek(ifd, 0, SEEK_SET) == -1)
/freebsd-13-stable/bin/pax/
H A Dtables.c400 if (lseek(ffd,pt->seek,SEEK_SET) != pt->seek) {
1187 if (lseek(dirfd, dblk.npos, SEEK_SET) < 0)
1191 if (lseek(dirfd, dblk.npos, SEEK_SET) < 0)
/freebsd-13-stable/sys/contrib/zstd/zlibWrapper/
H A Dgzlib.c362 if (LSEEK(state.state->fd, state.state->start, SEEK_SET) == -1)
390 if (whence != SEEK_SET && whence != SEEK_CUR)
394 if (whence == SEEK_SET)
/freebsd-13-stable/usr.sbin/pmcannotate/
H A Dpmcannotate.c211 if (fseek(fp, agg->ag_offset, SEEK_SET) == -1)
250 if (fseek(fp, agg->ag_offset, SEEK_SET) == -1)
623 if (fseek(fp, lstart, SEEK_SET) == -1)
/freebsd-13-stable/tests/sys/fs/fusefs/
H A Dwrite.cc367 ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
373 ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
902 ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
933 ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
960 ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
1374 ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
/freebsd-13-stable/crypto/heimdal/lib/kadm5/
H A Diprop-log.c129 krb5_storage_seek(sp, end, SEEK_SET);
265 krb5_storage_seek(sp, end, SEEK_SET);
/freebsd-13-stable/include/
H A Dstdio.h230 #ifndef SEEK_SET
231 #define SEEK_SET 0 /* set file offset to offset */ macro

Completed in 315 milliseconds

1234567891011>>