getexecname(3)
is a function for
OpenBSD
that returns the pathname of the running executable, or NULL
if an error occurs.
It can be trivally dropped into your source code or built as a library.
getexecname(3)
is a function for
OpenBSD
that returns the pathname of the running executable, or NULL
if an error occurs.
It can be trivally dropped into your source code or built as a library.