RSC  0.16.0
MacHostInfo.cpp File Reference
#include "HostInfo.h"
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/sysctl.h>
#include <stdexcept>
#include <sstream>
#include <boost/format.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
Include dependency graph for MacHostInfo.cpp:

Go to the source code of this file.

Namespaces

 rsc
 
 rsc::os
 

Functions

RSC_EXPORT std::string rsc::os::currentMachineVersion ()
 Determine and return the version within its type, usually the CPU identification string, of the local machine. More...
 
RSC_EXPORT std::string rsc::os::currentHostId ()
 Determine and return a unique id string of the local machine. More...
 
RSC_EXPORT boost::posix_time::ptime rsc::os::currentBootTime ()
 Return the boot time of the local machine. More...