 |
sprintf |
Function (ROM Call 0x53) |
Sends formatted output to a string.
sprintf sends formatted output to a string. In fact, it does the following:
- accepts a series of arguments;
- applies to each a format specifier contained in the format string pointed to by format;
- outputs the formatted data to the string pointed to by buffer;
sprintf applies the first format specifier to the first argument, the second
to the second, and so on. The format string, controls how sprintf will convert
and format its arguments. See printf for more info about
format specifiers.
sprintf returns the number of bytes output, not including the terminating null
byte in the count.
Uses: strlen, XR_stringPtr, is_transfinite, CTypeTable, _bcd_math, _du32u32, _mu32u32
Used by: printf_xy, HeapWalk, assert, cmd_cyclepic, cmd_newdata, cmd_showstat, cmd_sinreg, ERD_dialog, ERD_process, index_below_display_expression_aux, Parse1DExpr, Parse2DExpr, Parse2DMultiExpr, ABT_dialog, EV_defaultHandler, handleVarLinkKey, GR3_paint3d, HomeExecute, LIO_Receive, AB_prodid, AB_serno, LOC_formatDate, EQU_getNameInfo, EV_quit, gr_de_axes_lbl, gr_DispLabels, GR3_addContours, GT_Trace, GZ_SetFactors, LIO_SendIdList, OO_GetAttr, SP_Define, spike_in_editor, spike_titles_in_editor, TempFolderName, ROM Call 0x45B, ROM Call 0x5F1, ROM Call 0x5FE, ROM Call 0x601