4 ms·
strlcpy is also somewhat crap, it returns the length of the source which if I do strlcpy(d, s, n) where s is long and n is small you get to pay for finding the
by nwmcsween 10y ago
strlcpy is also somewhat crap, it returns the length of the source which if I do strlcpy(d, s, n) where s is long and n is small you get to pay for finding the nul terminator in s.