aboutsummaryrefslogtreecommitdiff
path: root/man/man3/getns.3
blob: 6d0a5a9c2a05ce887dcbae73d57696548180a11e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 
.MR intro (4)
for details.
.SH SOURCE
.B \*9/src/lib9/getns.c
.SH SEE ALSO
.MR intro (4)