X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseMemoryLibRepStr%2FScanMem16Wrapper.c;h=1122fb536e3631f51ba5d8e278036778e65910db;hp=f8b3ab97637579560f4415fc93714fc33f2f3d93;hb=56385d49874f4b7cee6c9a0652c6b7c10aff0e2f;hpb=14e436f9b09c796c4567929984ac7ce5300efb21 diff --git a/MdePkg/Library/BaseMemoryLibRepStr/ScanMem16Wrapper.c b/MdePkg/Library/BaseMemoryLibRepStr/ScanMem16Wrapper.c index f8b3ab9763..1122fb536e 100644 --- a/MdePkg/Library/BaseMemoryLibRepStr/ScanMem16Wrapper.c +++ b/MdePkg/Library/BaseMemoryLibRepStr/ScanMem16Wrapper.c @@ -29,7 +29,7 @@ Scans a target buffer for a 16-bit value, and returns a pointer to the matching 16-bit value in the target buffer. - This function searches target the buffer specified by Buffer and Length from the lowest + This function searches the target buffer specified by Buffer and Length from the lowest address to the highest address for a 16-bit value that matches Value. If a match is found, then a pointer to the matching byte in the target buffer is returned. If no match is found, then NULL is returned. If Length is 0, then NULL is returned.