Lines Matching refs:auxv
15 ElfW(auxv_t) auxv;
26 ; /* Skip, skip, skip... and after finding a NULL we have the auxv. */
39 int fd = open("/proc/self/auxv", O_RDONLY);
43 while (read(fd, &auxv, sizeof(auxv)) == sizeof(auxv))
45 if (auxv.a_type == AT_ENTRY)
46 entry1 = (void *) auxv.a_un.a_val;
47 if (auxv.a_type == AT_PLATFORM)
48 platform1 = strdup((char *) auxv.a_un.a_val);