diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-02-16 10:29:53 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-02-16 10:29:53 -0800 |
| commit | 72757bd87a8c3801137348dd026901032b8b623d (patch) | |
| tree | 84317394c48ff6228103715a4af42f99d6926607 /docs/nng_close.adoc | |
| parent | a245b3add629d081015b0f7223e978f000949aa8 (diff) | |
| download | nng-72757bd87a8c3801137348dd026901032b8b623d.tar.gz nng-72757bd87a8c3801137348dd026901032b8b623d.tar.bz2 nng-72757bd87a8c3801137348dd026901032b8b623d.zip | |
Add nng_listen* man pages.
Diffstat (limited to 'docs/nng_close.adoc')
| -rw-r--r-- | docs/nng_close.adoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/nng_close.adoc b/docs/nng_close.adoc index 9a582f83..58f31f83 100644 --- a/docs/nng_close.adoc +++ b/docs/nng_close.adoc @@ -11,7 +11,7 @@ == NAME -nng_close - close a socket +nng_close - close socket == SYNOPSIS @@ -19,12 +19,12 @@ nng_close - close a socket ----------- #include <nng/nng.h> -int nng_close(int s); +int nng_close(nng_socket s); ----------- == DESCRIPTION -The `nng_close()` function closes the supplied socket, 's'. Messages +The `nng_close()` function closes the supplied socket, _s_. Messages that have been submitted for sending may be flushed or delivered, depending upon the transport and the setting of the `NNG_OPT_LINGER` option. @@ -39,7 +39,7 @@ This function returns 0 on success, and non-zero otherwise. == ERRORS -`NNG_EBADF`:: The socket is already closed or was never opened. +`NNG_EBADF`:: The socket _s_ is already closed or was never opened. == SEE ALSO |
