mongoc_stream_file_get_fd man page

mongoc_stream_file_get_fd ā€” mongoc_stream_file_get_fd()

Synopsis

int
mongoc_stream_file_get_fd (mongoc_stream_file_t *stream);

Parameters

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.

Author

MongoDB, Inc

Info

Oct 12, 2017 1.8.1 MongoDB C Driver