Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / ipxe / src / core / errno.c
diff --git a/qemu/roms/ipxe/src/core/errno.c b/qemu/roms/ipxe/src/core/errno.c
new file mode 100644 (file)
index 0000000..0690556
--- /dev/null
@@ -0,0 +1,20 @@
+#include <errno.h>
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+/** @file
+ *
+ * Error codes
+ *
+ * This file provides the global variable #errno.
+ *
+ */
+
+/**
+ * Global "last error" number.
+ *
+ * This is valid only when a function has just returned indicating a
+ * failure.
+ *
+ */
+int errno;