SYNOPSIS
int mongoc_stream_close (mongoc_stream_t *stream);
DESCRIPTION
The mongoc_stream_close() function shall close a mongoc_stream(7).
mongoc_stream_close() mimics the close(2) api.
RETURN VALUE
The mongoc_stream_close() function returns zero on success. On error, -1 is returned and errno is set appropriately.
ERRORS
Errors are specific to the underlying stream type.
SEE ALSO
AUTHORS
This page was written by MongoDB Inc.