Functions

ut_unixMisc.cpp File Reference

#include "ut_misc.h"
#include "ut_assert.h"
#include <sys/time.h>

Functions

void UT_gettimeofday (struct timeval *tv)
bool UT_getEthernetAddress (UT_EthernetAddress &a)

Function Documentation

bool UT_getEthernetAddress ( UT_EthernetAddress a  ) 

retrieve the 6-byte address of the network card; returns true on success This implementation is from libuuid; it has not been debugged or even compiled

Referenced by UT_UUID::_makeUUID().

void UT_gettimeofday ( struct timeval *  tv  ) 

UT_gettimeofday() fills in the timeval structure with current time; the platform implementation needs to be as accurate as possible since this function is used in the UT_UUID class.

Referenced by UT_UUID::_getClock().