aboutsummaryrefslogtreecommitdiff
path: root/system/__errno_location.c
diff options
context:
space:
mode:
authorKlaatu <[email protected]>2015-05-17 15:33:21 +1200
committerKlaatu <[email protected]>2015-05-17 15:33:21 +1200
commitb0de699679e8f1e39af847ed172d1ba605b4370c (patch)
tree01dac00471d61f727394e508c613b29cff0ceae5 /system/__errno_location.c
bulk upload of source
Diffstat (limited to 'system/__errno_location.c')
-rw-r--r--system/__errno_location.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/__errno_location.c b/system/__errno_location.c
new file mode 100644
index 0000000..76900d3
--- /dev/null
+++ b/system/__errno_location.c
@@ -0,0 +1,3 @@
+extern int errno;
+int *__errno_location() { return &errno; }
+