pub unsafe extern "C" fn splinter_get(
key: *const c_char,
buf: *mut c_void,
buf_sz: usize,
out_sz: *mut usize,
) -> c_intExpand description
@brief Retrieves the value associated with a key. @param key The null-terminated key string. @param buf The buffer to copy the value data into. Can be NULL to query size. @param buf_sz The size of the provided buffer. @param out_sz Pointer to a size_t to store the value’s actual length. Can be NULL. @return 0 on success, -1 on failure. If buf_sz is too small, sets errno to EMSGSIZE.