summaryrefslogtreecommitdiffstats
path: root/strerr_sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'strerr_sys.c')
-rw-r--r--strerr_sys.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/strerr_sys.c b/strerr_sys.c
new file mode 100644
index 0000000..b484197
--- /dev/null
+++ b/strerr_sys.c
@@ -0,0 +1,12 @@
+#include "error.h"
+#include "strerr.h"
+
+struct strerr strerr_sys;
+
+void strerr_sysinit(void)
+{
+ strerr_sys.who = 0;
+ strerr_sys.x = error_str(errno);
+ strerr_sys.y = "";
+ strerr_sys.z = "";
+}