Documentation of NN_LINGER option improved.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
diff --git a/doc/nn_getsockopt.3.txt b/doc/nn_getsockopt.3.txt
index 02af764..b695a7e 100644
--- a/doc/nn_getsockopt.3.txt
+++ b/doc/nn_getsockopt.3.txt
@@ -31,8 +31,9 @@
*NN_LINGER*::
Specifies how long should the socket try to send pending outbound messages
- after _nn_close()_ have been called, in milliseconds. The type of the option
- is int. Default value is 1000 (1 second).
+ after _nn_close()_ have been called, in milliseconds. Nagative value means
+ infinite linger. The type of the option is int. Default value
+ is 1000 (1 second).
*NN_SNDBUF*::
Size of the send buffer, in bytes. To prevent blocking for messages larger
than the buffer, exactly one message may be buffered in addition to the data
diff --git a/doc/nn_setsockopt.3.txt b/doc/nn_setsockopt.3.txt
index e3e283c..48b95a6 100644
--- a/doc/nn_setsockopt.3.txt
+++ b/doc/nn_setsockopt.3.txt
@@ -29,8 +29,9 @@
*NN_LINGER*::
Specifies how long should the socket try to send pending outbound messages
- after _nn_close()_ have been called, in milliseconds. The type of the option
- is int. Default value is 1000 (1 second).
+ after _nn_close()_ have been called, in milliseconds. Nagative value means
+ infinite linger. The type of the option is int. Default value
+ is 1000 (1 second).
*NN_SNDBUF*::
Size of the send buffer, in bytes. To prevent blocking for messages larger
than the buffer, exactly one message may be buffered in addition to the data