Commit 5d176cbe authored by Andreas Rottmann's avatar Andreas Rottmann

Document terminating NUL behavior in API more explicitly

This addresses #2169.
parent 93ccb5a1
......@@ -26,7 +26,9 @@ DESCRIPTION
The _zmq_setsockopt()_ function shall set the option specified by the
'option_name' argument to the value pointed to by the 'option_value' argument
for the 0MQ socket pointed to by the 'socket' argument. The 'option_len'
argument is the size of the option value in bytes.
argument is the size of the option value in bytes. For options taking a value of
type "character string", the provided byte data should either contain no zero
bytes, or end in a single zero byte (terminating ASCII NUL character).
The following socket options can be set with the _zmq_setsockopt()_ function:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment