From 68c71d4caea0ad74b14fc837a1b3b595fcfdc1d7 Mon Sep 17 00:00:00 2001 From: forsyth Date: Mon, 5 Mar 2012 20:04:49 +0000 Subject: 20120305-2004 --- Plan9/include/lib9x.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Plan9/include/lib9x.h (limited to 'Plan9') diff --git a/Plan9/include/lib9x.h b/Plan9/include/lib9x.h new file mode 100644 index 00000000..8973cd15 --- /dev/null +++ b/Plan9/include/lib9x.h @@ -0,0 +1,20 @@ +#include +typedef usize size_t; + +#define Runeerror xRuneerror +#define Rendez xRendez +#include +#undef Runeerror +#undef Rendez + + +enum +{ + Runeerror = 0x80, /* decoding error in UTF */ +}; +/* + * Extensions for Inferno to basic libc.h + */ + +#define setbinmode() +#define USE_FPdbleword -- cgit v1.2.3