Solaris equivalent for getauxval(AT_EXECFN)
Jeffrey Walton
noloader at gmail.com
Thu Jan 3 00:54:03 CET 2019
Hi Everyone,
I'm looking for a quick-and-dirty way to get argv[0] without the
worries of hardlink or execve tricks. Modern Linux/glibc provides
getauxval(AT_EXECFN).
I performed a quick search for Solaris but I am not finding useful
results. I also made a quick grep of Solaris headers but got 0 results
because I am not sure what I am search for.
Does Solaris have a rough equivalent to Linux/glibc
getauxval(AT_EXECFN)? if so, then what is it?
Thanks and sorry for the extra noise.
More information about the users
mailing list