DOKK / manpages / debian 10 / libmongoc-doc / mongoc_stream_file_get_fd.3.en
MONGOC_STREAM_FILE_GET_FD(3) MongoDB C Driver MONGOC_STREAM_FILE_GET_FD(3)

mongoc_stream_file_get_fd - mongoc_stream_file_get_fd()

int
mongoc_stream_file_get_fd (mongoc_stream_file_t *stream);


stream: A mongoc_stream_file_t.

This function shall return the underlying file-descriptor of a mongoc_stream_file_t.

WARNING:

Performing operations on the underlying file-descriptor may not be safe if used in conjunction with buffering. Avoid reading or writing from this file-descriptor.


A file-descriptor that should not be modified by the caller.

MongoDB, Inc

2017-present, MongoDB, Inc

February 23, 2019 1.14.0