[][src]Function tabbyssl::libssl::err::tabby_ERR_error_string_n

#[no_mangle]pub unsafe extern "C" fn tabby_ERR_error_string_n(
    error_code: c_ulong,
    buf_ptr: *mut c_char,
    buf_len: size_t
) -> *const c_char

ERR_error_string_n - generates a human-readable string representing the error code e, and places len bytes at buf. Note that this function is not thread-safe and does no checks on the size of the buffer.

#include <tabbyssl/openssl/err.h>

void ERR_error_string_n(unsigned long e, char *buf, size_t len);

Safety

This API is Rust-unsafe because it dereferences a pointer provided by users Use with caution!