/haiku/src/system/libroot/posix/unistd/ |
H A D | truncate.c | 33 ftruncate(int fd, off_t newSize) function
|
H A D | hostname.cpp | 49 ftruncate(file, nameSize + 1);
|
/haiku/src/tests/system/kernel/ |
H A D | mmap_fixed_test.cpp | 24 ftruncate(fd, 4096);
|
H A D | mmap_resize_test.cpp | 49 if (ftruncate(fd, 0) < 0) {
|
H A D | mmap_cut_tests.cpp | 92 ftruncate(fd, B_PAGE_SIZE * 4);
|
/haiku/src/tools/ |
H A D | create_image.cpp | 121 // regular file -- use ftruncate() to resize it 122 if ((clearImage && ftruncate(fd, 0) != 0) 123 || ftruncate(fd, imageSize) != 0) {
|
/haiku/src/bin/network/ftpd/ |
H A D | logwtmp.c | 93 (void)ftruncate(fd, buf.st_size);
|
/haiku/src/tests/system/libroot/posix/ |
H A D | truncate.cpp | 58 if (ftruncate(fd, newSize) == 0 || errno != EINVAL) {
|
H A D | seek_and_write_test.cpp | 108 ftruncate(fd, 0);
|
/haiku/src/libs/util/ |
H A D | pidfile.c | 140 ftruncate(fd, 0); 184 if (ftruncate(fd, 0) == -1) {
|
/haiku/src/kits/storage/ |
H A D | FileDescriptorIO.cpp | 81 return ftruncate(fFD, size) == 0 ? B_OK : errno;
|
H A D | FdIO.cpp | 109 return ftruncate(fFd, size) == 0 ? B_OK : errno;
|
/haiku/src/build/libroot/ |
H A D | function_remapper.cpp | 169 ftruncate(int fd, off_t newSize) function 171 HIDDEN_FUNCTION(ftruncate);
|
H A D | fs.cpp | 936 if (ftruncate(realFD, st->st_size) < 0) 1478 return ftruncate(fd, newSize);
|
/haiku/src/tools/vmdkimage/ |
H A D | vmdkimage.cpp | 391 if ((clearImage && ftruncate(fd, headerSize) != 0) 392 || ftruncate(fd, actualImageSize + headerSize) != 0) {
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | fuse_fs.cpp | 236 if (fs->ops.ftruncate == NULL) 238 return fs->ops.ftruncate(path, size, fi);
|
/haiku/src/add-ons/kernel/file_cache/ |
H A D | log.cpp | 264 ftruncate(sLogFile, fileSize + 512 * 1024); 327 ftruncate(sLogFile, fileSize);
|
H A D | launch_speedup.cpp | 608 ftruncate(fd, 512 * 1024); 624 ftruncate(fd, fileSize);
|
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/ |
H A D | StdLibFileIO.cpp | 193 return ftruncate(GetHandle(), GetPosition());
|
/haiku/headers/private/userlandfs/fuse/ |
H A D | fuse_compat.h | 49 int (*ftruncate) (const char *, off_t, struct fuse_file_info *); member in struct:fuse_operations_compat25
|
H A D | fuse.h | 77 * releasedir, fsyncdir, access, create, ftruncate, fgetattr, lock, 375 * truncation was invoked from an ftruncate() system call. 383 int (*ftruncate) (const char *, off_t, struct fuse_file_info *); member in struct:fuse_operations 462 * fsyncdir, ftruncate, fgetattr, lock, ioctl and poll 474 * fsyncdir, ftruncate, fgetattr, lock, ioctl and poll
|
/haiku/headers/build/ |
H A D | BeOSBuildCompatibility.h | 151 # define ftruncate(fd, newSize) _haiku_build_ftruncate(fd, newSize) macro
|
/haiku/src/libs/uuid/ |
H A D | gen_uuid.c | 327 if (ftruncate(state_fd, len) < 0) {
|
/haiku/src/tests/kits/storage/virtualdrive/ |
H A D | virtualdrive.cpp | 212 if (ftruncate(fd, size) != 0)
|
/haiku/headers/posix/ |
H A D | unistd.h | 360 extern int ftruncate(int fd, off_t newSize);
|