]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/sys/errno.h
StdLib: Fix some build problems and obscure bugs.
[mirror_edk2.git] / StdLib / Include / sys / errno.h
index 53c9e6903b770503b45cbbc23b23d79460a7c16d..50c5af6630ed7601bad52e0a6ea46556950ba2c4 100644 (file)
@@ -7,7 +7,7 @@
   directives.  These default values are specified as an enum in order to ease\r
   the maintenance of the values.\r
 \r
-  Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2011 - 2014, 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
@@ -22,6 +22,7 @@
 \r
 /* Define the error numbers, sequentially, beginning at 1. */\r
 enum {\r
+  __ESUCCESS      = 0,              /*  0   For those rare times one needs to say all is OK */\r
   __EMINERRORVAL  = 1,              /* The lowest valid error value */\r
   __EPERM         = __EMINERRORVAL, /*  1   Operation not permitted */\r
   __ENOENT,                         /*  2   No such file or directory */\r