summaryrefslogtreecommitdiff
path: root/src/lib9/win32.c
diff options
context:
space:
mode:
authorHector Chu <hectorchu@gmail.com>2009-11-30 11:53:11 -0800
committerHector Chu <hectorchu@gmail.com>2009-11-30 11:53:11 -0800
commit8eabe8208c32050802c06abdc2baf49febf6fb7a (patch)
tree7ac62e529fdf4675e7449e7171ed7cc0a573e517 /src/lib9/win32.c
parent2c880cf84880cfac9c667f48087c7c30d19b76ba (diff)
downloadgolang-8eabe8208c32050802c06abdc2baf49febf6fb7a.tar.gz
Ports of lib9, libbio and libmach to Windows.
R=rsc http://codereview.appspot.com/157159 Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/lib9/win32.c')
-rw-r--r--src/lib9/win32.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/lib9/win32.c b/src/lib9/win32.c
new file mode 100644
index 000000000..90753bb8d
--- /dev/null
+++ b/src/lib9/win32.c
@@ -0,0 +1,26 @@
+// Copyright 2009 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 <u.h>
+#include <libc.h>
+
+int fork()
+{
+ return -1;
+}
+
+int p9rfork(int flags)
+{
+ return -1;
+}
+
+Waitmsg *p9wait()
+{
+ return 0;
+}
+
+int p9waitpid()
+{
+ return -1;
+}