summaryrefslogtreecommitdiff
path: root/atarist/usersub.c
diff options
context:
space:
mode:
Diffstat (limited to 'atarist/usersub.c')
-rw-r--r--atarist/usersub.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/atarist/usersub.c b/atarist/usersub.c
new file mode 100644
index 0000000000..aba53d7903
--- /dev/null
+++ b/atarist/usersub.c
@@ -0,0 +1,9 @@
+#include "EXTERN.h"
+#include "perl.h"
+#include <stdio.h>
+
+int userinit()
+{
+ install_null(); /* install device /dev/null or NUL: */
+ return 0;
+}