Query: memcpy
OS: freebsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MEMCPY(3) BSD Library Functions Manual MEMCPY(3)NAMEmemcpy -- copy byte stringLIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <string.h> void * memcpy(void *dst, const void *src, size_t len);DESCRIPTIONThe memcpy() function copies len bytes from string src to string dst.RETURN VALUESThe memcpy() function returns the original value of dst.SEE ALSObcopy(3), memccpy(3), memmove(3), strcpy(3), wmemcpy(3)STANDARDSThe memcpy() function conforms to ISO/IEC 9899:1990 (``ISO C90'').BUGSIn this implementation memcpy() is implemented using bcopy(3), and therefore the strings may overlap. On other systems, copying overlapping strings may produce surprises. Programs intended to be portable should use memmove(3) when src and dst may overlap.BSDJune 4, 1993 BSD
Related Man Pages |
---|
memcpy(3) - linux |
memcpy(3) - debian |
memcpy(3) - centos |
memcpy(3) - opendarwin |
memcpy(3) - x11r4 |
Similar Topics in the Unix Linux Community |
---|
memcpy segfaults, but not in windows |
copying strings... |
Segmentation Fault by memcpy |
memcpy error |
Undefined reference to memcpy@GLIBC_2.14 |