MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / AsciiVSPrint

Function AsciiVSPrint

MdePkg/Library/BasePrintLib/PrintLib.c:508–518  ·  view source on GitHub ↗

Produces a Null-terminated ASCII string in an output buffer based on a Null-terminated ASCII format string and a VA_LIST argument list. This function is similar as vsnprintf_s defined in C11. Produces a Null-terminated ASCII string in the output buffer specified by StartOfBuffer and BufferSize. The ASCII string is produced by parsing the format string specified by FormatString.

Source from the content-addressed store, hash-verified

506
507**/
508UINTN
509EFIAPI
510AsciiVSPrint (
511 OUT CHAR8 *StartOfBuffer,
512 IN UINTN BufferSize,
513 IN CONST CHAR8 *FormatString,
514 IN VA_LIST Marker
515 )
516{
517 return BasePrintLibSPrintMarker (StartOfBuffer, BufferSize, 0, FormatString, Marker, NULL);
518}
519
520/**
521 Produces a Null-terminated ASCII string in an output buffer based on a Null-terminated

Callers 15

AsciiSPrintFunction · 0.70
DebugPrintMarkerFunction · 0.50
DebugPrintMarkerFunction · 0.50
DebugPrintMarkerFunction · 0.50
PrintStringFunction · 0.50
InternalPrintMessageFunction · 0.50
PrintStringFunction · 0.50
testPrintfFunction · 0.50
NVRAMDebugLogFunction · 0.50
NVRAMDebugLogFunction · 0.50
DxeNetLib.cFile · 0.50
MemLogPrintFunction · 0.50

Calls 1

BasePrintLibSPrintMarkerFunction · 0.85

Tested by 1

testPrintfFunction · 0.40