RSP_smallTimeConvertNameRSP_smallTimeConvert -- Converts small time value to double. Synopsisdouble RSP_smallTimeConvert (char *data);
Description This function converts the given string data to a double representation. The
string may contain "2 msecs", or "2.56 milliseconds", etc).
Available suffixes are:
milliseconds, millisecs, msecs microseconds, microsecs, usecs nanoseconds, nanosecs, nsecs seconds, secs
Returns Returns a double integer representation of the given data (or -1 if an error
occurred).
Error Conditions If an error occurs, -1 will be returned
and rsp_error will be set to the
following error code:
RSP_INVALID_ARGS RSP_BAD_CONVERT
|