On 08/08/12 16:40, Rafael Machado wrote:
> Hi everyone.
> 
> I'm having a problem here and I need some help.
> I need to save some int values to a char array and them show to the user.
> 
> Is there some function similar to the oold ITOA c function at UDK ? I
> searched but didn't find nothing.

See the functions in "MdePkg/Include/Library/PrintLib.h" (implementation
in "MdePkg/Library/BasePrintLib/PrintLibInternal.c" AFAICS), eg.

- UnicodeSPrint
- UnicodeSPrintAsciiFormat
- AsciiSPrint
- AsciiSPrintUnicodeFormat

The %d, %ld, %x, %lx conversion specifications should be usable.

Laszlo

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to