- 论坛徽章:
- 0
|
什么系统上? return end of dest?
NAME
strcpy, strncpy - copy a string
SYNOPSIS
#include <string.h>
char *strcpy(char *dest, const char *src);
char *strncpy(char *dest, const char *src, size_t n);
DESCRIPTION
The strcpy() function copies the string pointed to by src (including the terminating `\0'
character) to the array pointed to by dest. The strings may not overlap, and the destina
RETURN VALUE
The strcpy() and strncpy() functions return a pointer to the destination string dest.
[ 本帖最后由 思一克 于 2007-8-7 17:04 编辑 ] |
|