Searched refs:ftruncate (Results 76 - 100 of 121) sorted by relevance

12345

/freebsd-11-stable/bin/rcp/
H A Drcp.c684 if (ftruncate(ofd, size)) {
/freebsd-11-stable/crypto/heimdal/appl/rcp/
H A Drcp.c605 if (ftruncate(ofd, size)) {
/freebsd-11-stable/contrib/pf/authpf/
H A Dauthpf.c330 (void) ftruncate(fileno(pidfp), ftello(pidfp));
/freebsd-11-stable/usr.bin/xlint/xlint/
H A Dxlint.c673 if (ftruncate(cppoutfd, (off_t)0) != 0) {
674 warn("ftruncate");
/freebsd-11-stable/usr.sbin/lpr/lpd/
H A Dlpd.c292 ftruncate(lfd, 0);
/freebsd-11-stable/usr.sbin/rwhod/
H A Drwhod.c407 * use ftruncate if size is less than previous size.
443 ftruncate(whod, cc);
/freebsd-11-stable/usr.sbin/btxld/
H A Dbtxld.c280 if (ftruncate(fdo, ohdr.size += ohdr.data))
/freebsd-11-stable/contrib/sendmail/libsmutil/
H A Dsafefile.c758 ftruncate(fd, (off_t) 0) < 0)
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_sparse_basic.c296 assert(ftruncate(fd, total_size) != -1);
/freebsd-11-stable/usr.sbin/uhsoctl/
H A Duhsoctl.c467 ftruncate(fd, 0);
510 ftruncate(fd, 0);
/freebsd-11-stable/targets/pseudo/tests/
H A DMakefile.depend233 tests/sys/pjdfstest/tests/ftruncate \
/freebsd-11-stable/contrib/pjdfstest/
H A Dpjdfstest.c50 #define ftruncate64 ftruncate
198 { "ftruncate", ACTION_FTRUNCATE, { TYPE_DESCRIPTOR, TYPE_NUMBER, TYPE_NONE } },
/freebsd-11-stable/usr.sbin/lpr/lpc/
H A Dcmds.c387 (void) ftruncate(fd, 0);
/freebsd-11-stable/tests/sys/aio/
H A Daio_test.c1069 ATF_REQUIRE(ftruncate(fd, sb.st_blksize * nitems(buffers)) == 0);
/freebsd-11-stable/tools/tools/syscall_timing/
H A Dsyscall_timing.c896 error = ftruncate(fd, 1000000);
898 err(1, "ftruncate");
/freebsd-11-stable/crypto/openssh/
H A Dscp.c1160 ftruncate(ofd, size) != 0) {
/freebsd-11-stable/lib/libc/tests/sys/
H A Dsendfile_test.c414 ATF_REQUIRE_EQ_MSG(0, ftruncate(fd, pattern_size),
415 "ftruncate failed: %s", strerror(errno));
/freebsd-11-stable/usr.sbin/nfsd/
H A Dnfsd.c1083 ret = ftruncate(to_fd, (off_t)0);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mac.cpp348 return ftruncate(fd, size);
/freebsd-11-stable/contrib/sendmail/src/
H A Dmci.c1121 (void) ftruncate(sm_io_getinfo(mci->mci_statfile, SM_IO_WHAT_FD, NULL),
/freebsd-11-stable/contrib/sendmail/mail.local/
H A Dmail.local.c1362 (void) ftruncate(mbfd, curoff);
/freebsd-11-stable/contrib/elftoolchain/libelf/
H A Delf_update.c1098 if (ftruncate(e->e_fd, (off_t) 0) < 0 ||
/freebsd-11-stable/contrib/gcc/
H A Dsys-protos.h414 extern int ftruncate(int, off_t);
/freebsd-11-stable/sys/kern/
H A Dinit_sysent.c178 { 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 Dffs.c505 if (ftruncate(fsopts->fd, bufrem) == -1) {

Completed in 374 milliseconds

12345