summaryrefslogtreecommitdiff
path: root/include/plan9/libc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/plan9/libc.h')
-rw-r--r--include/plan9/libc.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/plan9/libc.h b/include/plan9/libc.h
new file mode 100644
index 000000000..d13ddbcb7
--- /dev/null
+++ b/include/plan9/libc.h
@@ -0,0 +1,16 @@
+// Copyright 2012 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+#include "/sys/include/libc.h"
+#include "/sys/include/ctype.h"
+
+enum
+{
+ Runemax = 0x10FFFF, /* maximum rune value */
+};
+
+char* getgoos(void);
+char* getgoarch(void);
+char* getgoroot(void);
+char* getgoversion(void);