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

struct timeval* pa_timeval_store ( struct timeval *  tv,
pa_usec_t  v 
) [read]

Store the specified uec value in the timeval struct.

Since:
0.9.7

Definition at line 151 of file timeval.c.

                                                                  {
    pa_assert(tv);

    tv->tv_sec = v / PA_USEC_PER_SEC;
    tv->tv_usec = v % PA_USEC_PER_SEC;

    return tv;
}


Generated by  Doxygen 1.6.0   Back to index