aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_push_open.3.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/man/nng_push_open.3.adoc')
-rw-r--r--docs/man/nng_push_open.3.adoc8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/man/nng_push_open.3.adoc b/docs/man/nng_push_open.3.adoc
index 8470b632..1769b2f2 100644
--- a/docs/man/nng_push_open.3.adoc
+++ b/docs/man/nng_push_open.3.adoc
@@ -21,6 +21,8 @@ nng_push_open - create push socket
#include <nng/protocol/pipeline0/push.h>
int nng_push0_open(nng_socket *s);
+
+int nng_push0_open_raw(nng_socket *s);
----
== DESCRIPTION
@@ -28,9 +30,13 @@ int nng_push0_open(nng_socket *s);
The `nng_push0_open()` function creates a <<nng_push.7#,_push_>> version 0
<<nng_socket.5#,socket>> and returns it at the location pointed to by _s_.
+The `nng_push0_open_raw()` function creates a <<nng_push.7#,_push_>> 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