blob: 3e7b10501f4142d7f2ee3f3dac41f1d1601d2300 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <u.h>
#include <libc.h>
char*
get9root(void)
{
static char *s;
if(s)
return s;
if((s = getenv("PLAN9")) != 0)
return s;
s = PLAN9_TARGET;
return s;
}
|