GetTime

Obtains the current time in seconds.

Synopsis

int32 GetTime (Item ioreq)

Description

Obtains the current value of the system microsecond timer and returns just the seconds portion.

Arguments

ioreq
IOReq item obtained from GetTimerIOReq(), or zero to have an IOReq dynamically created/deleted during the call.

Return Value

Positive number of seconds or a negative error code.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, timerutils.h

See Also

GetTimerIOReq