summaryrefslogtreecommitdiff
path: root/man/v1.6.0/nng_pull_open.3.html
diff options
context:
space:
mode:
authorStaysail Systems, Inc <info@staysail.tech>2023-11-26 13:06:39 -0800
committerGarrett D'Amore <garrett@damore.org>2023-11-26 13:07:27 -0800
commit3ec5c9995f9c5611292bd18211fce9402efcb663 (patch)
tree8b405f48024e1fcd047aa47e4d364c178570cf8f /man/v1.6.0/nng_pull_open.3.html
parent2b5c463857370e37f6989d95ec94e99aefd13062 (diff)
downloadnng-3ec5c9995f9c5611292bd18211fce9402efcb663.tar.gz
nng-3ec5c9995f9c5611292bd18211fce9402efcb663.tar.bz2
nng-3ec5c9995f9c5611292bd18211fce9402efcb663.zip
v1.6.0 docs
Diffstat (limited to 'man/v1.6.0/nng_pull_open.3.html')
-rw-r--r--man/v1.6.0/nng_pull_open.3.html87
1 files changed, 87 insertions, 0 deletions
diff --git a/man/v1.6.0/nng_pull_open.3.html b/man/v1.6.0/nng_pull_open.3.html
new file mode 100644
index 00000000..66a290ea
--- /dev/null
+++ b/man/v1.6.0/nng_pull_open.3.html
@@ -0,0 +1,87 @@
+---
+version: v1.6.0
+layout: manpage_v2
+title: nng_pull_open(3)
+---
+<h1>nng_pull_open(3)</h1>
+<div class="sect1">
+<h2 id="_name">NAME</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>nng_pull_open - create pull socket</p>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_synopsis">SYNOPSIS</h2>
+<div class="sectionbody">
+<div class="listingblock">
+<div class="content">
+<pre class="pygments highlight"><code data-lang="c"><span class="tok-cp">#include</span> <span class="tok-cpf">&lt;nng/nng.h&gt;</span>
+<span class="tok-cp">#include</span> <span class="tok-cpf">&lt;nng/protocol/pipeline0/pull.h&gt;</span>
+
+<span class="tok-kt">int</span> <span class="tok-nf">nng_pull0_open</span><span class="tok-p">(</span><span class="tok-n">nng_socket</span> <span class="tok-o">*</span><span class="tok-n">s</span><span class="tok-p">);</span>
+
+<span class="tok-kt">int</span> <span class="tok-nf">nng_pull0_open_raw</span><span class="tok-p">(</span><span class="tok-n">nng_socket</span> <span class="tok-o">*</span><span class="tok-n">s</span><span class="tok-p">);</span></code></pre>
+</div>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_description">DESCRIPTION</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>The <code>nng_pull0_open()</code> function creates a <a href="nng_pull.7.html"><em>pull</em></a> version 0
+<a href="nng_socket.5.html">socket</a> and returns it at the location pointed to by <em>s</em>.</p>
+</div>
+<div class="paragraph">
+<p>The <code>nng_pull0_open_raw()</code> function creates a <a href="nng_pull.7.html"><em>pull</em></a> version 0
+<a href="nng_socket.5.html">socket</a> in
+<a href="nng.7.html">raw</a> mode and returns it at the location pointed to by <em>s</em>.</p>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_return_values">RETURN VALUES</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>These functions return 0 on success, and non-zero otherwise.</p>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_errors">ERRORS</h2>
+<div class="sectionbody">
+<div class="hdlist">
+<table>
+<tr>
+<td class="hdlist1">
+<code>NNG_ENOMEM</code>
+</td>
+<td class="hdlist2">
+<p>Insufficient memory is available.</p>
+</td>
+</tr>
+<tr>
+<td class="hdlist1">
+<code>NNG_ENOTSUP</code>
+</td>
+<td class="hdlist2">
+<p>The protocol is not supported.</p>
+</td>
+</tr>
+</table>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_see_also">SEE ALSO</h2>
+<div class="sectionbody">
+<div class="paragraph text-left">
+<p><a href="nng_socket.5.html">nng_socket(5)</a>,
+<a href="nng_pull.7.html">nng_pull(7)</a>,
+<a href="nng_push.7.html">nng_push(7)</a>,
+<a href="nng.7.html">nng(7)</a></p>
+</div>
+</div>
+</div>