Home
last modified time | relevance | path

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

/external/valgrind/main/coregrind/
Dm_libcfile.c396 static HChar startup_wd[VKI_PATH_MAX]; variable
406 const Int szB = sizeof(startup_wd); in VG_()
409 VG_(memset)(startup_wd, 0, szB); in VG_()
413 = VG_(do_syscall2)(__NR_getcwd, (UWord)startup_wd, szB-1); in VG_()
414 vg_assert(startup_wd[szB-1] == 0); in VG_()
435 VG_(strncpy_safely)(startup_wd, wd, szB); in VG_()
436 vg_assert(startup_wd[szB-1] == 0); in VG_()
450 vg_assert(startup_wd[ sizeof(startup_wd)-1 ] == 0); in VG_()
451 if (1+VG_(strlen)(startup_wd) >= size) in VG_()
453 VG_(strncpy_safely)(buf, startup_wd, size); in VG_()