memset
From cppreference.com
| Defined in header <string.h>
|
||
| void* memset( void* dest, int ch, size_t count );
|
||
Converts the value ch to unsigned char and copies it into each of the first count characters of the object pointed to by dest.
Contents |
[edit] Parameters
| dest | - | pointer to the object to fill |
| ch | - | fill byte |
| count | - | number of bytes to fill |
[edit] Return value
dest
[edit] Example
| This section is incomplete Reason: no example |
[edit] See also
| copies one buffer to another (function) |
|