Commit 3db69212 authored by Constantin Rack's avatar Constantin Rack Committed by GitHub

Merge pull request #2216 from rotty/master

Document terminating NUL behavior in API more explicitly
parents 93ccb5a1 5d176cbe
...@@ -26,7 +26,9 @@ DESCRIPTION ...@@ -26,7 +26,9 @@ DESCRIPTION
The _zmq_setsockopt()_ function shall set the option specified by the The _zmq_setsockopt()_ function shall set the option specified by the
'option_name' argument to the value pointed to by the 'option_value' argument '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' 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: 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