openbsd: poor man implementation for getting executable path
openbsd: poor man implementation for getting executable path

it tries to get executable path from argv[0]. it is unreliable and unsecure, but should be fine enough for the considered use-case. it still doesn't address all possible cases.

gingerBill/Odin,gingerBill/Odin,gingerBill/Odin,gingerBill/Odin