diff options
author | Jiewen Yao <jiewen.yao@intel.com> | 2016-06-02 22:38:23 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-06 16:42:28 +0800 |
commit | 6bae6bfbd833ae74ae3d051b976f7b8725841cbe (patch) | |
tree | 48cc74877ae540a1b1e708d2e8f5f0420f9bf73f /MdeModulePkg/Library/DxePrintLibPrint2Protocol | |
parent | 85cc5aa028449cd9ee71391fabb3fe889f2f3225 (diff) | |
download | edk2-platforms-6bae6bfbd833ae74ae3d051b976f7b8725841cbe.tar.xz |
MdePkg/BaseLib: Add 2 more safe string functions.
Add UnicodeStrToAsciiStrS() and AsciiStrToUnicodeStrS() API.
These 2 safe version APIs are used to replace UnicodeStrToAsciiStr() and
AsciiStrToUnicodeStr() API.
The safe version string convert APIs use similar check as StrCpyS().
Cc: Liming Gao <Liming.Gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <Jiewen.Yao@intel.com>
Reviewed-by: Liming Gao <Liming.Gao@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
(cherry picked from commit 3ab41b7a325ca11a12b42f5ad1661c4b6791cb49)
Diffstat (limited to 'MdeModulePkg/Library/DxePrintLibPrint2Protocol')
0 files changed, 0 insertions, 0 deletions