aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-14 23:18:33 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-14 23:18:33 -0800
commitb4fdf7a04fc1018f1114fb8ee6f16009752cd16f (patch)
treec076e06ebda71da190b9031912bd3bb428bd8fed /include
parenta7a2cdb0201a6e85caae621e748cfab03998b6a6 (diff)
downloadnng-b4fdf7a04fc1018f1114fb8ee6f16009752cd16f.tar.gz
nng-b4fdf7a04fc1018f1114fb8ee6f16009752cd16f.tar.bz2
nng-b4fdf7a04fc1018f1114fb8ee6f16009752cd16f.zip
socketpair: use nng_err
Diffstat (limited to 'include')
-rw-r--r--include/nng/nng.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nng/nng.h b/include/nng/nng.h
index bec1dd82..e2200f17 100644
--- a/include/nng/nng.h
+++ b/include/nng/nng.h
@@ -1407,7 +1407,7 @@ NNG_DECL uint32_t nng_random(void);
// by reliable, bidirectional, byte streams. This will return NNG_ENOTSUP
// if the platform lacks support for this. The argument is a pointer
// to an array of file descriptors (or HANDLES or similar).
-NNG_DECL int nng_socket_pair(int[2]);
+NNG_DECL nng_err nng_socket_pair(int[2]);
// Multithreading and synchronization functions.