/freebsd-11-stable/bin/rcp/ |
H A D | rcp.c | 684 if (ftruncate(ofd, size)) {
|
/freebsd-11-stable/crypto/heimdal/appl/rcp/ |
H A D | rcp.c | 605 if (ftruncate(ofd, size)) {
|
/freebsd-11-stable/contrib/pf/authpf/ |
H A D | authpf.c | 330 (void) ftruncate(fileno(pidfp), ftello(pidfp));
|
/freebsd-11-stable/usr.bin/xlint/xlint/ |
H A D | xlint.c | 673 if (ftruncate(cppoutfd, (off_t)0) != 0) { 674 warn("ftruncate");
|
/freebsd-11-stable/usr.sbin/lpr/lpd/ |
H A D | lpd.c | 292 ftruncate(lfd, 0);
|
/freebsd-11-stable/usr.sbin/rwhod/ |
H A D | rwhod.c | 407 * use ftruncate if size is less than previous size. 443 ftruncate(whod, cc);
|
/freebsd-11-stable/usr.sbin/btxld/ |
H A D | btxld.c | 280 if (ftruncate(fdo, ohdr.size += ohdr.data))
|
/freebsd-11-stable/contrib/sendmail/libsmutil/ |
H A D | safefile.c | 758 ftruncate(fd, (off_t) 0) < 0)
|
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_sparse_basic.c | 296 assert(ftruncate(fd, total_size) != -1);
|
/freebsd-11-stable/usr.sbin/uhsoctl/ |
H A D | uhsoctl.c | 467 ftruncate(fd, 0); 510 ftruncate(fd, 0);
|
/freebsd-11-stable/targets/pseudo/tests/ |
H A D | Makefile.depend | 233 tests/sys/pjdfstest/tests/ftruncate \
|
/freebsd-11-stable/contrib/pjdfstest/ |
H A D | pjdfstest.c | 50 #define ftruncate64 ftruncate 198 { "ftruncate", ACTION_FTRUNCATE, { TYPE_DESCRIPTOR, TYPE_NUMBER, TYPE_NONE } },
|
/freebsd-11-stable/usr.sbin/lpr/lpc/ |
H A D | cmds.c | 387 (void) ftruncate(fd, 0);
|
/freebsd-11-stable/tests/sys/aio/ |
H A D | aio_test.c | 1069 ATF_REQUIRE(ftruncate(fd, sb.st_blksize * nitems(buffers)) == 0);
|
/freebsd-11-stable/tools/tools/syscall_timing/ |
H A D | syscall_timing.c | 896 error = ftruncate(fd, 1000000); 898 err(1, "ftruncate");
|
/freebsd-11-stable/crypto/openssh/ |
H A D | scp.c | 1160 ftruncate(ofd, size) != 0) {
|
/freebsd-11-stable/lib/libc/tests/sys/ |
H A D | sendfile_test.c | 414 ATF_REQUIRE_EQ_MSG(0, ftruncate(fd, pattern_size), 415 "ftruncate failed: %s", strerror(errno));
|
/freebsd-11-stable/usr.sbin/nfsd/ |
H A D | nfsd.c | 1083 ret = ftruncate(to_fd, (off_t)0);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_mac.cpp | 348 return ftruncate(fd, size);
|
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | mci.c | 1121 (void) ftruncate(sm_io_getinfo(mci->mci_statfile, SM_IO_WHAT_FD, NULL),
|
/freebsd-11-stable/contrib/sendmail/mail.local/ |
H A D | mail.local.c | 1362 (void) ftruncate(mbfd, curoff);
|
/freebsd-11-stable/contrib/elftoolchain/libelf/ |
H A D | elf_update.c | 1098 if (ftruncate(e->e_fd, (off_t) 0) < 0 ||
|
/freebsd-11-stable/contrib/gcc/ |
H A D | sys-protos.h | 414 extern int ftruncate(int, off_t);
|
/freebsd-11-stable/sys/kern/ |
H A D | init_sysent.c | 178 { compat(AS(oftruncate_args),ftruncate), AUE_FTRUNCATE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 130 = old ftruncate */ 249 { compat6(AS(freebsd6_ftruncate_args),ftruncate), AUE_FTRUNCATE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 201 = freebsd6 ftruncate */ 528 { AS(ftruncate_args), (sy_call_t *)sys_ftruncate, AUE_FTRUNCATE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 480 = ftruncate */
|
/freebsd-11-stable/usr.sbin/makefs/ |
H A D | ffs.c | 505 if (ftruncate(fsopts->fd, bufrem) == -1) {
|