summaryrefslogtreecommitdiff
path: root/StdLib/BsdSocketLib/errno.c
diff options
context:
space:
mode:
authorlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-30 23:02:35 +0000
committerlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-30 23:02:35 +0000
commita88c31639bb24c73383a4528a5b77066e805148b (patch)
tree058801cd8687b0a0c6f82459b56b2ad3beb43bf4 /StdLib/BsdSocketLib/errno.c
parentdf7499fcc1fbd6c825cabf19bbed379688416125 (diff)
downloadedk2-platforms-a88c31639bb24c73383a4528a5b77066e805148b.tar.xz
Update the sockets library code
* Passes conformance and functional tests. * Builds with GCC 4.4 compiler. Signed-off by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12497 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/BsdSocketLib/errno.c')
-rw-r--r--StdLib/BsdSocketLib/errno.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/StdLib/BsdSocketLib/errno.c b/StdLib/BsdSocketLib/errno.c
index 360609bd80..2f81506b7a 100644
--- a/StdLib/BsdSocketLib/errno.c
+++ b/StdLib/BsdSocketLib/errno.c
@@ -15,4 +15,7 @@
#include <sys/errno.h>
+/**
+ Variable that contains additional error information when an API call fails.
+**/
int errno;