Crossware

Table of Contents        Previous topic       Next topic       

COMPILER LIBRARY FUNCTIONS->Detailed Descriptions->memset()

Summary

#include <string.h>

    
char *memset(void *dest,int c, size_t count);Set buffer to a specified character

Parameters

    
destPointer to destination buffer
cCharacter to set
countNumber of characters to set


Description

This function sets the first of c in the first count bytes of dest to the character c

Return Value

The function returns a pointer to the start of the start of the destination buffer.