aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_pipe_id.3.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/man/nng_pipe_id.3.adoc')
-rw-r--r--docs/man/nng_pipe_id.3.adoc7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/man/nng_pipe_id.3.adoc b/docs/man/nng_pipe_id.3.adoc
index b327dac2..19eed4f6 100644
--- a/docs/man/nng_pipe_id.3.adoc
+++ b/docs/man/nng_pipe_id.3.adoc
@@ -28,12 +28,11 @@ The `nng_pipe_id()` function returns a positive identifier for the pipe _p_,
if it is valid.
Otherwise it returns `-1`.
-NOTE: A pipe is considered valid if it was ever opened with
-<<nng_pipe_open.3#,`nng_pipe_open`>> function.
+NOTE: A pipe is considered valid if it was ever created by the socket.
Pipes that are allocated on the stack or statically should be
initialized with the macro
-<<nng_pipe.5#NNG_PIPE_INITIALIZER,`NNG_PIPE_INITIALIZER`>> to ensure that
-they cannot be confused with a valid pipe before they are opened.
+`<<nng_pipe.5#NNG_PIPE_INITIALIZER,NNG_PIPE_INITIALIZER>>` to ensure that
+they cannot be confused with a valid pipe.
== RETURN VALUES