Function s2n_tls_sys::s2n_connection_get_read_fd

source ·
pub unsafe extern "C" fn s2n_connection_get_read_fd(
    conn: *mut s2n_connection,
    readfd: *mut c_int
) -> c_int
Expand description

Gets the assigned file descriptor for the read channel of an s2n connection.

@param conn A pointer to the s2n connection @param readfd pointer to place the used file descriptor. @returns S2N_SUCCESS on success. S2N_FAILURE on failure