summaryrefslogtreecommitdiff
path: root/docs/reference/src/api/socket
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference/src/api/socket')
-rw-r--r--docs/reference/src/api/socket/index.md6
-rw-r--r--docs/reference/src/api/socket/nng_bus_open.md8
-rw-r--r--docs/reference/src/api/socket/nng_close.md6
-rw-r--r--docs/reference/src/api/socket/nng_pub_open.md8
4 files changed, 12 insertions, 16 deletions
diff --git a/docs/reference/src/api/socket/index.md b/docs/reference/src/api/socket/index.md
index 8bd82b7d..f5f3783c 100644
--- a/docs/reference/src/api/socket/index.md
+++ b/docs/reference/src/api/socket/index.md
@@ -2,6 +2,6 @@
## See Also
-[nng_bus_open()](nng_bus_open.md)
-[nng_close()](nng_close.md)
-[nng_pub_open()](nng_pub_open.md)
+[nng_bus_open](nng_bus_open.md)
+[nng_close](nng_close.md)
+[nng_pub_open](nng_pub_open.md)
diff --git a/docs/reference/src/api/socket/nng_bus_open.md b/docs/reference/src/api/socket/nng_bus_open.md
index fd56455b..5ec526b9 100644
--- a/docs/reference/src/api/socket/nng_bus_open.md
+++ b/docs/reference/src/api/socket/nng_bus_open.md
@@ -1,8 +1,8 @@
-# nng_bus_open()
+# nng_bus_open
## NAME
-nng_bus_open --- create _BUS_ socket
+nng*bus_open --- create \_BUS* socket
## SYNOPSIS
@@ -18,10 +18,10 @@ int nng_bus0_open_raw(nng_socket *s);
## DESCRIPTION
The `nng_bus0_open()` function creates a [_BUS_](../../protocols/bus.md) version 0
-[socket](nng_socket.md) and returns it at the location pointed to by _s_.
+[socket](index.md) and returns it at the location pointed to by _s_.
The `nng_bus0_open_raw()` function creates a [_BUS_](../../protocols/bus.md) version 0
-[socket](nng_socket.md) in
+[socket](index.md) in
[raw](../overview/raw.md) mode, and returns it at the location pointed to by _s_.
## RETURN VALUES
diff --git a/docs/reference/src/api/socket/nng_close.md b/docs/reference/src/api/socket/nng_close.md
index 486cfe2c..fded0357 100644
--- a/docs/reference/src/api/socket/nng_close.md
+++ b/docs/reference/src/api/socket/nng_close.md
@@ -1,4 +1,4 @@
-# nng_close(3)
+# nng_close
## NAME
@@ -39,7 +39,3 @@ This function returns 0 on success, and non-zero otherwise.
## ERRORS
- `NNG_ECLOSED`: The socket _s_ is already closed or was never opened.
-
-## SEE ALSO
-
-[nng_socket](nng_socket.md)
diff --git a/docs/reference/src/api/socket/nng_pub_open.md b/docs/reference/src/api/socket/nng_pub_open.md
index 987718f4..18321896 100644
--- a/docs/reference/src/api/socket/nng_pub_open.md
+++ b/docs/reference/src/api/socket/nng_pub_open.md
@@ -1,8 +1,8 @@
-# nng_pub_open()
+# nng_pub_open
## NAME
-nng_pub_open --- create _PUB_ socket
+nng*pub_open --- create \_PUB* socket
## SYNOPSIS
@@ -18,10 +18,10 @@ int nng_pub0_open_raw(nng_socket *s);
== DESCRIPTION
The `nng_pub0_open()` function creates a [_PUB_](../../protocols/pub.md) version 0
-[socket](nng_socket.md) and returns it at the location pointed to by _s_.
+[socket](index.md) and returns it at the location pointed to by _s_.
The `nng_pub0_open_raw()` function creates a [_PUB_](../../protocols/pub.md) version 0
-[socket](nng_socket.md) in
+[socket](index.md) in
[raw](../../overview/raw.md) mode and returns it at the location pointed to by _s_.
## RETURN VALUES