Function pact_mock_server_ffi::generate_datetime_string [−][src]
#[no_mangle] pub unsafe extern "C" fn generate_datetime_string(
format: *const c_char
) -> StringResult
Expand description
Generates a datetime value from the provided format string, using the current system date and time NOTE: The memory for the returned string needs to be freed with the free_string function
Safety
Exported functions are inherently unsafe.