SYNOPSIS

int
mongoc_stream_uncork (mongoc_stream_t *stream);

DESCRIPTION

The mongoc_stream_uncork() function shall uncork a mongoc_stream(7).

This is the inverse of the mongoc_stream_cork(3) function.

RETURN VALUE

The mongoc_stream_uncork() 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.