Share this page

# memset

Example: memset | Buffer Manipulation Functions

Sets n bytes of a buffer to a given character.

    void *memset( void *buffer, int c, size_t n);

buffer | Pointer to block of data to be filled with c.
c | The character placed in buffer.
n | The number of bytes in buffer set as c.

## Return Values

Returns buffer, pointer to block of data to be filled with c.

For memset details, refer to your C language documentation.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: