Import https://raw.githubusercontent.com/haiku/haiku/master/src/libs/bsd/progname.c from Haiku
Export get/setprogname