]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/LibC/Uefi/StubFunctions.c
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / StdLib / LibC / Uefi / StubFunctions.c
diff --git a/StdLib/LibC/Uefi/StubFunctions.c b/StdLib/LibC/Uefi/StubFunctions.c
deleted file mode 100644 (file)
index 806cf4a..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-/** @file\r
-  Implement the invalid functions to return failures.\r
-\r
-  Copyright (c) 2011, Intel Corporation\r
-  All rights reserved. This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license\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
-**/\r
-#include  <LibConfig.h>\r
-#include  <sys/EfiCdefs.h>\r
-#include  <sys/featuretest.h>\r
-#include  <namespace.h>\r
-#include  <stdio.h>\r
-#include  <pwd.h>\r
-#include  <errno.h>\r
-\r
-struct passwd *\r
-getpwuid (uid_t uid)\r
-{\r
-  errno = EPERM;\r
-  return NULL;\r
-}\r
-\r
-char *\r
-getlogin (void)\r
-{\r
-  errno = EPERM;\r
-  return NULL;\r
-}\r
-\r
-struct passwd *\r
-getpwnam (const char *name)\r
-{\r
-  errno = EPERM;\r
-  return NULL;\r
-}\r
-\r
-uid_t\r
-getuid (void)\r
-{\r
-  return 0;\r
-}\r
-\r
-pid_t\r
-getpid(void)\r
-{\r
-  return 0;\r
-}\r
-\r
-pid_t\r
-fork (void)\r
-{\r
-  errno = EPERM;\r
-  return (-1);\r
-}\r
-\r
-int\r
-chmod (const char *c, mode_t m)\r
-{\r
-  errno = EPERM;\r
-  return (-1);\r
-}\r
-\r
-pid_t\r
-wait(int *stat_loc) {\r
-  return 0;\r
-}\r
-\r
-FILE *\r
-popen (const char *cmd, const char *type)\r
-{\r
-  errno = EPERM;\r
-  return NULL;\r
-}\r
-\r
-int\r
-pclose (FILE *stream)\r
-{\r
-  errno = EPERM;\r
-  return -1;\r
-}\r
-\r
-mode_t\r
-umask(mode_t cmask)\r
-{\r
-  return (mode_t)0;\r
-}\r