Commit Diff


commit - 1b135a78054e05cd62dfa1a2606f93e3486f2b57
commit + b829c3547001eb2a3cf846410deb15ddd7349b96
blob - /dev/null
blob + 1407ba7260ae2a8ecbb4140bafe6e1fbf4a65c3e (mode 644)
--- /dev/null
+++ src/libmach/nosys.c
@@ -0,0 +1,59 @@
+/*
+ * process non-interface
+ */
+
+#include <u.h>
+#include <libc.h>
+#include <mach.h>
+
+void
+unmapproc(Map *m)
+{
+	USED(m);
+}
+
+int
+mapproc(int pid, Map *m, Regs **r)
+{
+	USED(pid);
+	USED(m);
+	USED(r);
+	if(r)
+		*r = nil;
+	werrstr("mapproc not implemented");
+	return -1;
+}
+
+int
+detachproc(int pid)
+{
+	USED(pid);
+	werrstr("detachproc not implemented");
+	return -1;
+}
+
+int
+procnotes(int pid, char ***notes)
+{
+	USED(pid);
+	USED(notes);
+	werrstr("procnotes not implemented");
+	return -1;
+}
+
+int
+ctlproc(int pid, char *msg)
+{
+	USED(pid);
+	USED(msg);
+	werrstr("ctlproc not implemented');
+	return -1;
+}
+
+char*
+proctextfile(int pid)
+{
+	USED(pid);
+	werrstr("proctextfile not implemented");
+	return -1;
+}