aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/get9root.c
blob: 858b4e74e89899103b08cd8e269ad56e2a86ac8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <u.h>
#include <libc.h>

char*
get9root(void)
{
	char *s;

	if((s = getenv("PLAN9")) != 0)
		return s;
	return "/usr/local/plan9";
}