MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions                     mlibmemset(3MLIB)



NAME
     mlibmemset - set a block of bytes

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

     void *mlibmemset(void *s, mlibs32 c, sizet n);


DESCRIPTION
     The mlibmemset() function sets the first n bytes in  memory
     area  s  to  the value of c (converted to an unsigned char).
     It returns s.


     This function is a wrapper of the standard C  function  mem-
     set().

PARAMETERS
     The function takes the following arguments:

     s    Pointer to the destination.


     c    Value to set.


     n    Number of bytes to be set.


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
     mlibmemcpy(3MLIB), mlibmemmove(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 ™