Searched refs:ftruncate (Results 1 - 8 of 8) sorted by relevance

/sendmail/sendmail/
H A Dbf.c780 ** any value of errno specified by ftruncate()
807 return ftruncate(bfp->bf_disk_fd, 0);
H A Dmci.c1077 (void) ftruncate(sm_io_getinfo(mci->mci_statfile, SM_IO_WHAT_FD, NULL),
H A Dmap.c1525 if (ftruncate(dirfd, (off_t) 0) < 0 ||
1526 ftruncate(pagfd, (off_t) 0) < 0)
H A Ddeliver.c5617 (void) ftruncate(sm_io_getinfo(f, SM_IO_WHAT_FD, NULL),
H A Dmilter.c3705 MILTER_DF_ERROR("milter_replbody: ftruncate not available on this platform (%s:%s)");
3708 err = ftruncate(sm_io_getinfo(e->e_dfp,
3713 MILTER_DF_ERROR("milter_replbody: sm_io ftruncate %s: %s");
/sendmail/libsmutil/
H A Dsafefile.c759 ftruncate(fd, (off_t) 0) < 0)
/sendmail/mail.local/
H A Dmail.local.c1346 (void) ftruncate(mbfd, curoff);
/sendmail/include/sm/
H A Dconf.h1226 # define NOFTRUNCATE 0 /* has (simulated) ftruncate call */
1252 # define ftruncate chsize /* use chsize(2) to emulate ftruncate */ macro
1304 # define NOFTRUNCATE 1 /* do not have ftruncate(2) */
1856 # define NOFTRUNCATE 1 /* lacks ftruncate() */
2324 # define NOFTRUNCATE 1 /* do not have ftruncate(2) */

Completed in 7094 milliseconds