aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/venti/srv/hproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/venti/srv/hproc.c')
-rw-r--r--src/cmd/venti/srv/hproc.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/cmd/venti/srv/hproc.c b/src/cmd/venti/srv/hproc.c
new file mode 100644
index 00000000..42933920
--- /dev/null
+++ b/src/cmd/venti/srv/hproc.c
@@ -0,0 +1,17 @@
+#include "stdinc.h"
+#include "dat.h"
+#include "fns.h"
+#include "xml.h"
+
+int
+hproc(HConnect *c)
+{
+ int r;
+
+ if((r = hsettext(c)) < 0)
+ return r;
+ hprint(&c->hout, "/proc only implemented on Plan 9\n");
+ hflush(&c->hout);
+ return 0;
+}
+