*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> bcopy (9r)              
Title
Content
Arch
Section
 

bcopy(9r)

Contents


NAME    [Toc]    [Back]

       bcopy - General: Copies a series of bytes with a specified
       limit

SYNOPSIS    [Toc]    [Back]

       void bcopy(
               char *b1,
               char *b2,
               int n );

ARGUMENTS    [Toc]    [Back]

       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    [Toc]    [Back]

       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    [Toc]    [Back]

       None

EXAMPLES    [Toc]    [Back]

       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    [Toc]    [Back]

      
      
       Routines:  blkclr(9r),  copystr(9r),   ovbcopy(9r),   strcpy(9r), strncpy(9r)



                                                        bcopy(9r)
[ Back ]
 Similar pages
Name OS Title
ovbcopy Tru64 General: Copies a byte string with a specified limit
copystr Tru64 General: Copies a null-terminated character string with a specified limit
strncpy Tru64 General: Copies a null-terminated character string with a specified limit
btop Tru64 General: Converts bytes to number of pages
strcpy Tru64 General: Copies a null-terminated character string
get_random_bytes Tru64 General: Returns the requested number of random bytes and stores them in a buffer.
get_random_bytes_wait Tru64 General: Returns the requested number of random bytes and places them in a buffer.
copy_to_phys Tru64 General: Copies data from a virtual address to a physical address
copyoutstr Tru64 General: Copies a null-terminated string from a kernel address space to a user address space
copyinstr Tru64 General: Copies a null-terminated string from a user address space to a kernel address space
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service