ReactOS 0.4.16-dev-927-g467dec4
strnset.c File Reference
#include <string.h>
Include dependency graph for strnset.c:

Go to the source code of this file.

Functions

char *__cdecl _strnset (char *string, int val, size_t count)
 

Function Documentation

◆ _strnset()

char *__cdecl _strnset ( char string,
int  val,
size_t  count 
)

Definition at line 34 of file strnset.c.

39{
40 char *start = string;
41
42 while (count-- && *string)
43 *string++ = (char)val;
44
45 return(start);
46}
unsigned char
Definition: typeof.h:29
GLuint start
Definition: gl.h:1545
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLuint GLfloat * val
Definition: glext.h:7180
char string[160]
Definition: util.h:11