diff options
Diffstat (limited to 'docs/man/nng_socket_id.3.adoc')
| -rw-r--r-- | docs/man/nng_socket_id.3.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/man/nng_socket_id.3.adoc b/docs/man/nng_socket_id.3.adoc index b5acc98b..e9379a6b 100644 --- a/docs/man/nng_socket_id.3.adoc +++ b/docs/man/nng_socket_id.3.adoc @@ -29,10 +29,10 @@ if it is valid. Otherwise it returns `-1`. NOTE: A socket is considered valid if it was ever opened with a protocol -constructor, such as the <<nng_req0_open.3#,`nng_req0_open`>> function. +constructor, such as the `<<nng_req0_open.3#,nng_req0_open()>>` function. Sockets that are allocated on the stack or statically should be initialized with the macro -<<nng_socket.5#NNG_SOCKET_INITIALIZER,`NNG_SOCKET_INITIALIZER`>> to ensure that +`<<nng_socket.5#NNG_SOCKET_INITIALIZER,NNG_SOCKET_INITIALIZER>>` to ensure that they cannot be confused with a valid socket before they are opened. == RETURN VALUES |
