summaryrefslogtreecommitdiff
path: root/strerr_sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'strerr_sys.c')
-rw-r--r--strerr_sys.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/strerr_sys.c b/strerr_sys.c
new file mode 100644
index 0000000..84b302f
--- /dev/null
+++ b/strerr_sys.c
@@ -0,0 +1,14 @@
1/* Public domain. */
2
3#include "error.h"
4#include "strerr.h"
5
6struct strerr strerr_sys;
7
8void strerr_sysinit(void)
9{
10 strerr_sys.who = 0;
11 strerr_sys.x = error_str(errno);
12 strerr_sys.y = "";
13 strerr_sys.z = "";
14}