int
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 MONGOC_STREAM_FILE_GET_FD(3)
Parameters
• 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.
Returns
A file-descriptor that should not be modified by the caller.
Synopsis
int
mongoc_stream_file_get_fd (mongoc_stream_file_t *stream);
