How to programatically get the executable path on FreeBSD? FreeBSD does not seem to have /proc like on linux, and argv [0] does not always contain full path ...