9 #ifndef luasandbox_util_util_h_ 10 #define luasandbox_util_util_h_ 19 #ifdef luasandboxutil_EXPORTS 20 #define LSB_UTIL_EXPORT __declspec(dllexport) 22 #define LSB_UTIL_EXPORT __declspec(dllimport) 26 #define LSB_UTIL_EXPORT __attribute__ ((visibility ("default"))) 28 #define LSB_UTIL_EXPORT LSB_UTIL_EXPORT lsb_err_id LSB_ERR_UTIL_NULL
LSB_UTIL_EXPORT lsb_err_id LSB_ERR_UTIL_OOM
LSB_UTIL_EXPORT size_t lsb_lp2(unsigned long long x)
Hacker's Delight - Henry S.
LSB_UTIL_EXPORT lsb_err_id LSB_ERR_UTIL_FULL
LSB_UTIL_EXPORT bool lsb_set_tz(const char *tz)
Sets the timezone environment variable for the time conversion functions.
LSB_UTIL_EXPORT long long lsb_get_timestamp()
Retrieves the highest resolution time since Jan 1, 1970 converted to nanoseconds. ...
LSB_UTIL_EXPORT char * lsb_read_file(const char *fn)
Read a file into a string.
LSB_UTIL_EXPORT unsigned long long lsb_get_time()
Retrieves the highest resolution timer available converted to nanoseconds.
LSB_UTIL_EXPORT lsb_err_id LSB_ERR_UTIL_PRANGE