aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/faces/dblook.c
blob: b5c023f59e596ad4dad8e8791571a6bac8377634 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include <u.h>
#include <libc.h>
#include <draw.h>
#include <plumb.h>
#include <regexp.h>
#include <bio.h>
#include <9pclient.h>
#include <thread.h>
#include "faces.h"

void
threadmain(int argc, char **argv)
{
	Face f;
	char *q;

	if(argc != 3){
		fprint(2, "usage: dblook name domain\n");
		threadexitsall("usage");
	}

	q = findfile(&f, argv[2], argv[1]);
	print("%s\n", q);
}

void
killall(char *s)
{
	USED(s);
}