xref: /original-bsd/lib/libc/string/strcpy.3 (revision c68c8fdf)
Copyright (c) 1990 The Regents of the University of California.
All rights reserved.

This code is derived from software contributed to Berkeley by
Chris Torek.

%sccs.include.redist.man%

@(#)strcpy.3 5.1 (Berkeley) 05/15/90

STRCPY 3 ""
C 4
NAME
strcpy - copy strings
SYNOPSIS
#include <string.h>

char *
strcpy(char *dst, const char *src);
DESCRIPTION
Strcpy copies string src to dst , stopping after the terminating '\e0' has been moved. Strcpy returns dst .
SEE ALSO
bcopy(3), memccpy(3), memcpy(3), memmove(3), strncpy(3)
STANDARDS
Strcpy conforms to ANSI X3.159-1989 (``ANSI C'').