Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
OSS Library Calls (a - d) bcopy(3)
NAME
bcopy - Copies an area of memory
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZI18NSRL
G-series native OSS processes: /G/system/sysnn/zi18nsrl
H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll
SYNOPSIS
#include <strings.h>
void bcopy(
const void *s1,
void *s2,
size_t n);
PARAMETERS
s1 Is a pointer to the area to be copied.
s2 Is a pointer to the area where the copy will be made.
n Is the number of bytes to copy.
DESCRIPTION
The bcopy( ) function copies the first n bytes of the area pointed to by the s1 parameter to the
area pointed to by the s2 parameter.
NOTES
The bcopy( ) function can be called by native processes only.
RETURN VALUES
The bcopy( ) function does not return a value.
ERRORS
None. This function does not set errno.
RELATED INFORMATION
Functions: bcmp(3), bzero(3), memmove(3).
STANDARDS CONFORMANCE
The bcopy( ) function is defined in the XPG4 Version 2 specification.
527187-017 Hewlett-Packard Company 1−57