tadd for porting - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 186a31de6b2624cb38e0555b10cef47578cf2911
DIR parent 6850febee1ff0eaa5e548209f211aaaa762e07e4
HTML Author: rsc <devnull@localhost>
Date: Mon, 27 Dec 2004 00:12:12 +0000
add for porting
Diffstat:
A src/libregexp/lib9.std.h | 10 ++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)
---
DIR diff --git a/src/libregexp/lib9.std.h b/src/libregexp/lib9.std.h
t@@ -0,0 +1,10 @@
+#include <fmt.h>
+#include <setjmp.h>
+#include <string.h>
+#include <stdlib.h>
+#include <unistd.h>
+
+#define exits(x) exit(x && *x ? 1 : 0)
+
+#define nil 0
+