ReactOS  0.4.13-dev-100-gc8611ae
strset.c File Reference

Go to the source code of this file.

Typedefs

typedef unsigned int size_t
 

Functions

char_strnset (char *szToFill, int szFill, size_t sizeMaxFill)
 
char_strset (char *szToFill, int szFill)
 

Typedef Documentation

◆ size_t

typedef unsigned int size_t

Definition at line 21 of file strset.c.

Function Documentation

◆ _strnset()

char* _strnset ( char szToFill,
int  szFill,
size_t  sizeMaxFill 
)

Definition at line 27 of file strset.c.

28 {
29  char *t = szToFill;
30  int i = 0;
31  while (*szToFill != 0 && i < (int) sizeMaxFill)
32  {
33  *szToFill = szFill;
34  szToFill++;
35  i++;
36 
37  }
38  return t;
39 }
GLdouble GLdouble t
Definition: gl.h:2047
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248

◆ _strset()

char* _strset ( char szToFill,
int  szFill 
)

Definition at line 44 of file strset.c.

45 {
46  char *t = szToFill;
47  while (*szToFill != 0)
48  {
49  *szToFill = szFill;
50  szToFill++;
51 
52  }
53  return t;
54 }
GLdouble GLdouble t
Definition: gl.h:2047