ReactOS
0.4.16-dev-736-g28b802b
lfind.c
Go to the documentation of this file.
1
#include <stdlib.h>
2
#include <search.h>
3
4
/*
5
* @implemented
6
*/
7
void
*
__cdecl
_lfind
(
const
void
*
key
,
const
void
*
base
,
unsigned
int
*nelp,
8
unsigned
int
width
,
int
(
__cdecl
*compar)(
const
void
*,
const
void
*))
9
{
10
char
* char_base = (
char
*)
base
;
11
unsigned
int
i
;
12
13
for
(
i
= 0;
i
< *nelp;
i
++) {
14
if
(compar(
key
, char_base) == 0)
15
return
char_base;
16
char_base +=
width
;
17
}
18
return
NULL
;
19
}
20
21
__cdecl
#define __cdecl
Definition:
accygwin.h:79
NULL
#define NULL
Definition:
types.h:112
width
GLint GLint GLsizei width
Definition:
gl.h:1546
i
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
_lfind
void *__cdecl _lfind(const void *key, const void *base, unsigned int *nelp, unsigned int width, int(__cdecl *compar)(const void *, const void *))
Definition:
lfind.c:7
base
Definition:
uninitialized_test.cpp:81
key
Definition:
copy.c:22
sdk
lib
crt
search
lfind.c
Generated on Mon Feb 10 2025 06:14:05 for ReactOS by
1.9.6