libbsd — facilitate porting software from BSD to Linux

TIL, There is already a libbsd which facilitates porting software from BSD to Linux.

Check its header files, I find many acquainted function declarations: strlcpy, arc4random, readpassphrase, etc. I really wish I had known this library when porting tcpbench.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.