Home
last modified time | relevance | path

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

/xnu-8019.80.24/tests/
H A Dftruncate.c43 ret = ftruncate(fd, FSIZE_CUR); in fsize_test()
52 ret = ftruncate(fd, FSIZE_CUR + 1); in fsize_test()
H A Dtestposixshm.c43 error = ftruncate(fd, 8 * 1024); in worker_thread_func()
150 T_EXPECT_POSIX_ZERO(ftruncate(fd1, 16 * 1024), NULL);
154 T_EXPECT_EQ(ftruncate(fd1, 8 * 1024), -1, "second ftruncate() should fail");
H A Dpwrite_avoid_sigxfsz_28581610.c59 ret = ftruncate(fd, offs[x]);
H A Dmacho_size_63133398.c3182 T_ASSERT_POSIX_SUCCESS(ftruncate(fd, (off_t)dst_size), NULL);
H A Dkqueue_file_tests.c307 ftruncate(tmpfd, 1); /* So that mmap() doesn't fool us */ in execute_action()
/xnu-8019.80.24/SETUP/replacecontents/
H A Dreplacecontents.c123 ret = ftruncate(dstfd, 0); in main()
/xnu-8019.80.24/bsd/man/man2/
H A DMakefile77 ftruncate.2 \
/xnu-8019.80.24/bsd/vfs/
H A Dvfs_syscalls.c7630 ftruncate(proc_t p, struct ftruncate_args *uap, int32_t *retval) in ftruncate() function