Query: mlib_memset
OS: opensolaris
Section: 3mlib
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
mlib_memset(3MLIB) mediaLib Library Functions mlib_memset(3MLIB)NAMEmlib_memset - set a block of bytesSYNOPSIScc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> void *mlib_memset(void *s, mlib_s32 c, size_t n);DESCRIPTIONThe mlib_memset() 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 memset().PARAMETERSThe function takes the following arguments: s Pointer to the destination. c Value to set. n Number of bytes to be set.RETURN VALUESThe function returns a pointer to the destination.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOmlib_memcpy(3MLIB), mlib_memmove(3MLIB), memory(3C), attributes(5) SunOS 5.11 2 Mar 2007 mlib_memset(3MLIB)