tdblook.c - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
tdblook.c (416B)
---
1 #include <u.h>
2 #include <libc.h>
3 #include <draw.h>
4 #include <plumb.h>
5 #include <regexp.h>
6 #include <bio.h>
7 #include <9pclient.h>
8 #include <thread.h>
9 #include "faces.h"
10
11 void
12 threadmain(int argc, char **argv)
13 {
14 Face f;
15 char *q;
16
17 if(argc != 3){
18 fprint(2, "usage: dblook name domain\n");
19 threadexitsall("usage");
20 }
21
22 q = findfile(&f, argv[2], argv[1]);
23 print("%s\n", q);
24 }
25
26 void
27 killall(char *s)
28 {
29 USED(s);
30 }