zmq_term - terminate 0MQ context
int zmq_term (void *context);
The zmq_term() function terminates the ØMQ context context.
If there are still sockets open within context at the time zmq_term() is called the call will succeed but the actual shutdown of context will be delayed until the last socket within it is closed.
The zmq_term() function shall return zero if successful. Otherwise it shall return -1 and set errno to one of the values defined below.
No errors are defined.
The ØMQ documentation was written by Martin Sustrik <sustrik@250bpm.com> and Martin Lucina <mato@kotelna.sk>.