osx man page for memcpy

Query: memcpy

OS: osx

Section: 3

Links: osx man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MEMCPY(3)						   BSD Library Functions Manual 						 MEMCPY(3)

NAME
memcpy -- copy memory area
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <string.h> void * memcpy(void *restrict dst, const void *restrict src, size_t n);
DESCRIPTION
The memcpy() function copies n bytes from memory area src to memory area dst. If dst and src overlap, behavior is undefined. Applications in which dst and src might overlap should use memmove(3) instead.
RETURN VALUES
The memcpy() function returns the original value of dst.
SEE ALSO
bcopy(3), memccpy(3), memmove(3), strcpy(3), wmemcpy(3)
STANDARDS
The memcpy() function conforms to ISO/IEC 9899:1990 (``ISO C90'').
BSD
June 4, 1993 BSD
Related Man Pages
bstring(3) - freebsd
memcpy(3) - minix
memcpy(3) - php
memcpy(3) - xfree86
memcpy(3) - plan9
Similar Topics in the Unix Linux Community
memcpy segfaults, but not in windows
Problem with memcpy
memcpy error
Signal SEGV (no mapping at the fault address) in _memcpy at 0xff0b07c0
Undefined reference to memcpy@GLIBC_2.14