ZMQ_CTX_TERM(3) | 0MQ Manual | ZMQ_CTX_TERM(3) |
zmq_ctx_term - terminate a 0MQ context
int zmq_ctx_term (void *context);
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).
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.
EFAULT
EINTR
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.
01/18/2023 | 0MQ 4.3.4 |