MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions                     mlibmemcpy(3MLIB)



NAME
     mlibmemcpy - copy a block of bytes

SYNOPSIS
     cc [ flag... ] file... -lmlib [ library... ]
     #include 

     void *mlibmemcpy(void *dst, const void *src, sizet n);


DESCRIPTION
     The mlibmemcpy() function copies n bytes from  memory  area
     src  to dst. It returns dst.  The memory areas may not over-
     lap.  Use mlibmemmove() if the memory areas do overlap.


     This function is  a  wrapper  of  the  standard  C  function
     memcpy().

PARAMETERS
     The function takes the following arguments:

     dst    Pointer to the destination.


     src    Pointer to the source.


     n      Number of bytes to be copied.


RETURN VALUES
     The function returns a pointer to the destination.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Committed                   
    
     MT-Level                     MT-Safe                     
    


SEE ALSO
     mlibmemmove(3MLIB), mlibmemset(3MLIB), memory(3C),  attri-
     butes(5)



SunOS 5.11           Last change: 2 Mar 2007                    1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™