summaryrefslogtreecommitdiff
path: root/docs/man/nng_pub_open.3.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/man/nng_pub_open.3.adoc')
-rw-r--r--docs/man/nng_pub_open.3.adoc8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/man/nng_pub_open.3.adoc b/docs/man/nng_pub_open.3.adoc
index ad46c740..32655b1d 100644
--- a/docs/man/nng_pub_open.3.adoc
+++ b/docs/man/nng_pub_open.3.adoc
@@ -21,6 +21,8 @@ nng_pub_open - create pub socket
#include <nng/protocol/pubsub0/pub.h>
int nng_pub0_open(nng_socket *s);
+
+int nng_pub0_open_raw(nng_socket *s);
----
== DESCRIPTION
@@ -28,9 +30,13 @@ int nng_pub0_open(nng_socket *s);
The `nng_pub0_open()` function creates a <<nng_pub.7#,_pub_>> version 0
<<nng_socket.5#,socket>> and returns it at the location pointed to by _s_.
+The `nng_pub0_open_raw()` function creates a <<nng_pub.7#,_pub_>> version 0
+<<nng_socket.5#,socket>> in
+<<nng.7#raw_mode,raw>> mode and returns it at the location pointed to by _s_.
+
== RETURN VALUES
-This function returns 0 on success, and non-zero otherwise.
+These functions return 0 on success, and non-zero otherwise.
== ERRORS