mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-03 12:58:05 +01:00
Problem: description of return value is cloned from zmq_atomic_counter_new
Solution: provide correct description Fixes #2789
This commit is contained in:
parent
0897b3e07b
commit
439e49bca1
@ -15,13 +15,15 @@ SYNOPSIS
|
|||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
The _zmq_atomic_counter_value_ function returns the value of an atomic
|
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
|
RETURN VALUE
|
||||||
------------
|
------------
|
||||||
The _zmq_atomic_counter_value()_ function returns the new atomic counter
|
The _zmq_atomic_counter_value()_ function returns the value of the
|
||||||
if successful. Otherwise it returns NULL.
|
atomic counter. If _counter_ does not point to an atomic counter created by
|
||||||
|
_zmq_atomic_counter_new()_, the behaviour is undefined.
|
||||||
|
|
||||||
|
|
||||||
EXAMPLE
|
EXAMPLE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user