/src/lib/libc/compat/stdio/ |
compat_fsetpos.c | 67 return fseeko(iop, *pos, SEEK_SET) == (off_t)-1;
|
/src/lib/libc/stdio/ |
fseek.c | 65 return fseeko(fp, offset, whence);
|
fsetpos.c | 69 return fseeko(fp, pos->_pos, SEEK_SET) == (off_t)-1;
|
fseeko.c | 1 /* $NetBSD: fseeko.c,v 1.14 2017/01/10 17:44:28 christos Exp $ */ 37 __RCSID("$NetBSD: fseeko.c,v 1.14 2017/01/10 17:44:28 christos Exp $"); 53 __weak_alias(fseeko, _fseeko) 63 fseeko(FILE *fp, off_t offset, int whence)
|
Makefile.inc | 11 fread.c freopen.c fscanf.c fseek.c fseeko.c fsetpos.c ftell.c ftello.c \ 41 MLINKS+=fseek.3 fgetpos.3 fseek.3 fseeko.3 fseek.3 fsetpos.3 fseek.3 ftell.3 \
|
/src/usr.sbin/makefs/cd9660/ |
cd9660_write.c | 306 if (fseeko(fd, working_sector * diskStructure->sectorSize, 308 err(EXIT_FAILURE, "fseeko"); 331 if (fseeko(fd, working_sector * 333 err(EXIT_FAILURE, "fseeko"); 342 if (fseeko(fd, working_sector * 346 err(EXIT_FAILURE, "fseeko"); 396 if (fseeko(fd, sector * diskStructure->sectorSize, SEEK_SET) == -1) 397 err(EXIT_FAILURE, "fseeko"); 401 if (fseeko(fd, curpos, SEEK_SET) == -1) 402 err(EXIT_FAILURE, "fseeko"); [all...] |
cd9660_debug.c | 209 if (fseeko(fd, CD9660_SECTOR_SIZE * sector, SEEK_SET) == -1) 210 err(EXIT_FAILURE, "fseeko"); 246 if (fseeko(fd, CD9660_SECTOR_SIZE * sector, SEEK_SET) == -1) 247 err(EXIT_FAILURE, "fseeko");
|
cd9660_eltorito.c | 548 if (fseeko(fd, (off_t)(idx) * 16 + 0x1be, SEEK_SET) == -1) 549 err(EXIT_FAILURE, "fseeko"); 595 if (fseeko(fd, (off_t)(idx + 1) * sector_size, SEEK_SET) == -1) 596 err(EXIT_FAILURE, "fseeko"); 640 if (fseeko(fd, (off_t)diskStructure->boot_catalog_sector * 642 err(EXIT_FAILURE, "fseeko");
|
/src/tests/fs/cd9660/ |
h_hexdump_r.c | 75 if (fseeko(stdout, noff - 16, SEEK_SET) != 0) 76 err(1, "fseeko"); 92 if (fseeko(stdout, noff, SEEK_SET) != 0) 93 err(1, "fseeko");
|
/src/tests/lib/libc/stdio/ |
t_fmemopen.c | 208 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0); 242 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0); 284 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0); 431 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_SET) == 0); 436 ATF_CHECK(fseeko(fp, i, SEEK_SET) == 0); 440 ATF_CHECK(fseeko(fp, t->n + 1, SEEK_SET) == -1); 444 ATF_CHECK(fseeko(fp, (off_t)-1, SEEK_SET) == -1); 484 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_CUR) == 0); 488 ATF_CHECK(fseeko(fp, (off_t)-1, SEEK_CUR) == -1); 493 ATF_CHECK(fseeko(fp, (off_t)1, SEEK_CUR) == 0) [all...] |
/src/share/examples/refuse/ian/libfetch/ |
file.c | 57 if (u->offset && fseeko(f, u->offset, SEEK_SET) == -1) { 84 if (u->offset && fseeko(f, u->offset, SEEK_SET) == -1) {
|
/src/lib/libc/gen/ |
utmp.c | 55 (void)fseeko(ut, (off_t)0, SEEK_SET);
|
utmpx.c | 100 (void)fseeko(fp, (off_t)sizeof(ut), SEEK_SET); 276 if (fseeko(fp, (off_t)0, SEEK_END) == -1) 283 if (fseeko(fp, -(off_t)sizeof(ut), SEEK_CUR) == -1)
|
/src/usr.bin/lastcomm/ |
lastcomm.c | 117 if (fseeko(fp, size, SEEK_SET) == -1) 156 if (fseeko(fp, 2 * -(off_t)sizeof(ab), SEEK_CUR) == -1)
|
/src/usr.bin/tail/ |
forward.c | 102 if (fseeko(fp, off, SEEK_SET) == -1) { 133 fseeko(fp, -off, SEEK_END) == -1) { 350 if (fseeko(fp, file_remaining, SEEK_SET) == -1) {
|
/src/usr.bin/csplit/ |
csplit.c | 340 (void)fseeko(ofp, -(off_t)sizeof(buf), SEEK_CUR); 345 if (fseeko(ofp, -(off_t)nread, SEEK_CUR) != 0) 353 if (fseeko(ofp, (off_t)nread - i + 1, SEEK_CUR) != 0)
|
/src/usr.bin/tftp/ |
tftpsubs.c | 235 (void)fseeko(file, (off_t)-1, 1); /* smash lf on top of the cr */
|
/src/common/dist/zlib/contrib/minizip/ |
ioapi.h | 56 #define fseeko64 fseeko
|
ioapi.c | 21 #define FSEEKO_FUNC(stream, offset, origin) fseeko(stream, offset, origin)
|
minizip.c | 35 #define FSEEKO_FUNC(stream, offset, origin) fseeko(stream, offset, origin)
|
/src/libexec/comsat/ |
comsat.c | 291 (void)fseeko(fi, offset, SEEK_SET);
|
/src/usr.sbin/fstyp/ |
fstyp.c | 106 error = fseeko(fp, off, SEEK_SET);
|
/src/common/dist/zlib/ |
CMakeLists.txt | 49 # Check for fseeko 51 check_function_exists(fseeko HAVE_FSEEKO)
|
/src/usr.sbin/npf/npfd/ |
npfd_log.c | 162 if (fseeko(fp, pkt.caplen, SEEK_CUR) != 0)
|
/src/usr.bin/mail/ |
fio.c | 210 (void)fseeko(ibuf, offset, 0);
|