> +#define strlcpy(dst, src, size) (strncpy((dst), (src), (size) - 1)) > +#define strlcat(dst, src, size) (strncat((dst), (src), (size) - 1))
strlcpy() and strlcat() return size_t. strncpy() and strncat() return char *. These #define do not take care of this (among other things).