diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-03-26 07:55:58 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-03-26 07:55:58 -0700 |
| commit | 90b02493491e7ea6f962081efde4e29a1fd794c4 (patch) | |
| tree | 597d79822e1e74fc18afefefc120c0470d23c6ff /docs/reference/src/api/socket | |
| parent | 87e5fc287fedb14656f964254f9b5c738c72b72a (diff) | |
| download | nng-90b02493491e7ea6f962081efde4e29a1fd794c4.tar.gz nng-90b02493491e7ea6f962081efde4e29a1fd794c4.tar.bz2 nng-90b02493491e7ea6f962081efde4e29a1fd794c4.zip | |
More updates.
Diffstat (limited to 'docs/reference/src/api/socket')
| -rw-r--r-- | docs/reference/src/api/socket/index.md | 6 | ||||
| -rw-r--r-- | docs/reference/src/api/socket/nng_bus_open.md | 8 | ||||
| -rw-r--r-- | docs/reference/src/api/socket/nng_close.md | 6 | ||||
| -rw-r--r-- | docs/reference/src/api/socket/nng_pub_open.md | 8 |
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 |
