Solaris equivalent for getauxval(AT_EXECFN)

Jan Holzhueter jh at opencsw.org
Thu Jan 3 10:25:51 CET 2019


Am 03.01.19 um 10:19 schrieb Dagobert Michelsen via users:
> Hi,
> 
> Am 03.01.2019 um 10:14 schrieb Stephen Nelson-Smith via users <users at lists.opencsw.org>:
>> The source of which is here
>> https://github.com/illumos/illumos-gate/blob/master/usr/src/cmd/ptools/pargs/pargs.c
>>
>> So if you want to write your own, rather than use the built in, you
>> can see the implementation.
>>
>> Hope that helps, and I haven't misunderstood what you're trying to do.
> 
> I guess it is AT_SUN_EXECNAME what you are looking for:


which is just getexecname(3C)
https://docs.oracle.com/cd/E19683-01/816-0213/6m6ne3814/index.html




More information about the users mailing list