PandA-2024.02
Macros | Typedefs | Functions
bsearch.c File Reference

Go to the source code of this file.

Macros

#define _AND   ,
 
#define _DEFUN(name, arglist, args)   name(args)
 
#define _PARAMS(paramlist)   paramlist
 
#define _PTR   void *
 
#define _EXFNPTR(name, proto)   (* name) proto
 
#define _CONST   const
 
#define NULL   0
 

Typedefs

typedef unsigned int size_t
 

Functions

_PTR _DEFUN (bsearch,(key, base, nmemb, size, compar), _CONST _PTR key _AND _CONST _PTR base _AND size_t nmemb _AND size_t size _AND int _EXFNPTR(compar,(const _PTR, const _PTR)))
 

Macro Definition Documentation

◆ _AND

#define _AND   ,

Definition at line 65 of file bsearch.c.

◆ _CONST

#define _CONST   const

Definition at line 70 of file bsearch.c.

◆ _DEFUN

#define _DEFUN (   name,
  arglist,
  args 
)    name(args)

Definition at line 66 of file bsearch.c.

◆ _EXFNPTR

#define _EXFNPTR (   name,
  proto 
)    (* name) proto

Definition at line 69 of file bsearch.c.

◆ _PARAMS

#define _PARAMS (   paramlist)    paramlist

Definition at line 67 of file bsearch.c.

◆ _PTR

#define _PTR   void *

Definition at line 68 of file bsearch.c.

Referenced by _DEFUN().

◆ NULL

#define NULL   0

Definition at line 71 of file bsearch.c.

Referenced by _DEFUN().

Typedef Documentation

◆ size_t

typedef unsigned int size_t

Definition at line 63 of file bsearch.c.

Function Documentation

◆ _DEFUN()

_PTR _DEFUN ( bsearch  ,
(key, base, nmemb, size, compar ,
_CONST _PTR key _AND _CONST _PTR base _AND size_t nmemb _AND size_t size _AND int   _EXFNPTRcompar,(const _PTR, const _PTR) 
)

Definition at line 74 of file bsearch.c.

References _PTR, compar(), index, key, NULL, and result.

Here is the call graph for this function:

Generated on Mon Feb 12 2024 13:03:09 for PandA-2024.02 by doxygen 1.8.13