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 
> <[email protected]>:
>> 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


Reply via email to