SYNOPSIS

int mongoc_stream_file_get_fd (mongoc_stream_t *stream);

DESCRIPTION

The mongoc_stream_file_get_fd() function shall return the underlying file descriptor used by a mongoc_stream_file_t.

RETURN VALUE

A file descriptor or -1 if the file has been closed.

SEE ALSO

AUTHORS

This page was written by MongoDB, Inc.