Searched refs:my_pathp (Results 1 – 1 of 1) sorted by relevance
| /xnu-8796.141.3/tests/ |
| H A D | xnu_quick_test.c | 24 char * my_pathp; variable 33 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, 35 T_ASSERT_MACH_SUCCESS(my_kr, "Allocating vm to path %s", my_pathp); 37 *my_pathp = 0x00; 38 strcpy( my_pathp, &g_target_path[0] ); 39 strcat( my_pathp, "/" ); 43 T_ASSERT_MACH_SUCCESS( create_random_name( my_pathp, 1), "Create random test file" ); 47 T_EXPECT_NE(my_fd = syscall( SYS_open, my_pathp, (O_RDWR | O_EXCL), 0 ), 48 -1, "Attempt to open file using indirect syscall %s", my_pathp); 54 if (my_pathp != NULL) { [all …]
|