1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From c9ce87543ba7b5a05b31955852b1e0f5f31b2717 Mon Sep 17 00:00:00 2001
From: Felix Obenhuber <felix.obenhuber@helsing.ai>
Date: Thu, 13 Nov 2025 08:27:19 +0000
Subject: [PATCH] extend possible errors from nng_pipe_get with ENOENT
nng_pipe_get might return `ENOENT` if the refered pipe is not found.
This is missing in the documentation and should be added.
---
docs/man/nng_pipe_get.3.adoc | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/man/nng_pipe_get.3.adoc b/docs/man/nng_pipe_get.3.adoc
index 51a8debfd..db1d6d9b7 100644
--- a/docs/man/nng_pipe_get.3.adoc
+++ b/docs/man/nng_pipe_get.3.adoc
@@ -131,6 +131,7 @@ These functions return 0 on success, and non-zero otherwise.
[horizontal]
`NNG_EBADTYPE`:: Incorrect type for option.
`NNG_ECLOSED`:: Parameter _p_ does not refer to an open pipe.
+`NNG_ENOENT`:: Parameter _p_ does not refer to an existing pipe.
`NNG_ENOTSUP`:: The option _opt_ is not supported.
`NNG_ENOMEM`:: Insufficient memory exists.
`NNG_EINVAL`:: Size of destination _val_ too small for object.
|