summaryrefslogtreecommitdiff
path: root/include/plan9/libc.h
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2012-02-29 11:23:13 +0100
committerOndřej Surý <ondrej@sury.org>2012-02-29 11:23:13 +0100
commitb6d7097a0d6072199f2cd74d67404890697cf78a (patch)
treea2193c528a79fd5606507568859ee5067c6b86e4 /include/plan9/libc.h
parent4cecda6c347bd6902b960c6a35a967add7070b0d (diff)
downloadgolang-b6d7097a0d6072199f2cd74d67404890697cf78a.tar.gz
Imported Upstream version 2012.02.22upstream-weekly/2012.02.22
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);