Query: bcopy
OS: osf1
Section: 9r
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
bcopy(9r) bcopy(9r)NAMEbcopy - General: Copies a series of bytes with a specified limitSYNOPSISvoid bcopy( char *b1, char *b2, int n );ARGUMENTSSpecifies 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.DESCRIPTIONThe 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 VALUESNoneEXAMPLESThe 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 ALSORoutines: blkclr(9r), copystr(9r), ovbcopy(9r), strcpy(9r), strncpy(9r) bcopy(9r)
Related Man Pages |
---|
bcopy(3) - suse |
bcmp(3) - osf1 |
bcopy(3) - osf1 |
bzero(3) - 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 |