Function s2n_quic::provider::tls::default::ffi::s2n_cleanup

source ·
pub unsafe extern "C" fn s2n_cleanup() -> i32
Expand description

Cleans up any internal resources used by s2n-tls. This function should be called from each thread or process that is created subsequent to calling s2n_init when that thread or process is done calling other s2n-tls functions.

@returns S2N_SUCCESS on success. S2N_FAILURE on failure