Bask in the enchantment of the BSD license

'Borrow' FreeBSD's getopt.c