Various additions and fixes.
diff --git a/src/lib9/create.c b/src/lib9/create.c
new file mode 100644
index 0000000..abef0c3
--- /dev/null
+++ b/src/lib9/create.c
@@ -0,0 +1,8 @@
+#include <u.h>
+#include <libc.h>
+
+int
+create(char *path, int mode, ulong perm)
+{
+	return open(path, mode|O_CREAT|O_TRUNC, perm);
+}