libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ idevice_connection_get_fd()

idevice_error_t idevice_connection_get_fd ( idevice_connection_t  connection,
int *  fd 
)

Get the underlying file descriptor for a connection.

Parameters
connectionThe connection to get fd of
fdPointer to an int where the fd is stored
Returns
IDEVICE_E_SUCCESS if ok, otherwise an error code.