.\" Copyright (c) 1990 The Regents of the University of California.
.\" This code is derived from software contributed to Berkeley by
.\" %sccs.include.redist.man%
.\" @(#)strcpy.3 5.2 (Berkeley) %G%
strcpy(char *dst, const char *src);
strncpy(char *dst, const char *src, size_t len);
stopping after the terminating '\e0' has been moved.
appending '\e0' characters if
The following sets ``chararray'' to ``abc\e0\e0\e0'':
(void)strncpy(chararray, "abc", 6).
The following sets ``chararray'' to ``abcdef'':
(void)strncpy(chararray, "abcdefgh", 6);
bcopy(3), memccpy(3), memcpy(3), memmove(3)
conform to ANSI X3.159-1989 (``ANSI C'').