1
strncpy() is unsafe since it does not always add a final NUL-byte.
2
OpenBSD developped a safer version called strlcpy().
4
Use "man -l strlcpy.3" to read the manpage.
6
The files strlcpy.3 and strlcpy.c comes from
7
ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/
8
and are Copyright (c) 1998, 2000 Todd C. Miller
9
<Todd.Miller@courtesan.com>