Sign in
plan9port
/
plan9
/
a8c15b08ca39ae9fa8d50f9e338d341c09fa57dd
/
.
/
src
/
lib9
/
get9root.c
blob: 858b4e74e89899103b08cd8e269ad56e2a86ac8f [
file
] [
log
] [
blame
]
#include
<u.h>
#include
<libc.h>
char
*
get9root
(
void
)
{
char
*
s
;
if
((
s
=
getenv
(
"PLAN9"
))
!=
0
)
return
s
;
return
"/usr/local/plan9"
;
}