[][src]Function ejdb_sys::tcftoa

pub unsafe extern "C" fn tcftoa(
    f: f64,
    buf: *mut c_char,
    max: c_int,
    precision: c_int
) -> c_int

Fast conversion of a double number into a string. cftoa' do not write intobuf' more than `max' bytes (including the terminating null byte ('\0')).

If returned value >= `max' it indicates truncation occuried.

@param f Number to convert @param buf Output buffer. @param max Maximum number of bytes to write into buffer including termination '\0' @param precision Number of signs after dot. @return