err(), errx(), warn() and warnx() for Solaris, taken from NetBSD pkgsrc lukemftp
Add setprogname(argv[0]); at the beginning of main()
Compile with -I/usr/local/include
Link with -L/usr/local/lib -lbsderr
This is a static (*.a) library only.
