◄Description► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Include: <search.h> Syntax: void *lfind( void *key, void *base, unsigned *num, unsigned width, int (*compare)( void *key, void *elem ) ); void *lsearch( void *key, void *base, unsigned *num, unsigned width, int (*compare)( void *key, void *elem ) ); Returns: a pointer if successful, or NULL if not. See also: bsearch, lsearch, qsort -♦-