Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
75af9ddb
Commit
75af9ddb
authored
Nov 04, 2013
by
Pieter Hintjens
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #733 from mingulov/doc
Doc examples with zmq_msg_close usage - parameter is 'zmq_msg_t *'
parents
027990a1
bdf8bc31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
zmq_msg_get.txt
doc/zmq_msg_get.txt
+2
-1
zmq_msg_more.txt
doc/zmq_msg_more.txt
+1
-1
No files found.
doc/zmq_msg_get.txt
View file @
75af9ddb
...
...
@@ -40,6 +40,7 @@ EXAMPLE
-------
.Receiving a multi-frame message
----
zmq_msg_t frame;
while (true) {
// Create an empty 0MQ message to hold the message frame
int rc = zmq_msg_init (&frame);
...
...
@@ -53,7 +54,7 @@ while (true) {
fprintf (stderr, "end\n");
break;
}
zmq_msg_close (frame);
zmq_msg_close (
&
frame);
}
----
...
...
doc/zmq_msg_more.txt
View file @
75af9ddb
...
...
@@ -45,7 +45,7 @@ while (true) {
fprintf (stderr, "end\n");
break;
}
zmq_msg_close (part);
zmq_msg_close (
&
part);
}
----
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment