mediaLib Library Functions mlib_memset(3MLIB)
NAME
mlib_memset - set a block of bytes
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
void *mlib_memset(void *s, mlib_s32 c, size_t n);
DESCRIPTION
The 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 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.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
mlib_memcpy(3MLIB), mlib_memmove(3MLIB), memory(3C), attri-
butes(5)SunOS 5.11 Last change: 2 Mar 2007 1