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.
Get the pathname of a running executable on OpenBSD.
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.
Get the pathname of a running executable on OpenBSD.
ISC License