convenience library to aid in porting code from OpenBSD to different operating systems