30 #if defined(LIBC_SCCS) && !defined(lint)
31 static char *rcsid =
"$OpenBSD: strlcpy.c,v 1.2 1998/11/06 04:33:16 wvdputte Exp $";
34 #include <sys/types.h>
42 size_t strlcpy(
char *dst,
const char *src,
size_t siz)
44 register char *d = dst;
45 register const char *s = src;
46 register size_t n = siz;