pub unsafe extern "C" fn screen_vprintf(
txt_fmt: text_format_e_t,
line: i16,
text: *const c_char,
...
) -> u32Expand description
Print a formatted string to the screen on the specified line
Same as display_printf except that this uses a va_list instead of the
ellipsis operator so this can be used by other functions.
Will default to a medium sized font by default if invalid txt_fmt is given. Exposed mostly for writing libraries and custom functions.
This function uses the following values of errno when an error state is reached: EACCESS - Another resource is currently trying to access the screen mutex.
\param txt_fmt Text format enum that determines if the text is medium, large, medium_center, or large_center. (DOES NOT SUPPORT SMALL) \param line The line number on which to print \param text Format string \param args List of arguments for the format string
\return 1 if there were no errors, or PROS_ERR if an error occured while taking or returning the screen mutex.