openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/libnss-mdns/0.10-r7/nss-mdns-0.10/src/util.c
usec_t timeval_age(const struct timeval* tv)
{
    struct timeval now;
    assert(tv);
    gettimeofday(&now, NULL);
    return timeval_diff(&now, tv);
}
/* Return the time difference between now and the specified timestamp */
Return the time difference between now and the specified timestamp
Return the time difference between now and the specified timestamp
usec_t timeval_age(const struct timeval* tv)
{
    struct timeval now;
    assert(tv);
    gettimeofday(&now, NULL);
    return timeval_diff(&now, tv);
}
usec_t timeval_age ( const struct timeval * tv ) { struct timeval now ; assert ( tv ) ; gettimeofday ( & now , NULL ) ; return timeval_diff ( & now , tv ) ; }
Return the time difference between now and the specified timestamp
Return the time difference between now and the specified timestamp