summaryrefslogtreecommitdiff
path: root/strerr_sys.c
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2015-05-08 23:07:47 -0400
committerjoe <joe@jerkface.net>2015-05-08 23:07:47 -0400
commit220534453eecc2c07ad710d72268aafd20b83138 (patch)
tree469bd5db135e31b7ea908152aa3389b9b1e06d5b /strerr_sys.c
initial commit
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}