nng_duration
relative time in milliseconds
- Provided by: libnng-dev (Version: 1.10.1-2)
- Source: nng
- Report a bug
relative time in milliseconds
#include <nng/nng.h> typedef int32_t nng_duration; #define NNG_DURATION_INFINITE (-1) #define NNG_DURATION_DEFAULT (-2) #define NNG_DURATION_ZERO (0)
An nng_duration is a relative time, measured in milliseconds. This type is most often used in conjunction with timers and timeouts.
A couple of special values have been set aside, and carry special meanings.
NNG_DURATION_DEFAULT
NNG_DURATION_INFINITE
NNG_DURATION_ZERO