The isValidTimeValUsecs() function

Verifies whether the microseconds part of a timeval structure is valid.

Description

The function has the following syntax:
inline bool isValidTimeValUsecs(uint32 usecs)
usecs specifies the tv_usec part of a timeval data structure.

Returns

False if usecs < 0 or usecs > 999,999. Otherwise, the function returns true.