I just tried this (better late than never!), and parameters 2 and 3 are reversed. Fore the sake of posterity, it should be:
#define strlcpy(d,s,n) snprintf((d),(n),"%s",(s))
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds