From 6b0457fcaad3fa9a2e632b3799119c40da8dd6ca Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 19 Jan 2010 12:48:38 +0100 Subject: minor documentation patch --- man/man3/zmq_setsockopt.3 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'man') diff --git a/man/man3/zmq_setsockopt.3 b/man/man3/zmq_setsockopt.3 index f419f78..f1dd9cb 100644 --- a/man/man3/zmq_setsockopt.3 +++ b/man/man3/zmq_setsockopt.3 @@ -18,15 +18,15 @@ mark cannot be exceeded. If the messages don't fit into the pipe emergency mechanisms of the particular socket type are used (block, drop etc.) If HWM is set to zero, there are no limits for the content of the pipe. -Type: int64_t Unit: bytes Default: 0 +Type: int64_t Unit: messages Default: 0 .IP "\fBZMQ_LWM\fP" Low watermark makes sense only if high watermark is defined (i.e. is non-zero). When the emergency state is reached when messages overflow the pipe, the -emergency lasts till the size of the pipe decreases to low watermark. -At that point normal state is resumed. +emergency lasts at most till the size of the pipe decreases to low watermark. +Normal state is resumed at that point. -Type: int64_t Unit: bytes Default: 0 +Type: int64_t Unit: messages Default: 0 .IP "\fBZMQ_SWAP\fP" Swap allows the pipe to exceed high watermark. However, the data are written @@ -126,7 +126,7 @@ to the appropriate value. unknown option, a value with incorrect length or invalid value. .SH EXAMPLE .nf -int rc = zmq_setsockopt (s, ZMQ_SUBSCRIBE, "*", 1); +int rc = zmq_setsockopt (s, ZMQ_SUBSCRIBE, "", 0); assert (rc == 0); .fi .SH SEE ALSO -- cgit v1.2.3