/freebsd-13-stable/usr.bin/msgs/ |
H A D | msgs.c | 728 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 D | cap_test_capmode.c | 120 CHECK_SYSCALL_SUCCEEDS(lseek, fd_file, 0, SEEK_SET);
|
/freebsd-13-stable/contrib/tcsh/ |
H A D | tc.os.h | 380 # ifdef SEEK_SET 381 # define L_SET SEEK_SET 382 # else /* !SEEK_SET */ 384 # endif /* SEEK_SET */
|
/freebsd-13-stable/lib/libsecureboot/ |
H A D | veopen.c | 381 lseek(fd, 0, SEEK_SET); 389 lseek(fd, off, SEEK_SET);
|
/freebsd-13-stable/contrib/less/ |
H A D | less.h | 206 #ifndef SEEK_SET 207 #define SEEK_SET 0 macro
|
H A D | ch.c | 241 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 D | tailbox.c | 128 if (fseek(fp, fpos, SEEK_SET) == -1) 157 if (fseek(fp, fpos + offset, SEEK_SET) == -1)
|
/freebsd-13-stable/sys/contrib/zlib/ |
H A D | zconf.h | 503 #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 D | bsm_control.c | 315 fseek(fp, 0, SEEK_SET); 371 fseek(fp, 0, SEEK_SET);
|
/freebsd-13-stable/usr.sbin/makefs/cd9660/ |
H A D | cd9660_debug.c | 201 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 D | cmd_pmc_filter.cc | 232 lseek(infd, 0, SEEK_SET); 246 lseek(infd, 0, SEEK_SET);
|
/freebsd-13-stable/usr.bin/mail/ |
H A D | fio.c | 81 (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 D | inp.c | 342 fseek(ifp, 0L, SEEK_SET); /* rewind file */ 404 tibuflen), SEEK_SET) < 0)
|
/freebsd-13-stable/usr.bin/tail/ |
H A D | forward.c | 114 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 D | t_vnops.c | 816 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 D | xinstall.c | 1116 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 D | fsx.c | 318 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 D | fwdownload.c | 517 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 D | archive.c | 83 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 D | tables.c | 400 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 D | gzlib.c | 362 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 D | pmcannotate.c | 211 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 D | write.cc | 367 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 D | iprop-log.c | 129 krb5_storage_seek(sp, end, SEEK_SET); 265 krb5_storage_seek(sp, end, SEEK_SET);
|
/freebsd-13-stable/include/ |
H A D | stdio.h | 230 #ifndef SEEK_SET 231 #define SEEK_SET 0 /* set file offset to offset */ macro
|