Function esp_idf_svc::hal::sys::mbedtls_mpi_write_file

source ·
pub unsafe extern "C" fn mbedtls_mpi_write_file(
    p: *const i8,
    X: *const mbedtls_mpi,
    radix: i32,
    fout: *mut __sFILE,
) -> i32
Expand description

\brief Export an MPI into an opened file.

\param p A string prefix to emit prior to the MPI data. For example, this might be a label, or “0x” when printing in base \c 16. This may be \c NULL if no prefix is needed. \param X The source MPI. This must point to an initialized MPI. \param radix The numeric base to be used in the emitted string. \param fout The output file handle. This may be \c NULL, in which case the output is written to \c stdout.

\return \c 0 if successful. \return A negative error code on failure.