From 3079d4aa9bbbca02c36dcb7ff6a3f6d24bd21189 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 9 Nov 2018 19:59:29 -0800 Subject: man page updates for 1.1.0 --- man/v1.1.0/nng_duration.5.html | 582 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 582 insertions(+) create mode 100644 man/v1.1.0/nng_duration.5.html (limited to 'man/v1.1.0/nng_duration.5.html') diff --git a/man/v1.1.0/nng_duration.5.html b/man/v1.1.0/nng_duration.5.html new file mode 100644 index 00000000..d4674249 --- /dev/null +++ b/man/v1.1.0/nng_duration.5.html @@ -0,0 +1,582 @@ +--- +version: 1.1.0 +layout: refman +--- + + + + + + + +nng_duration(5) + + + + + + + +
+
+

SYNOPSIS

+
+
+
+
#include <nng/nng.h>
+
+typedef int32_t nng_duration;
+
+#define NNG_DURATION_INFINITE (-1)
+#define NNG_DURATION_DEFAULT  (-2)
+#define NNG_DURATION_ZERO     (0)
+
+
+
+
+
+

DESCRIPTION

+
+
+

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
+
+

Indicates a context-specific default value should be used.

+
+
NNG_DURATION_INFINITE
+
+

Effectively an infinite duration; used most often to disable timeouts.

+
+
NNG_DURATION_ZERO
+
+

Zero length duration; used to perform a single polling operation.

+
+
+
+
+
+
+

SEE ALSO

+ +
+
+ + -- cgit v1.2.3-70-g09d2