More files.
More files.
This commit is contained in:
parent
a27e20579c
commit
70bcc7804e
5 changed files with 1561 additions and 0 deletions
13
src/lib9/get9root.c
Normal file
13
src/lib9/get9root.c
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#include <u.h>
|
||||
#include <libc.h>
|
||||
|
||||
char*
|
||||
get9root(void)
|
||||
{
|
||||
char *s;
|
||||
|
||||
if((s = getenv("PLAN9")) != 0)
|
||||
return s;
|
||||
return "/usr/local/plan9";
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue