]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/LibC/Wchar/String.c
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / StdLib / LibC / Wchar / String.c
diff --git a/StdLib/LibC/Wchar/String.c b/StdLib/LibC/Wchar/String.c
deleted file mode 100644 (file)
index 70f6d9a..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/** @file\r
-    Miscelaneous Functions for <wchar.h>.\r
-\r
-  Unless explicitly stated otherwise, if the execution of a function declared\r
-  in this file causes copying to take place between objects that overlap, the\r
-  behavior is undefined.\r
-\r
-  Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
-  This program and the accompanying materials are licensed and made available under\r
-  the terms and conditions of the BSD License that accompanies this distribution.\r
-  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php.\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-**/\r
-#include  <Uefi.h>\r
-#include  <Library/BaseLib.h>\r
-#include  <Library/BaseMemoryLib.h>\r
-\r
-#include  <LibConfig.h>\r
-\r
-#include  <wchar.h>\r
-\r
-/** The wcslen function computes the length of the wide string pointed to by s.\r
-\r
-    @return   The wcslen function returns the number of wide characters that\r
-              precede the terminating null wide character.\r
-**/\r
-size_t wcslen(const wchar_t *s)\r
-{\r
-  return (size_t)StrLen( (CONST CHAR16 *)s);\r
-}\r
-\r
-/** The wmemset function copies the value of c into each of the first n wide\r
-    characters of the object pointed to by s.\r
-\r
-    @return   The wmemset function returns the value of s.\r
-**/\r
-wchar_t *wmemset(wchar_t *s, wchar_t c, size_t n)\r
-{\r
-  return (wchar_t *)SetMem16( s, (UINTN)(n * sizeof(wchar_t)), (UINT16)c);\r
-}\r