Problem with time function- Base time reference.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

I would like to delay a process so I am using this function to calculate the
delay I should use pj_gettimeofday. I have read the documentation :

pj_status_t<http://www.pjsip.org/pjlib/docs/html/group__PJ__BASIC.htm#gab43ba3167bd2a2ab4580509dbf79200e>pj_gettimeofday
( pj_time_val <http://www.pjsip.org/pjlib/docs/html/structpj__time__val.htm>*
*tv*  )

Get current time of day in local representation.
*Parameters:*
*tv* Variable to store the result.  *Returns:*zero if successful.

But what I don?t know which is the base time that this function is taken as
a reference. Because if it is a day I will have a problem at 00:00 h at
night.

Could you say to me if it is taken as a reference an hour reference, a day
reference or a year reference?

Regards

Jorge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110617/f318b343/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux