]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BasePrintLib/PrintLibInternal.c
Synchronize MdePkg h files to Library/Base* c files.
[mirror_edk2.git] / MdePkg / Library / BasePrintLib / PrintLibInternal.c
index 14cb15471333b8fcd66d0874252ba1c9b56ea90a..d87513042e2d1385e2be324b7a3791e20ab4ce6d 100644 (file)
@@ -100,8 +100,8 @@ BasePrintLibFillBuffer (
 **/\r
 UINTN\r
 BasePrintLibValueToString (\r
-  IN OUT CHAR8  *Buffer,\r
-  IN INT64      Value,\r
+  IN OUT CHAR8  *Buffer, \r
+  IN INT64      Value, \r
   IN UINTN      Radix\r
   )\r
 {\r
@@ -131,7 +131,7 @@ BasePrintLibValueToString (
   Converts the decimal number specified by Value to a Null-terminated  \r
   string specified by Buffer containing at most Width characters.\r
   If Width is 0 then a width of  MAXIMUM_VALUE_CHARACTERS is assumed.\r
-  The number of characters in Buffer is returned not including the Null-terminator.\r
+  The total number of characters placed in Buffer is returned.\r
   If the conversion contains more than Width characters, then only the first\r
   Width characters are returned, and the total number of characters \r
   required to perform the conversion is returned.\r
@@ -141,13 +141,11 @@ BasePrintLibValueToString (
   If Width is 0, PREFIX_ZERO is ignored in Flags.\r
   If COMMA_TYPE is set in Flags, then PREFIX_ZERO is ignored in Flags, and commas\r
   are inserted every 3rd digit starting from the right.\r
-  If HEX_RADIX is set in Flags, then the output buffer will be formatted in hexadecimal format.\r
-  If Value is < 0 and HEX_RADIX is not set in Flags, then the fist character in Buffer is a '-'.\r
+  If Value is < 0, then the fist character in Buffer is a '-'.\r
   If PREFIX_ZERO is set in Flags and PREFIX_ZERO is not being ignored, \r
   then Buffer is padded with '0' characters so the combination of the optional '-' \r
   sign character, '0' characters, digit characters for Value, and the Null-terminator\r
   add up to Width characters.\r
-  If both COMMA_TYPE and HEX_RADIX are set in Flags, then ASSERT().\r
 \r
   If Buffer is NULL, then ASSERT().\r
   If unsupported bits are set in Flags, then ASSERT().\r
@@ -162,7 +160,7 @@ BasePrintLibValueToString (
                     the Null-terminator.\r
   @param  Increment Character increment in Buffer.\r
   \r
-  @return The number of characters in Buffer not including the Null-terminator.\r
+  @return Total number of characters required to perform the conversion.\r
 \r
 **/\r
 UINTN\r
@@ -792,7 +790,7 @@ BasePrintLibVSPrint (
 \r
   VSPrint function to process format and place the results in Buffer. Since a \r
   VA_LIST is used this rountine allows the nesting of Vararg routines. Thus \r
-  this is the main print working routine.\r
+  this is the main print working routine\r
 \r
   @param  StartOfBuffer Character buffer to print the results of the parsing\r
                         of Format into.\r
@@ -803,7 +801,7 @@ BasePrintLibVSPrint (
   @param  FormatString  Null-terminated format string.\r
   @param  ...           The variable argument list.\r
 \r
-  @return Number of characters printed not including the Null-terminator.\r
+  @return Number of characters printed.\r
 \r
 **/\r
 UINTN\r