Go to the first, previous, next, last section, table of contents.


strcpy

Syntax

#include <string.h>

char *strcpy(char *s1, const char *s2);

Description

This function copies s2 into s1.

Return Value

s1

Portability

ANSI, POSIX

Example

char buf[100];
strcpy(buf, arg);


Go to the first, previous, next, last section, table of contents.