Function s2n_tls_sys::s2n_connection_set_write_fd
source · pub unsafe extern "C" fn s2n_connection_set_write_fd(
conn: *mut s2n_connection,
writefd: c_int
) -> c_int
Expand description
Sets the assigned file descriptor for the write channel of an s2n connection.
@note This file-descriptor should be active and connected @param conn A pointer to the s2n connection @param writefd The new write file descriptor @returns S2N_SUCCESS on success. S2N_FAILURE on failure