diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2010-01-21 10:38:40 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2010-01-21 10:38:40 +0100 |
commit | 66ef22993f22a0d47703c1203f57d95c4316bc70 (patch) | |
tree | 761bfc21e4c5098600eb6b187a964e757685fe45 /man/man3 | |
parent | a008af6088ef1ad3baf1b9e6ae699cc07367efa3 (diff) |
zmq_close man page improved
Diffstat (limited to 'man/man3')
-rw-r--r-- | man/man3/zmq_close.3 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/man/man3/zmq_close.3 b/man/man3/zmq_close.3 index b2a9274..ad731d3 100644 --- a/man/man3/zmq_close.3 +++ b/man/man3/zmq_close.3 @@ -7,7 +7,10 @@ zmq_close \- destroys 0MQ socket Destroys 0MQ socket (one created using .IR zmq_socket function). All sockets have to be properly closed before the application -terminates, otherwise memory leaks will occur. +terminates, otherwise memory leaks will occur. Note that any outbound messages +that haven't been psuhed to the network yet and any inbound messages that +haven't been received by the application yet will be dropped on the socket +shutdown. .SH RETURN VALUE In case of success the function returns zero. Otherwise it returns -1 and sets |