openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/shadow/4.6-r0/shadow-4.6/lib/subordinateio.c
static const bool range_exists(struct commonio_db* db, const char* owner)
{
    const struct subordinate_range* range;
    commonio_rewind(db);
    while ((range = commonio_next(db)) != NULL)
    {
        if (0 == strcmp(range->owner, owner))
            return true;
    }
    return false;
}
/*
 * range_exists: Check whether @owner owns any ranges
 *
 * @db: database to query
 * @owner: owner being queried
 *
 * Returns true if @owner owns any subuid ranges, false otherwise.
 */
Check whether @owner owns any ranges
@db: database to query
@owner: owner being queried

Returns true if @owner owns any subuid ranges, false otherwise.
Check whether @owner owns any ranges @db : database to query @owner : owner being queried Returns true if @owner owns any subuid ranges false otherwise .
static const bool range_exists(struct commonio_db* db, const char* owner)
{
    const struct subordinate_range* range;
    commonio_rewind(db);
    while ((range = commonio_next(db)) != NULL)
    {
        if (0 == strcmp(range->owner, owner))
            return true;
    }
    return false;
}
static const bool range_exists ( struct commonio_db * db , const char * owner ) { const struct subordinate_range * range ; commonio_rewind ( db ) ; while ( ( range = commonio_next ( db ) ) != NULL ) { if ( 0 == strcmp ( range -> owner , owner ) ) return true ; } return false ; }
range_exists: Check whether @owner owns any ranges
 @db: database to query
 @owner: owner being queried
range_exists : Check whether @owner owns any ranges @db : database to query @owner : owner being queried