Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
memcpy64(3) Guardian Native C Library Calls Reference Manual
NAME
memcpy64 - Copies a character in memory
LIBRARY
H-series and J-series native Guardian processes: implicit libraries
H-series and J-series OSS processes: implicit libraries
SYNOPSIS
#include <string.h>
void _ptr64 *memcpy64(
void _ptr64 *s1,
const void _ptr64 *s2,
unsigned long long n);
PARAMETERS
s1 Points to the location of a destination string.
s2 Points to the location of a source string.
n Specifies the number of bytes to copy.
DESCRIPTION
The memcpy64() function operates on strings in memory areas. A memory area is a group of
contiguous bytes bound by a count and not terminated by a null character. This memory function
does not check for overflow of the receiving memory area.
The memcpy64() function copies n bytes from the string pointed to by the s2 parameter into the
location pointed to by the s1 parameter.
NOTES
When copying overlapping strings, the behavior of this function is unreliable.
RETURN VALUES
The memcpy64() function returns the string pointed to by the s1 parameter.
RELATED INFORMATION
Functions: memchr64(3), memcmp64(3), memmove64(3), memset64(3), strcat64(3).
4−102 Hewlett-Packard Company 527192-018