j
k
j a
j l
On the other hand, if you have a small buffer, and strncpy only copies a few chars of the source string, then strlcpy is _slower_, as it has to waste time counting all the chars in the source string anyway for the return value.
Back to the thread
Back to the list