/freebsd-11-stable/contrib/apr/file_io/unix/ |
H A D | seek.c | 132 if (ftruncate(fp->filedes, offset) == -1) {
|
/freebsd-11-stable/contrib/netbsd-tests/kernel/ |
H A D | t_lockf.c | 136 ATF_REQUIRE_MSG(ftruncate(fd, filesize) >= 0, 137 "ftruncate(%s): %s", lockfile, strerror(errno)); 231 ATF_REQUIRE_MSG(ftruncate(fd, filesize) >= 0, 232 "ftruncate(%s): %s", lockfile, strerror(errno));
|
/freebsd-11-stable/cddl/usr.sbin/dtrace/tests/common/funcs/ |
H A D | Makefile | 70 tst.ftruncate.ksh \ 71 tst.ftruncate.ksh.out \
|
/freebsd-11-stable/sys/kern/ |
H A D | capabilities.conf | 217 ftruncate
|
/freebsd-11-stable/sys/compat/freebsd32/ |
H A D | capabilities.conf | 105 ftruncate
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_solaris.cpp | 100 DECLARE__REAL_AND_INTERNAL(uptr, ftruncate, fd_t fd, uptr size) { 101 return ftruncate(fd, size);
|
/freebsd-11-stable/contrib/dma/ |
H A D | local.c | 249 if (ftruncate(mbox, mboxlen) != 0)
|
/freebsd-11-stable/lib/libc/db/recno/ |
H A D | rec_close.c | 178 if (ftruncate(t->bt_rfd, off))
|
/freebsd-11-stable/contrib/libpcap/lbl/ |
H A D | os-sunos4.h | 86 int ftruncate(int, off_t);
|
/freebsd-11-stable/contrib/tcpdump/lbl/ |
H A D | os-sunos4.h | 87 int ftruncate(int, off_t);
|
/freebsd-11-stable/lib/libc/stdio/ |
H A D | freopen.c | 117 (void) ftruncate(fp->_file, (off_t)0);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/profile/ |
H A D | InstrProfilingPort.h | 31 #define COMPILER_RT_FTRUNCATE(f,l) ftruncate(fileno(f),l)
|
/freebsd-11-stable/contrib/libreadline/ |
H A D | histfile.c | 405 ftruncate (file, chars_read - (bp - buffer)); 476 if (ftruncate (file, buffer_size+cursize) == -1)
|
/freebsd-11-stable/tools/regression/fsx/ |
H A D | fsx.c | 449 ftruncate(fd, (off_t)0); 450 ftruncate(fd, (off_t)100000); 456 ftruncate(fd, (off_t)0); 704 if (ftruncate(fd, file_size) == -1) { 705 prterr("domapwrite: ftruncate"); 758 if (ftruncate(fd, (off_t)size) == -1) { 760 prterr("dotruncate: ftruncate"); 784 if (lite ? 0 : ftruncate(fd, file_size) == -1) { 786 prterr("writefileimage: ftruncate");
|
/freebsd-11-stable/contrib/pf/pflogd/ |
H A D | pflogd.c | 506 ftruncate(fileno(f), pos - sizeof(sh))) { 509 ftruncate(fileno(f), pos - sizeof(*h))) { 551 ftruncate(fileno(f), offset);
|
/freebsd-11-stable/sys/sys/ |
H A D | syscall.mk | 331 ftruncate.o \
|
/freebsd-11-stable/bin/dd/ |
H A D | dd.c | 202 if (ftruncate(out.fd, out.offset * out.dbsz) == -1) 464 * If the file ends with a hole, ftruncate it to extend its size 468 if (ftruncate(out.fd, out.seek_offset) == -1) 522 * ftruncate to extend the file size.
|
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-app-init-linux.c | 218 ftruncate(fd, shared_size);
|
/freebsd-11-stable/contrib/openbsm/compat/ |
H A D | pidfile.h | 207 if (ftruncate(fd, 0) == -1) {
|
/freebsd-11-stable/lib/libutil/ |
H A D | pidfile.c | 195 if (ftruncate(fd, 0) == -1) {
|
/freebsd-11-stable/sbin/dump/ |
H A D | itime.c | 208 if (ftruncate(fd, ftell(df))) 209 quit("ftruncate (%s): %s\n", dumpdates, strerror(errno));
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | pututxline.c | 251 ftruncate(fd, 0);
|
/freebsd-11-stable/tests/sys/file/ |
H A D | dup_test.c | 74 if (ftruncate(fd, 1024) != 0) 75 err(1, "ftruncate");
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | bsd-misc.c | 128 ret = ftruncate(fd, length);
|
/freebsd-11-stable/tests/sys/vm/ |
H A D | mmap_test.c | 120 ATF_REQUIRE(ftruncate(shmfd, pagesize) == 0);
|