Sign in
plan9port
/
plan9
/
c90dd38f54d65f927eb46fa3d397a33e2664eddf
/
.
/
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"
;
}