3 ms·
I'm surprised they didn't go with strscpy() directly https://archive.kernel.org/oldlinux/htmldocs/kernel-api/API-strscpy.html https://archive.kernel.org/oldlin
by pantalaimon 3y ago
I'm surprised they didn't go with strscpy() directly
https://archive.kernel.org/oldlinux/htmldocs/kernel-api/API-strscpy.html https://archive.kernel.org/oldlinux/htmldocs/kernel-api/API-...
- GoblinSlayer 3y agoBecause strlcpy exists in bsd since 1999: https://man.netbsd.org/strlcpy.3 https://man.netbsd.org/strlcpy.3