ReactOS  0.4.14-dev-98-gb0d4763
memset.c File Reference
#include <string.h>
Include dependency graph for memset.c:

Go to the source code of this file.

Functions

void *__cdecl memset (void *src, int val, size_t count)
 

Function Documentation

◆ memset()

void* __cdecl memset ( void src,
int  val,
size_t  count 
)

Definition at line 8 of file memset.c.

9 {
10  char *char_src = (char *)src;
11 
12  while(count>0) {
13  *char_src = val;
14  char_src++;
15  count--;
16  }
17  return src;
18 }
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLuint GLfloat * val
Definition: glext.h:7180
GLenum src
Definition: glext.h:6340