Searched refs:ftruncate (Results 101 - 121 of 121) sorted by relevance
12345
/freebsd-11-stable/sbin/newfs_msdos/ |
H A D | mkfs_msdos.c | 278 if (ftruncate(fd, o.create_size)) {
|
/freebsd-11-stable/contrib/sendmail/include/sm/ |
H A D | conf.h | 1243 # define NOFTRUNCATE 0 /* has (simulated) ftruncate call */ 1269 # define ftruncate chsize /* use chsize(2) to emulate ftruncate */ macro 1321 # define NOFTRUNCATE 1 /* do not have ftruncate(2) */ 1879 # define NOFTRUNCATE 1 /* lacks ftruncate() */ 2348 # define NOFTRUNCATE 1 /* do not have ftruncate(2) */
|
/freebsd-11-stable/crypto/openssh/ |
H A D | sftp-client.c | 1396 if (ftruncate(local_fd, highwater) == -1) 1397 error("ftruncate \"%s\": %s", local_path,
|
H A D | sftp-server.c | 960 r = ftruncate(fd, a.size);
|
/freebsd-11-stable/lib/libedit/ |
H A D | readline.c | 1331 (void)ftruncate(fileno(fp), off);
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/ztest/ |
H A D | ztest.c | 874 if (ftruncate(fd, size) != 0) 875 fatal(1, "can't ftruncate %s", path); 3128 (void) ftruncate(fd, *newsize); 6380 VERIFY3U(0, ==, ftruncate(ztest_fd_data, sizeof (ztest_shared_hdr_t))); 6391 VERIFY3U(0, ==, ftruncate(ztest_fd_data, size));
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux.cpp | 229 HANDLE_EINTR(res, (sptr)internal_syscall(SYSCALL(ftruncate), fd,
|
/freebsd-11-stable/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | operations.cpp | 445 // http://pubs.opengroup.org/onlinepubs/9699919799/functions/ftruncate.html 447 if (::ftruncate(fd.fd, to_size) == -1) {
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_consume.c | 2510 (void) ftruncate(fileno(fp), 0);
|
/freebsd-11-stable/sys/compat/freebsd32/ |
H A D | freebsd32_sysent.c | 185 { compat(AS(oftruncate_args),ftruncate), AUE_FTRUNCATE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 130 = old ftruncate */
|
/freebsd-11-stable/contrib/netbsd-tests/dev/cgd/ |
H A D | t_cgd_3des.c | 704 if (ftruncate(fd, size) < 0)
|
H A D | t_cgd_blowfish.c | 1940 if (ftruncate(fd, size) < 0)
|
H A D | t_cgd_aes.c | 3105 if (ftruncate(fd, size) < 0)
|
/freebsd-11-stable/sbin/dhclient/ |
H A D | dhclient.c | 1925 ftruncate(fileno(leaseFile), ftello(leaseFile));
|
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | map.c | 1571 if (ftruncate(dirfd, (off_t) 0) < 0 || 1572 ftruncate(pagfd, (off_t) 0) < 0)
|
H A D | milter.c | 3726 MILTER_DF_ERROR("milter_replbody: ftruncate not available on this platform (%s:%s)"); 3729 err = ftruncate(sm_io_getinfo(e->e_dfp, 3734 MILTER_DF_ERROR("milter_replbody: sm_io ftruncate %s: %s");
|
H A D | deliver.c | 5870 (void) ftruncate(sm_io_getinfo(f, SM_IO_WHAT_FD, NULL),
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_disk_posix.c | 1705 if (ftruncate(a->fd, a->filesize) == -1 && 1714 * extend files via ftruncate. Stat() the file again 1721 * ftruncate didn't work or isn't available. */
|
/freebsd-11-stable/contrib/openbsm/ |
H A D | configure | 13329 for ac_func in arc4random arc4random_buf bzero cap_enter clock_gettime closefrom faccessat fdopendir fstatat ftruncate getresgid getresuid gettimeofday inet_ntoa jail kqueue memset openat pthread_cond_timedwait_relative_np pthread_condattr_setclock pthread_mutex_lock renameat setproctitle sigtimedwait strchr strerror strlcat strlcpy strndup strrchr strstr strtol strtoul unlinkat vis
|
/freebsd-11-stable/crypto/heimdal/lib/sqlite/ |
H A D | sqlite3.c | 24928 { "ftruncate", (sqlite3_syscall_ptr)ftruncate, 0 }, 25190 ** Retry ftruncate() calls that fail due to EINTR [all...] |
/freebsd-11-stable/contrib/sqlite3/ |
H A D | sqlite3.c | [all...] |
Completed in 1491 milliseconds
12345