3 ms·#define strlcpy(d, s, n) snprintf(d, n, "%s", s) Not quite the same (different return type) but close.by slrz 8y ago#define strlcpy(d, s, n) snprintf(d, n, "%s", s) Not quite the same (different return type) but close.