SYNOPSIS

int zmq_term (void *context);

DESCRIPTION

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.

RETURN VALUE

The zmq_term() function shall return zero if successful. Otherwise it shall return -1 and set errno to one of the values defined below.

ERRORS

No errors are defined.

SEE ALSO

zmq(7) zmq_init(3)

AUTHORS

The ØMQ documentation was written by Martin Sustrik <sustrik@250bpm.com> and Martin Lucina <mato@kotelna.sk>.