From c4050ecbf846d138a07bfaf238306fb862b9a3d5 Mon Sep 17 00:00:00 2001 From: "Staysail Systems, Inc" Date: Sun, 2 Aug 2020 12:14:46 -0700 Subject: Manual page updates for v1.3.2 --- man/v1.3.2/nn_close.3compat.html | 93 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 man/v1.3.2/nn_close.3compat.html (limited to 'man/v1.3.2/nn_close.3compat.html') diff --git a/man/v1.3.2/nn_close.3compat.html b/man/v1.3.2/nn_close.3compat.html new file mode 100644 index 00000000..fc601e32 --- /dev/null +++ b/man/v1.3.2/nn_close.3compat.html @@ -0,0 +1,93 @@ +--- +version: v1.3.2 +layout: manpage_v2 +--- +

nn_close(3compat)

+
+

NAME

+
+
+

nn_close - close socket (compatible API)

+
+
+
+
+

SYNOPSIS

+
+
+
+
#include <nanomsg/nn.h>
+
+int nn_close(int sock);
+
+
+
+
+
+

DESCRIPTION

+
+
+

The nn_close() function closes the socket sock. +Any operations that are currently in progress will be terminated, and will +fail with error EBADF.

+
+
+ + + + + +
+ + +This function is provided for API +compatibility with legacy libnanomsg. +Consider using the relevant modern API instead. +
+
+
+
+
+

RETURN VALUES

+
+
+

This function returns zero on success, and -1 on failure.

+
+
+
+
+

ERRORS

+
+
+ + + + + + + + + +
+EBADF + +

The socket is not open.

+
+ETERM + +

The library is shutting down.

+
+
+
+
+
+

SEE ALSO

+ +
-- cgit v1.2.3-70-g09d2