From c9ce87543ba7b5a05b31955852b1e0f5f31b2717 Mon Sep 17 00:00:00 2001 From: Felix Obenhuber Date: Thu, 13 Nov 2025 08:27:19 +0000 Subject: 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 51a8debf..db1d6d9b 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. -- cgit v1.2.3-70-g09d2