Index of Section 3 Manual Pages
| Interix / SUA | memcpy.3 | Interix / SUA |
memcpy(3) memcpy(3)
memcpy()
NAME
memcpy() - copy byte string
SYNOPSIS
#include
void * memcpy (void *dst, const void *src, size_t len)
DESCRIPTION
The memcpy(3) function copies len bytes from string src to string dst.
Note that memcpy(3) is not a safe operation to use when src and dst may
overlap; in that case, use memmove(3).
RETURN VALUES
The memcpy(3) function returns the original value of dst.
SEE ALSO
bcopy(3)
memmove(3)
strcpy(3)
USAGE NOTES
The memcpy function is thread safe.
The memcpy function is not async-signal safe.