Thanks Andrew, I meant EDK2. I should have known to look at the PrintLib! Thanks!
From: Andrew Fish [mailto:***@apple.com]
Sent: Thursday, August 27, 2015 9:56 AM
To: Foster, Matthew I
Cc: edk2-***@lists.sourceforge.net
Subject: Re: [edk2] sprintf
On Aug 27, 2015, at 9:42 AM, Foster, Matthew I <***@intel.com<mailto:***@intel.com>> wrote:
Does anyone know a way to use sprintf in EDK, or a library I can include to do the equivalent?
Well this is the edk2 mailing list, so I donât remember EDK any moreâŠ.
I tried to use it and include stdio.h but when it goes to link the library it cannot find the symbol.
If you are an App and you donât mind all the extra overhead of the C Lib you can do this: https://github.com/tianocore/edk2/blob/master/AppPkg/Applications/Main/Main.inf
All the drivers, and most of the edk2 code just uses: https://github.com/tianocore/edk2/blob/master/MdePkg/Include/Library/PrintLib.h
Thanks,
Andrew Fish