Skip to main content

day_sql_exec

Function day_sql_exec 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn day_sql_exec( ptr: *mut u8, len: usize, ) -> *const u8
Expand description

ยงSafety

ptr must be a day_sql_alloc(len) buffer holding a complete request; ownership transfers here. Returns a pointer to [reply_len: u32 LE][reply bytes], valid until the next call.