src/cutil/oldlist.cpp
LIST search(LIST list, void *key, int_compare is_equal) {
  if (is_equal == nullptr) {
    is_equal = is_same;
  }

  iterate(list) if ((*is_equal)(list->first_node(), key)) return list;
  return (NIL_LIST);
}
/**********************************************************************
 *   s e a r c h
 *
 *  Search list, return NIL_LIST if not found. Return the list starting from
 *  the item if found.  The compare routine "is_equal" is passed in as
 *  the third parameter to this routine.
 **********************************************************************/
s e a r c h
Search list, return NIL_LIST if not found. Return the list starting from
the item if found.  The compare routine "is_equal" is passed in as
the third parameter to this routine.
s e a r c h Search list return NIL_LIST if not found . Return the list starting from the item if found . The compare routine " is_equal " is passed in as the third parameter to this routine .
LIST search(LIST list, void *key, int_compare is_equal) {
  if (is_equal == nullptr) {
    is_equal = is_same;
  }
  iterate(list) if ((*is_equal)(list->first_node(), key)) return list;
  return (NIL_LIST);
}
LIST search ( LIST list , void * key , int_compare is_equal ) { if ( is_equal == nullptr ) { is_equal = is_same ; } iterate ( list ) if ( ( * is_equal ) ( list -> first_node ( ) , key ) ) return list ; return ( NIL_LIST ) ; }
s e a r c h
  Search list, return NIL_LIST if not found.
s e a r c h Search list return NIL_LIST if not found .