Guardian Native C Library Calls Reference Manual (G06.28+, H06.04+)
Guardian Native C Library Calls (a - e) 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 native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
H-series OSS processes: /G/system/zdllnnn/zcrtldll
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.
527192-005 Hewlett-Packard Company 1−27