On Thu, Jan 3, 2019 at 4:26 AM Jan Holzhueter via users
<[email protected]> wrote:
>
> Am 03.01.19 um 10:19 schrieb Dagobert Michelsen via users:
> >
> > 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

Yep, I found getexecname() earlier this morning.

Thanks for the help, and sorry about the extra noise.

Jeff

Reply via email to