mongoc_stream_file_get_fd (3) Linux Manual Page
mongoc_stream_file_get_fd() – This function shall return the underlying file-descriptor of a mongoc_stream_file_t.
Synopsis
int
mongoc_stream_file_get_fd (mongoc_stream_file_t *stream);
Parameters
- stream
- A mongoc_stream_file_t \&.
This function shall return the underlying file-descriptor of a mongoc_stream_file_t \&.
NOTE
- 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.
