Searched refs:ftruncate (Results 1 - 6 of 6) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/ |
H A D | shared_memory_tests.c | 113 my_err = ftruncate( my_fd, 4096 ); 115 printf( "ftruncate call failed with error %d - \"%s\" \n", errno, strerror( errno) );
|
H A D | tests.c | 177 * Test fsync, ftruncate, lseek, pread, pwrite, read, readv, truncate, write, writev system calls. 303 /* test ftruncate */ 304 my_err = ftruncate( my_fd, 0 ); 306 printf( "ftruncate call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 316 printf( "ftruncate call failed - file size is wrong \n" ); 2328 my_err = ftruncate( my_fd, 0 ); 2330 printf( "ftruncate call failed with error %d - \"%s\" \n", errno, strerror( errno) );
|
/macosx-10.5.8/xnu-1228.15.4/bsd/man/man2/ |
H A D | Makefile | 59 ftruncate.2 \
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | init_sysent.c | 210 {0, 0, 0, (sy_call_t *)nosys, NULL, NULL, _SYSCALL_RET_INT_T, 0}, /* 130 = nosys old ftruncate */ 295 {AC(ftruncate_args), 0, 0, (sy_call_t *)ftruncate, munge_wl, munge_dd, _SYSCALL_RET_INT_T, 12}, /* 201 = ftruncate */
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | sysproto.h | 1864 int ftruncate(struct proc *, struct ftruncate_args *, int *);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_syscalls.c | 4519 ftruncate(proc_t p, struct ftruncate_args *uap, register_t *retval) function
|
Completed in 127 milliseconds