Home
last modified time | relevance | path

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

/build/kati/
Dfileutil.cc126 char mypath[PATH_MAX + 1]; in GetExecutablePath() local
127 ssize_t l = readlink("/proc/self/exe", mypath, PATH_MAX); in GetExecutablePath()
131 mypath[l] = '\0'; in GetExecutablePath()
132 *path = mypath; in GetExecutablePath()
134 char mypath[PATH_MAX + 1]; in GetExecutablePath()
136 if (_NSGetExecutablePath(mypath, &size) != 0) { in GetExecutablePath()
139 mypath[size] = 0; in GetExecutablePath()
140 *path = mypath; in GetExecutablePath()