Searched refs:linkval (Results 1 – 2 of 2) sorted by relevance
36 char linkval[PATH_MAX]; in _dl_get_origin() local40 len = INTERNAL_SYSCALL_CALL (readlink, "/proc/self/exe", linkval, in _dl_get_origin()41 sizeof (linkval)); in _dl_get_origin()42 if (! INTERNAL_SYSCALL_ERROR_P (len) && len > 0 && linkval[0] != '[') in _dl_get_origin()45 assert (linkval[0] == '/'); in _dl_get_origin()46 while (len > 1 && linkval[len - 1] != '/') in _dl_get_origin()54 *((char *) __mempcpy (result, linkval, len - 1)) = '\0'; in _dl_get_origin()
37 char linkval[PATH_MAX]; in _dl_get_origin() local42 linkval, sizeof (linkval)); in _dl_get_origin()43 if (! INTERNAL_SYSCALL_ERROR_P (len) && len > 0 && linkval[0] != '[') in _dl_get_origin()46 assert (linkval[0] == '/'); in _dl_get_origin()47 while (len > 1 && linkval[len - 1] != '/') in _dl_get_origin()55 *((char *) __mempcpy (result, linkval, len - 1)) = '\0'; in _dl_get_origin()