Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

htimestampxa.c

00001 #include <sys/types.h>
00002 #include <sys/time.h>
00003 
00004 #include "htimestampxa.h"
00005 
00006 void
00007 GetTime(HTimestampData *ts)
00008 {
00009         struct timeval timeNow;
00010 
00011         (void)gettimeofday(&timeNow, 0);
00012         ts->Sec = timeNow.tv_sec;
00013         ts->Usec = timeNow.tv_usec;
00014 }

Generated on Sun Dec 25 12:14:56 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2