Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual ndb_logevent_get_fd()

Description.  This function retrieves a file descriptor from an NdbMgmLogEventHandle; this descriptor can be used in (for example) an application select() call.


Do not attempt to read from the file descriptor returned by this function; this can cause the descriptor to become corrupted.


int ndb_logevent_get_fd
      const NdbLogEventHandle handle

Parameters.  A LogEventHandle.

Return value.  A file descriptor. In the event of failure, -1 is returned.