https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248184

Ed Maste <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Ed Maste <[email protected]> ---
>From the man page:

    #include <stdlib.h>
    const char *getexecname(void);

    ...

    If successful, getexecname() returns a pointer to the executables pathname;
otherwise, it returns 0.

    ...

    The getexecname() function obtains the executable pathname from the
AT_SUN_EXECNAME aux vector. These vectors are made available to dynamically
linked processes only.

It seems like we could also add getexecname as a slightly more convenient
interface than elf_aux_info.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to