Solaris equivalent for getauxval(AT_EXECFN)

Jeffrey Walton noloader at gmail.com
Thu Jan 3 21:52:02 CET 2019


On Thu, Jan 3, 2019 at 4:26 AM Jan Holzhueter via users
<users at lists.opencsw.org> 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 <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

Yep, I found getexecname() earlier this morning.

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

Jeff


More information about the users mailing list