blob: b2e03f93daabebdbd4e5db918830c02bd2eca2d6 [file] [log] [blame]
rsc058b0112005-01-03 06:40:20 +00001.TH GETNS 3
2.SH NAME
3getns \- 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
10char* getns(void)
11.SH DESCRIPTION
12.I Getns
13returns a pointer to a malloced string that contains the
14path to the name space directory for the current process.
15The name space directory is a clumsy substitute
16for Plan 9's per-process name spaces; see
17.IR intro (4)
18for details.
19.SH SOURCE
rscc3674de2005-01-11 17:37:33 +000020.B \*9/src/lib9/getns.c
rsc058b0112005-01-03 06:40:20 +000021.SH SEE ALSO
22.IR intro (4)