Logo Search packages:      
Sourcecode: avahi version File versions  Download package

AvahiUsec avahi_age ( const struct timeval *  a  ) 

Return the difference between the current time and *a. Positive if *a was earlier

Definition at line 76 of file timeval.c.

    struct timeval now;


    gettimeofday(&now, NULL);

    return avahi_timeval_diff(&now, a);

Generated by  Doxygen 1.6.0   Back to index