Searched refs:startup_wd (Results 1 – 1 of 1) sorted by relevance
394 static HChar startup_wd[VKI_PATH_MAX]; variable404 const Int szB = sizeof(startup_wd); in VG_()407 VG_(memset)(startup_wd, 0, szB); in VG_()411 = VG_(do_syscall2)(__NR_getcwd, (UWord)startup_wd, szB-1); in VG_()412 vg_assert(startup_wd[szB-1] == 0); in VG_()433 VG_(strncpy_safely)(startup_wd, wd, szB); in VG_()434 vg_assert(startup_wd[szB-1] == 0); in VG_()448 vg_assert(startup_wd[ sizeof(startup_wd)-1 ] == 0); in VG_()449 if (1+VG_(strlen)(startup_wd) >= size) in VG_()451 VG_(strncpy_safely)(buf, startup_wd, size); in VG_()