Symisc Systems

Libcox Command Reference


Star Follow @symisc

Command Syntax

gettimeofday [return_float = FALSE]


Alias

None


Description

Returns an associative array containing the data returned from the underlying system call. The following array entries are returned:


Parameters

return_float

Optional Parameter: When set to TRUE, a float instead of an array is returned.


Return Value

Array: By default an array is returned. If return_float is set, then a float is returned .Use libcox_array_next_elem() or libcox_array_walk() to iterate over the array elements, libcox_array_fetch() or libcox_array_fetch_by_key() to extract array entries by indexes or keys. Also switch to libcox_value_to_double() to extract the processing result.