diff options
Diffstat (limited to 'man/man3/getns.3')
-rw-r--r-- | man/man3/getns.3 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/man/man3/getns.3 b/man/man3/getns.3 new file mode 100644 index 00000000..cc76f2bf --- /dev/null +++ b/man/man3/getns.3 @@ -0,0 +1,22 @@ +.TH GETNS 3 +.SH NAME +getns \- get path to name space directory +.SH SYNOPSIS +.B #include <u.h> +.br +.B #include <libc.h> +.PP +.B +char* getns(void) +.SH DESCRIPTION +.I Getns +returns a pointer to a malloced string that contains the +path to the name space directory for the current process. +The name space directory is a clumsy substitute +for Plan 9's per-process name spaces; see +.IR intro (4) +for details. +.SH SOURCE +.B /usr/local/plan9/src/lib9/getns.c +.SH SEE ALSO +.IR intro (4) |