SilverScreen Solid Modeler

memset

memset

Previous topic Next topic  

memset

Previous topic Next topic JavaScript is required for the print function  

StandardCLibrary

 

void *memset( void *s, int c, size_t count )

 

void   *s;          /* address of memory buffer */

int     c;          /* fill char */

size_t  count;      /* number of bytes to fill */

 

 




Synopsis

#include "string.h"

 

The memset function fills the first count characters of buffer s with the character value of c .

 

 

Parameters

s is a memory buffer at least count bytes in length. c any character.

 

 

Return Value

memset returns s .