table of contents
ZMQ_CTX_TERM(3) | 0MQ Manual | ZMQ_CTX_TERM(3) |
NAME¶
zmq_ctx_term - terminate a 0MQ context
SYNOPSIS¶
int zmq_ctx_term (void *context);
DESCRIPTION¶
The zmq_ctx_term() function shall destroy the 0MQ context context.
Context termination is performed in the following steps:
For further details regarding socket linger behaviour refer to the ZMQ_LINGER option in zmq_setsockopt(3).
This function replaces the deprecated functions zmq_term(3) and zmq_ctx_destroy(3).
RETURN VALUE¶
The zmq_ctx_term() function shall return zero if successful. Otherwise it shall return -1 and set errno to one of the values defined below.
ERRORS¶
EFAULT
EINTR
SEE ALSO¶
zmq(7) zmq_init(3) zmq_close(3) zmq_setsockopt(3)
AUTHORS¶
This page was written by the 0MQ community. To make a change please read the 0MQ Contribution Policy at http://www.zeromq.org/docs:contributing.
10/29/2024 | 0MQ 4.3.5 |