memcpyのヘルプ・マニュアル
日本語 英語
memcpy --help
man memcpy
MEMCPY(3) Linux Programmer’s Manual MEMCPY(3)
名前
memcpy - メモリ領域をコピーする。
書式
#include
void *memcpy(void *dest, const void *src, size_t n);
説明
memcpy() はメモリ領域 src の先頭 n バイトをメモリ領域 dest にコピーする
。コピー元の領域とコピー先の領域が重なってはならない。重なっている場 合
は memmove(3) を使うこと。
返り値
memcpy() は dest へのポインタを返す。
準拠
SVr4, 4.3BSD, C89, C99, POSIX.1-2001.
関連項目
bcopy(3), memccpy(3), memmove(3), mempcpy(3), strcpy(3), strncpy(3),
wmemcpy(3)
1993-04-10 MEMCPY(3)
MEMCPY(3) Linux Programmer’s Manual MEMCPY(3)
NAME
memcpy - copy memory area
SYNOPSIS
#include
void *memcpy(void *dest, const void *src, size_t n);
DESCRIPTION
The memcpy() function copies n bytes from memory area src to memory
area dest. The memory areas should not overlap. Use memmove(3) if the
memory areas do overlap.
RETURN VALUE
The memcpy() function returns a pointer to dest.
CONFORMING TO
SVr4, 4.3BSD, C89, C99, POSIX.1-2001.
SEE ALSO
bcopy(3), memccpy(3), memmove(3), mempcpy(3), strcpy(3), strncpy(3),
wmemcpy(3)
COLOPHON
This page is part of release 3.22 of the Linux man-pages project. A
description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
1993-04-10 MEMCPY(3)