osf1 man page for bcopy

Query: bcopy

OS: osf1

Section: 9r

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

bcopy(9r)																 bcopy(9r)

NAME
bcopy - General: Copies a series of bytes with a specified limit
SYNOPSIS
void bcopy( char *b1, char *b2, int n );
ARGUMENTS
Specifies a pointer to a byte string (array of characters). This pointer can reside in kernel address space or in user address space. Specifies a pointer to a buffer of at least n bytes. This pointer can reside in kernel address space or in user address space. Specifies the number of bytes to be copied.
DESCRIPTION
The bcopy routine copies n bytes from string b1 to buffer b2. No check is made for null bytes. The copy is nondestructive, that is, the address ranges of b1 and b2 can overlap.
RETURN VALUES
None
EXAMPLES
The following code fragment shows a call to bcopy: . . . struct tc_slot tc_slot[TC_IOSLOTS]; . . . char *cp; . . . bcopy(tc_slot[index].modulename, cp, TC_ROMNAMLEN + 1); . . .
SEE ALSO
Routines: blkclr(9r), copystr(9r), ovbcopy(9r), strcpy(9r), strncpy(9r) bcopy(9r)
Related Man Pages
bcmp(3c) - opensolaris
bcopy(3) - debian
bcopy(3) - centos
strncpy(9r) - osf1
bcopy(9f) - sunos
Similar Topics in the Unix Linux Community
appending space in binary data in c
how to check if a file has zero records
Binary conversion function
Printing pointer address
help with awk for file combination