Commit 07eb52cb authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #2797 from zeromq/fix-zmq-atomic-counter-value-docs

Problem: description of return value is cloned from zmq_atomic_counter_new
parents 0897b3e0 439e49bc
......@@ -15,13 +15,15 @@ SYNOPSIS
DESCRIPTION
-----------
The _zmq_atomic_counter_value_ function returns the value of an atomic
counter. This function uses platform specific atomic operations.
counter created by _zmq_atomic_counter_new()_. This function uses platform
specific atomic operations.
RETURN VALUE
------------
The _zmq_atomic_counter_value()_ function returns the new atomic counter
if successful. Otherwise it returns NULL.
The _zmq_atomic_counter_value()_ function returns the value of the
atomic counter. If _counter_ does not point to an atomic counter created by
_zmq_atomic_counter_new()_, the behaviour is undefined.
EXAMPLE
......
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