test_sectimer()

test_sectimer()#

Checks if the given value time has elapsed compared to the current system time.

Prototype

BOOL test_sectimer(time_t value);

Parameters

Key

Type

Description

value

time_t

The target time to check against the current system time.


Return Value

Returns TRUE if the current time is greater than or equal to value, otherwise returns FALSE.

Notes

If value is less than or equal to zero, the function returns FALSE without performing any time comparison.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples