getns.3 (465B)
1 .TH GETNS 3 2 .SH NAME 3 getns \- get path to name space directory 4 .SH SYNOPSIS 5 .B #include <u.h> 6 .br 7 .B #include <libc.h> 8 .PP 9 .B 10 char* getns(void) 11 .SH DESCRIPTION 12 .I Getns 13 returns a pointer to a malloced string that contains the 14 path to the name space directory for the current process. 15 The name space directory is a clumsy substitute 16 for Plan 9's per-process name spaces; see 17 .MR intro (4) 18 for details. 19 .SH SOURCE 20 .B \*9/src/lib9/getns.c 21 .SH SEE ALSO 22 .MR intro (4)