table of contents
XS_TERM(3) | Crossroads I/O Manual | XS_TERM(3) |
NAME¶
xs_term - terminate the context
SYNOPSIS¶
int xs_term (void *context);
DESCRIPTION¶
The xs_term() function shall terminate the Crossroads context context.
Context termination is performed in the following steps:
For further details regarding socket linger behaviour refer to the XS_LINGER option in xs_setsockopt(3).
RETURN VALUE¶
The xs_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¶
xs(7) xs_init(3) xs_close(3) xs_setsockopt(3)
AUTHORS¶
The Crossroads documentation was written by Martin Sustrik <sustrik@250bpm.com[1]> and Martin Lucina <martin@lucina.net[2]>.
NOTES¶
- 1.
- sustrik@250bpm.com
- 2.
- martin@lucina.net
06/13/2012 | Crossroads I/O 1.2.0 |