openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/systemd/1_242+AUTOINC+db2e367bfc-r0/git/src/basic/sort-util.h
static inline void* bsearch_safe(const void* key, const void* base,
                                 size_t nmemb, size_t size,
                                 __compar_fn_t compar)
{
    if (nmemb <= 0)
        return NULL;

    assert(base);
    return bsearch(key, base, nmemb, size, compar);
}
/**
 * Normal bsearch requires base to be nonnull. Here were require
 * that only if nmemb > 0.
 */
Normal bsearch requires base to be nonnull. Here were require
that only if nmemb > 0.
Normal bsearch requires base to be nonnull . Here were require that only if nmemb > 0 .
static inline void* bsearch_safe(const void* key, const void* base,
                                 size_t nmemb, size_t size,
                                 __compar_fn_t compar)
{
    if (nmemb <= 0)
        return NULL;
    assert(base);
    return bsearch(key, base, nmemb, size, compar);
}
static inline void * bsearch_safe ( const void * key , const void * base , size_t nmemb , size_t size , __compar_fn_t compar ) { if ( nmemb <= 0 ) return NULL ; assert ( base ) ; return bsearch ( key , base , nmemb , size , compar ) ; }
Normal bsearch requires base to be nonnull.
Normal bsearch requires base to be nonnull .